Home
last modified time | relevance | path

Searched refs:V_ipfmain (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/netpfil/ipfilter/netinet/
H A Dmlfk_ipl.c50 #define V_ipfmain VNET(ipfmain) macro
207 if (ipf_create_all(&V_ipfmain) == NULL) in vnet_ipf_init()
210 error = ipfattach(&V_ipfmain); in vnet_ipf_init()
212 ipf_destroy_all(&V_ipfmain); in vnet_ipf_init()
216 if (FR_ISPASS(V_ipfmain.ipf_pass)) in vnet_ipf_init()
218 else if (FR_ISBLOCK(V_ipfmain.ipf_pass)) in vnet_ipf_init()
284 if (V_ipfmain.ipf_refcnt) in vnet_ipf_uninit()
287 if (V_ipfmain.ipf_running >= 0) { in vnet_ipf_uninit()
289 if (ipfdetach(&V_ipfmain) != 0) in vnet_ipf_uninit()
292 V_ipfmain.ipf_running = -2; in vnet_ipf_uninit()
[all …]
H A Dip_rules.c59 #define V_ipfmain VNET(ipfmain) macro
137 err = frrequest(&V_ipfmain, IPL_LOGIPF, SIOCADDFR, (caddr_t)fp, in ipfrule_add_out_()
138 V_ipfmain.ipf_active, 0); in ipfrule_add_out_()
164 err = frrequest(&V_ipfmain, IPL_LOGIPF, SIOCDELFR, in ipfrule_remove_out_()
166 V_ipfmain.ipf_active, 0); in ipfrule_remove_out_()
206 err = frrequest(&V_ipfmain, IPL_LOGIPF, SIOCADDFR, (caddr_t)fp, in ipfrule_add_in_()
207 V_ipfmain.ipf_active, 0); in ipfrule_add_in_()
233 err = frrequest(&V_ipfmain, IPL_LOGIPF, SIOCDELFR, in ipfrule_remove_in_()
235 V_ipfmain.ipf_active, 0); in ipfrule_remove_in_()
H A Dip_fil_freebsd.c90 #define V_ipfmain VNET(ipfmain) macro
106 if (V_ipfmain.ipf_running > 0) in ipf_ifevent()
107 ipf_sync(&V_ipfmain, NULL); in ipf_ifevent()
121 rv = ipf_check(&V_ipfmain, ip, ip->ip_hl << 2, ifp, in ipf_check_wrapper()
137 rv = ipf_check(&V_ipfmain, mtod(*mp, struct ip *), in ipf_check_wrapper6()
195 bzero((char *)V_ipfmain.ipf_selwait, sizeof(V_ipfmain.ipf_selwait)); in ipfattach()
252 V_ipfmain.ipf_interror = 130001; in ipfioctl()
258 V_ipfmain.ipf_interror = 130018; in ipfioctl()
265 V_ipfmain.ipf_interror = 130002; in ipfioctl()
270 if (V_ipfmain.ipf_running <= 0) { in ipfioctl()
[all …]