Changeset View
Changeset View
Standalone View
Standalone View
sys/netpfil/ipfw/ip_fw_nat.c
Show First 20 Lines • Show All 1,231 Lines • ▼ Show 20 Lines | |||||
#define IPFW_NAT_VNET_ORDER (IPFW_NAT_MODEVENT_ORDER + 2) | #define IPFW_NAT_VNET_ORDER (IPFW_NAT_MODEVENT_ORDER + 2) | ||||
DECLARE_MODULE(ipfw_nat, ipfw_nat_mod, IPFW_NAT_SI_SUB_FIREWALL, SI_ORDER_ANY); | DECLARE_MODULE(ipfw_nat, ipfw_nat_mod, IPFW_NAT_SI_SUB_FIREWALL, SI_ORDER_ANY); | ||||
MODULE_DEPEND(ipfw_nat, libalias, 1, 1, 1); | MODULE_DEPEND(ipfw_nat, libalias, 1, 1, 1); | ||||
MODULE_DEPEND(ipfw_nat, ipfw, 3, 3, 3); | MODULE_DEPEND(ipfw_nat, ipfw, 3, 3, 3); | ||||
MODULE_VERSION(ipfw_nat, 1); | MODULE_VERSION(ipfw_nat, 1); | ||||
SYSINIT(ipfw_nat_init, IPFW_NAT_SI_SUB_FIREWALL, IPFW_NAT_MODULE_ORDER, | SYSINIT(ipfw_nat_init, IPFW_NAT_SI_SUB_FIREWALL, IPFW_NAT_MODULE_ORDER, | ||||
ipfw_nat_init, NULL); | ipfw_nat_init); | ||||
VNET_SYSINIT(vnet_ipfw_nat_init, IPFW_NAT_SI_SUB_FIREWALL, IPFW_NAT_VNET_ORDER, | VNET_SYSINIT(vnet_ipfw_nat_init, IPFW_NAT_SI_SUB_FIREWALL, IPFW_NAT_VNET_ORDER, | ||||
vnet_ipfw_nat_init, NULL); | vnet_ipfw_nat_init, NULL); | ||||
SYSUNINIT(ipfw_nat_destroy, IPFW_NAT_SI_SUB_FIREWALL, IPFW_NAT_MODULE_ORDER, | SYSUNINIT(ipfw_nat_destroy, IPFW_NAT_SI_SUB_FIREWALL, IPFW_NAT_MODULE_ORDER, | ||||
ipfw_nat_destroy, NULL); | ipfw_nat_destroy); | ||||
VNET_SYSUNINIT(vnet_ipfw_nat_uninit, IPFW_NAT_SI_SUB_FIREWALL, | VNET_SYSUNINIT(vnet_ipfw_nat_uninit, IPFW_NAT_SI_SUB_FIREWALL, | ||||
IPFW_NAT_VNET_ORDER, vnet_ipfw_nat_uninit, NULL); | IPFW_NAT_VNET_ORDER, vnet_ipfw_nat_uninit, NULL); | ||||
/* end of file */ | /* end of file */ |