Changeset View
Changeset View
Standalone View
Standalone View
sys/netpfil/ipfw/ip_fw2.c
Show First 20 Lines • Show All 3,679 Lines • ▼ Show 20 Lines | |||||
FEATURE(ipfw_ctl3, "ipfw new sockopt calls"); | FEATURE(ipfw_ctl3, "ipfw new sockopt calls"); | ||||
MODULE_VERSION(ipfw, 3); | MODULE_VERSION(ipfw, 3); | ||||
/* should declare some dependencies here */ | /* should declare some dependencies here */ | ||||
/* | /* | ||||
* Starting up. Done in order after ipfwmod() has been called. | * Starting up. Done in order after ipfwmod() has been called. | ||||
* VNET_SYSINIT is also called for each existing vnet and each new vnet. | * VNET_SYSINIT is also called for each existing vnet and each new vnet. | ||||
*/ | */ | ||||
SYSINIT(ipfw_init, IPFW_SI_SUB_FIREWALL, IPFW_MODULE_ORDER, | SYSINIT(ipfw_init, IPFW_SI_SUB_FIREWALL, IPFW_MODULE_ORDER, ipfw_init); | ||||
ipfw_init, NULL); | |||||
VNET_SYSINIT(vnet_ipfw_init, IPFW_SI_SUB_FIREWALL, IPFW_VNET_ORDER, | VNET_SYSINIT(vnet_ipfw_init, IPFW_SI_SUB_FIREWALL, IPFW_VNET_ORDER, | ||||
vnet_ipfw_init, NULL); | vnet_ipfw_init, NULL); | ||||
/* | /* | ||||
* Closing up shop. These are done in REVERSE ORDER, but still | * Closing up shop. These are done in REVERSE ORDER, but still | ||||
* after ipfwmod() has been called. Not called on reboot. | * after ipfwmod() has been called. Not called on reboot. | ||||
* VNET_SYSUNINIT is also called for each exiting vnet as it exits. | * VNET_SYSUNINIT is also called for each exiting vnet as it exits. | ||||
* or when the module is unloaded. | * or when the module is unloaded. | ||||
*/ | */ | ||||
SYSUNINIT(ipfw_destroy, IPFW_SI_SUB_FIREWALL, IPFW_MODULE_ORDER, | SYSUNINIT(ipfw_destroy, IPFW_SI_SUB_FIREWALL, IPFW_MODULE_ORDER, | ||||
ipfw_destroy, NULL); | ipfw_destroy); | ||||
VNET_SYSUNINIT(vnet_ipfw_uninit, IPFW_SI_SUB_FIREWALL, IPFW_VNET_ORDER, | VNET_SYSUNINIT(vnet_ipfw_uninit, IPFW_SI_SUB_FIREWALL, IPFW_VNET_ORDER, | ||||
vnet_ipfw_uninit, NULL); | vnet_ipfw_uninit, NULL); | ||||
/* end of file */ | /* end of file */ |