#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/module.h>
#include <netinet/in_systm.h>
#include <netinet/in.h>
#include <netinet/ip.h>
#include <netinet/udp.h>
#include <netinet/libalias/alias_local.h>
#include <netinet/libalias/alias_mod.h>
Go to the source code of this file.
|
| __FBSDID ("$FreeBSD$") |
|
static void | AliasHandleDummy (struct libalias *la, struct ip *ip, struct alias_data *ah) |
|
static int | fingerprint (struct libalias *la, struct alias_data *ah) |
|
static int | protohandler (struct libalias *la, struct ip *pip, struct alias_data *ah) |
|
static int | mod_handler (module_t mod, int type, void *data) |
|
| DECLARE_MODULE (alias_dummy, alias_mod, SI_SUB_DRIVERS, SI_ORDER_SECOND) |
|
| MODULE_VERSION (alias_dummy, 1) |
|
| MODULE_DEPEND (alias_dummy, libalias, 1, 1, 1) |
|
◆ __FBSDID()
◆ AliasHandleDummy()
◆ DECLARE_MODULE()
DECLARE_MODULE |
( |
alias_dummy |
, |
|
|
alias_mod |
, |
|
|
SI_SUB_DRIVERS |
, |
|
|
SI_ORDER_SECOND |
|
|
) |
| |
◆ fingerprint()
◆ mod_handler()
static int mod_handler |
( |
module_t |
mod, |
|
|
int |
type, |
|
|
void * |
data |
|
) |
| |
|
static |
◆ MODULE_DEPEND()
MODULE_DEPEND |
( |
alias_dummy |
, |
|
|
libalias |
, |
|
|
1 |
, |
|
|
1 |
, |
|
|
1 |
|
|
) |
| |
◆ MODULE_VERSION()
MODULE_VERSION |
( |
alias_dummy |
, |
|
|
1 |
|
|
) |
| |
◆ protohandler()
◆ alias_mod
Initial value:= {
}
static int mod_handler(module_t mod, int type, void *data)
Definition at line 137 of file alias_dummy.c.
◆ handlers
Initial value:= {
{
.pri = 666,
},
}
static int fingerprint(struct libalias *la, struct alias_data *ah)
static int protohandler(struct libalias *la, struct ip *pip, struct alias_data *ah)
Definition at line 103 of file alias_dummy.c.
Referenced by mod_handler().