FreeBSD kernel IPv4 code
|
#include <sys/cdefs.h>
#include <sys/libkern.h>
#include <sys/param.h>
#include <sys/lock.h>
#include <sys/rwlock.h>
#include <netinet/in_systm.h>
#include <netinet/in.h>
#include <netinet/ip.h>
#include <netinet/libalias/alias_local.h>
#include <netinet/libalias/alias_mod.h>
Go to the source code of this file.
Functions | |
__FBSDID ("$FreeBSD$") | |
static | TAILQ_HEAD (handler_chain, proto_handler) |
int | LibAliasAttachHandlers (struct proto_handler *p) |
int | LibAliasDetachHandlers (struct proto_handler *p) |
int | find_handler (int8_t dir, int8_t proto, struct libalias *la, struct ip *ip, struct alias_data *ad) |
struct proto_handler * | first_handler (void) |
__FBSDID | ( | "$FreeBSD$" | ) |
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().
|
static |
Definition at line 57 of file alias_mod.c.
Referenced by tcp_hptsi().