Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/raw_ip.c
Show First 20 Lines • Show All 94 Lines • ▼ Show 20 Lines | |||||
* Control and data hooks for ipfw, dummynet, divert and so on. | * Control and data hooks for ipfw, dummynet, divert and so on. | ||||
* The data hooks are not used here but it is convenient | * The data hooks are not used here but it is convenient | ||||
* to keep them all in one place. | * to keep them all in one place. | ||||
*/ | */ | ||||
VNET_DEFINE(ip_fw_chk_ptr_t, ip_fw_chk_ptr) = NULL; | VNET_DEFINE(ip_fw_chk_ptr_t, ip_fw_chk_ptr) = NULL; | ||||
VNET_DEFINE(ip_fw_ctl_ptr_t, ip_fw_ctl_ptr) = NULL; | VNET_DEFINE(ip_fw_ctl_ptr_t, ip_fw_ctl_ptr) = NULL; | ||||
int (*ip_dn_ctl_ptr)(struct sockopt *); | int (*ip_dn_ctl_ptr)(struct sockopt *); | ||||
int (*ip_dn_io_ptr)(struct mbuf **, int, struct ip_fw_args *); | int (*ip_dn_io_ptr)(struct mbuf **, struct ip_fw_args *); | ||||
void (*ip_divert_ptr)(struct mbuf *, int); | void (*ip_divert_ptr)(struct mbuf *, bool); | ||||
int (*ng_ipfw_input_p)(struct mbuf **, int, | int (*ng_ipfw_input_p)(struct mbuf **, struct ip_fw_args *, bool); | ||||
struct ip_fw_args *, int); | |||||
#ifdef INET | #ifdef INET | ||||
/* | /* | ||||
* Hooks for multicast routing. They all default to NULL, so leave them not | * Hooks for multicast routing. They all default to NULL, so leave them not | ||||
* initialized and rely on BSS being set to 0. | * initialized and rely on BSS being set to 0. | ||||
*/ | */ | ||||
/* | /* | ||||
▲ Show 20 Lines • Show All 1,065 Lines • Show Last 20 Lines |