Searched refs:pfil (Results 1 - 22 of 22) sorted by relevance

/freebsd-9.3-release/contrib/ipfilter/ipsd/
H A Dsdlpi.c154 struct packetfilt pfil; local
156 u_short *fwp = pfil.Pf_Filter;
214 pfil.Pf_FilterLen = (fwp - &pfil.Pf_Filter[0]);
224 if (strioctl(fd, PFIOCSETF, -1, sizeof(pfil), (char *)&pfil) == -1)
H A Dsnit.c123 struct packetfilt pfil; local
125 u_short *fwp = pfil.Pf_Filter;
152 pfil.Pf_FilterLen = fwp - &pfil.Pf_Filter[0];
161 if (ioctl(fd, NIOCSETF, &pfil) == -1)
/freebsd-9.3-release/sys/net/
H A Dpfil.c2 /* $NetBSD: pfil.c,v 1.20 2001/11/12 23:49:46 lukem Exp $ */
48 #include <net/pfil.h>
H A Dif_enc.c49 #include <net/pfil.h>
247 /* Skip pfil(9) if no filters are loaded */
H A Dif_bridge.c111 #include <net/pfil.h>
354 static int pfil_onlyip = 1; /* only pass IP[46] packets when pfil is enabled */
355 static int pfil_bridge = 1; /* run pfil hooks on the bridge interface */
356 static int pfil_member = 1; /* run pfil hooks on the member interface */
359 static int pfil_local_phys = 0; /* run pfil hooks on the physical interface for
365 &pfil_onlyip, 0, "Only pass IP packets when pfil is enabled");
557 * Disable pfil so that ipfw doesnt run twice, if the user
2157 * through the pfil(9) framework, as it is possible that pfil(9) will
3025 * Send bridge packets through pfil i
[all...]
/freebsd-9.3-release/sys/netpfil/ipfw/
H A Dip_fw_pfil.c50 #include <net/pfil.h>
H A Dip_fw2.c64 #include <net/pfil.h>
2668 * and pfil hooks for ipv4 and ipv6. Even if the latter two fail
2678 * is checked on each packet because there are no pfil hooks.
/freebsd-9.3-release/share/man/man9/
H A DMakefile189 pfil.9 \
1000 MLINKS+=pfil.9 pfil_add_hook.9 \
1001 pfil.9 pfil_hook_get.9 \
1002 pfil.9 pfil_remove_hook.9
/freebsd-9.3-release/sys/netinet/
H A Dip_fastfwd.c91 #include <net/pfil.h>
363 ip = mtod(m, struct ip *); /* m may have changed by pfil hook */
H A Dip_output.c58 #include <net/pfil.h>
H A Dsiftr.c84 #include <net/pfil.h>
167 /* Timestamp of pkt as noted in the pfil hook. */
278 * pfil.h defines PFIL_IN as 1 and PFIL_OUT as 2,
575 * so the pfil hooks can continue queuing pkt_nodes.
606 * siftr_exit_pkt_manager_thread is set only after the pfil
805 * pfil hook that is called for each IPv4 packet making its way through the
807 * The pfil subsystem holds a non-sleepable mutex somewhere when
839 * If a kernel subsystem reinjects packets into the stack, our pfil
860 * If the pfil hooks don't provide a pointer to the
977 /* Returning 0 ensures pfil wil
[all...]
H A Dip_input.c55 #include <net/pfil.h>
302 printf("%s: WARNING: unable to register pfil hook, "
/freebsd-9.3-release/sys/netinet6/
H A Dip6_forward.c56 #include <net/pfil.h>
H A Dip6_input.c91 #include <net/pfil.h>
178 printf("%s: WARNING: unable to register pfil hook, "
H A Dip6_output.c91 #include <net/pfil.h>
/freebsd-9.3-release/sys/netipsec/
H A Dxform_ipip.c55 #include <net/pfil.h>
H A Dipsec_input.c59 #include <net/pfil.h>
472 * Pass the mbuf to enc0 for bpf and pfil. We will filter the IPIP
726 * Pass the mbuf to enc0 for bpf and pfil. We will filter the IPIP
H A Dipsec_output.c47 #include <net/pfil.h>
/freebsd-9.3-release/contrib/ipfilter/
H A DHISTORY339 #ifdef's for NetBSD compile incorrect for pfil interface
583 attaching filtering to ipv6 pfil hook wasn't present for solaris
773 now requires pfil to work on Solaris & HP-UX
930 * update for NetBSD pfil interface changes
H A DMakefile408 -I/home/dr146992/pfil -I/home/dr146992/ipf -f \
/freebsd-9.3-release/sys/contrib/ipfilter/netinet/
H A Dip_fil_freebsd.c155 # include <net/pfil.h>
/freebsd-9.3-release/sys/contrib/pf/net/
H A Dpf_ioctl.c129 #include <net/pfil.h>
229 * Wrapper functions for pfil(9) hooks
1601 ("pf: pfil registeration fail\n"));
1636 ("pf: pfil unregisteration failed\n"));
4353 printf("%s : pfil unregisteration fail\n", __FUNCTION__);

Completed in 300 milliseconds