Lines Matching refs:V_ipfmain
53 #define V_ipfmain VNET(ipfmain)
198 if (ipf_create_all(&V_ipfmain) == NULL)
201 error = ipfattach(&V_ipfmain);
203 ipf_destroy_all(&V_ipfmain);
207 if (FR_ISPASS(V_ipfmain.ipf_pass))
209 else if (FR_ISBLOCK(V_ipfmain.ipf_pass))
272 if (V_ipfmain.ipf_refcnt)
275 if (V_ipfmain.ipf_running >= 0) {
277 if (ipfdetach(&V_ipfmain) != 0)
280 V_ipfmain.ipf_running = -2;
282 ipf_destroy_all(&V_ipfmain);
344 if ((oidp->oid_kind & CTLFLAG_OFF) && (V_ipfmain.ipf_running > 0))
365 nat_softc = V_ipfmain.ipf_nat_soft;
382 state_softc = V_ipfmain.ipf_state_soft;
399 auth_softc = V_ipfmain.ipf_auth_soft;
416 frag_softc = V_ipfmain.ipf_frag_soft;
450 if ((events & (POLLIN | POLLRDNORM)) && ipf_log_canread(&V_ipfmain, unit))
455 if ((events & (POLLIN | POLLRDNORM)) && ipf_auth_waiting(&V_ipfmain))
459 if ((events & (POLLIN | POLLRDNORM)) && ipf_sync_canread(&V_ipfmain))
461 if ((events & (POLLOUT | POLLWRNORM)) && ipf_sync_canwrite(&V_ipfmain))
471 selrecord(td, &V_ipfmain.ipf_selwait[unit]);
564 if (V_ipfmain.ipf_running < 1) {
570 error = ipf_sync_read(&V_ipfmain, uio);
576 error = ipf_log_read(&V_ipfmain, unit, uio);
603 if (V_ipfmain.ipf_running < 1) {
609 error = ipf_sync_write(&V_ipfmain, uio);