FreeBSD kernel IPv4 code
|
Go to the source code of this file.
Data Structures | |
struct | alias_data |
struct | proto_handler |
Macros | |
#define | IN 0x0001 |
#define | OUT 0x0002 |
#define | NODIR 0x4000 |
#define | IP 0x01 |
#define | TCP 0x02 |
#define | UDP 0x04 |
#define | EOH .dir = NODIR |
Functions | |
MALLOC_DECLARE (M_ALIAS) | |
int | LibAliasAttachHandlers (struct proto_handler *) |
int | LibAliasDetachHandlers (struct proto_handler *) |
int | find_handler (int8_t, int8_t, struct libalias *, struct ip *, struct alias_data *) |
struct proto_handler * | first_handler (void) |
#define EOH .dir = NODIR |
Definition at line 92 of file alias_mod.h.
#define IN 0x0001 |
Definition at line 52 of file alias_mod.h.
#define IP 0x01 |
Definition at line 57 of file alias_mod.h.
#define NODIR 0x4000 |
Definition at line 54 of file alias_mod.h.
#define OUT 0x0002 |
Definition at line 53 of file alias_mod.h.
#define TCP 0x02 |
Definition at line 58 of file alias_mod.h.
#define UDP 0x04 |
Definition at line 59 of file alias_mod.h.
int find_handler | ( | int8_t | dir, |
int8_t | proto, | ||
struct libalias * | la, | ||
struct ip * | ip, | ||
struct alias_data * | ad | ||
) |
Definition at line 109 of file alias_mod.c.
References proto_handler::dir, proto_handler::fingerprint, proto_handler::proto, and proto_handler::protohandler.
Referenced by LibAliasInLocked(), LibAliasOutLocked(), TcpAliasIn(), TcpAliasOut(), UdpAliasIn(), and UdpAliasOut().
struct proto_handler * first_handler | ( | void | ) |
Definition at line 123 of file alias_mod.c.
int LibAliasAttachHandlers | ( | struct proto_handler * | p | ) |
Definition at line 82 of file alias_mod.c.
References proto_handler::dir, and NODIR.
Referenced by mod_handler().
int LibAliasDetachHandlers | ( | struct proto_handler * | p | ) |
Definition at line 98 of file alias_mod.c.
References proto_handler::dir, and NODIR.
Referenced by mod_handler().
MALLOC_DECLARE | ( | M_ALIAS | ) |