Searched refs:ipfmain (Results 1 - 10 of 10) sorted by relevance

/freebsd-10.0-release/sys/contrib/ipfilter/netinet/
H A Dmlfk_ipl.c36 extern ipf_main_softc_t ipfmain;
76 SYSCTL_IPF(_net_inet_ipf, OID_AUTO, fr_flags, CTLFLAG_RW, &ipfmain.ipf_flags, 0, "");
77 SYSCTL_IPF(_net_inet_ipf, OID_AUTO, ipf_pass, CTLFLAG_RW, &ipfmain.ipf_pass, 0, "");
78 SYSCTL_IPF(_net_inet_ipf, OID_AUTO, fr_active, CTLFLAG_RD, &ipfmain.ipf_active, 0, "");
80 &ipfmain.ipf_tcpidletimeout, 0, "");
82 &ipfmain.ipf_tcphalfclosed, 0, "");
84 &ipfmain.ipf_tcpclosewait, 0, "");
86 &ipfmain.ipf_tcplastack, 0, "");
88 &ipfmain.ipf_tcptimeout, 0, "");
90 &ipfmain
[all...]
H A Dip_rules.c54 extern ipf_main_softc_t ipfmain;
132 err = frrequest(&ipfmain, IPL_LOGIPF, SIOCADDFR, (caddr_t)fp,
133 ipfmain.ipf_active, 0);
159 err = frrequest(&ipfmain, IPL_LOGIPF, SIOCDELFR,
161 ipfmain.ipf_active, 0);
201 err = frrequest(&ipfmain, IPL_LOGIPF, SIOCADDFR, (caddr_t)fp,
202 ipfmain.ipf_active, 0);
228 err = frrequest(&ipfmain, IPL_LOGIPF, SIOCDELFR,
230 ipfmain.ipf_active, 0);
H A Dip_fil_freebsd.c97 ipf_main_softc_t ipfmain; variable
134 rv = ipf_check(&ipfmain, ip, ip->ip_hl << 2, ifp, (dir == PFIL_OUT),
152 return (ipf_check(&ipfmain, mtod(*mp, struct ip *),
219 bzero((char *)ipfmain.ipf_selwait, sizeof(ipfmain.ipf_selwait));
299 ipfmain.ipf_interror = 130001;
306 ipfmain.ipf_interror = 130002;
310 if (ipfmain.ipf_running <= 0) {
312 ipfmain.ipf_interror = 130003;
319 ipfmain
[all...]
/freebsd-10.0-release/contrib/ipfilter/
H A Dmlfk_rule.c33 extern ipf_main_softc_t ipfmain;
45 ipfmain.ipf_refcnt++;
50 ipfmain.ipf_refcnt--;
H A Dmlfk_ipl.c35 extern ipf_main_softc_t ipfmain;
211 if (ipf_create_all(&ipfmain) == NULL)
214 error = ipfattach(&ipfmain);
238 if (FR_ISPASS(ipfmain.ipf_pass))
240 else if (FR_ISBLOCK(ipfmain.ipf_pass))
267 if (ipfmain.ipf_refcnt)
274 if (ipfmain.ipf_running >= 0) {
275 error = ipfdetach(&ipfmain);
279 ipf_destroy_all(&ipfmain);
284 ipfmain
[all...]
H A Dmln_ipl.c83 extern ipf_main_softc_t ipfmain;
238 if (ipfmain.ipf_refcnt)
240 else if (ipfmain.ipf_running >= 0) {
241 error = ipfdetach(&ipfmain);
243 ipf_destroy_all(&ipfmain);
249 ipfmain.ipf_running = -2;
272 bzero((char *)&ipfmain, sizeof(ipfmain));
276 if (ipf_create_all(&ipfmain) == NULL) {
281 error = ipfattach(&ipfmain);
[all...]
H A Dmlso_rule.c56 extern ipf_main_softc_t ipfmain;
80 if (ipfmain.ipf_running >= 0) {
83 ipfmain.ipf_refcnt++;
109 ipfmain.ipf_refcnt--;
H A Dmls_ipl.c320 ipfmain.ipf_interror = 130006;
327 ipfmain.ipf_interror = 130007;
343 ipfmain.ipf_interror = 130008;
349 ipfmain.ipf_interror = 130009;
H A Dip_fil.c19 ipf_main_softc_t ipfmain; variable
H A Dmli_ipl.c549 ipf_sync(&ipfmain, NULL);

Completed in 207 milliseconds