Searched refs:bpf_filter (Results 26 - 44 of 44) sorted by relevance

12

/freebsd-13-stable/contrib/ipfilter/
H A Dbpf_filter.c45 "@(#) $Header: /devel/CVS/IP-Filter/bpf_filter.c,v 2.2.2.3 2006/10/03 11:25:56 darrenr Exp $ (LBL)";
188 bpf_filter(pc, p, wirelen, buflen) function
/freebsd-13-stable/contrib/libpcap/pcap/
H A Dpcap.h538 * bpf_filter() here, as it's also be declared in <net/bpf.h>, with a
544 PCAP_API u_int bpf_filter(const struct bpf_insn *, const u_char *, u_int, u_int);
/freebsd-13-stable/contrib/libpcap/
H A Dpcap-pf.c208 bpf_filter(pc->fcode.bf_insns, p, sp->ens_count, buflen)) {
H A Dpcap-rdmasniff.c159 bpf_filter(handle->fcode.bf_insns, pktd, pkth.len, pkth.caplen)) {
H A Dpcap-snf.c180 bpf_filter(p->fcode.bf_insns, req.pkt_addr, req.length, caplen)) {
H A Dpcap-npf.c604 * XXX - bpf_filter() should always return TRUE if
610 bpf_filter(p->fcode.bf_insns, datap, bhp->bh_datalen, caplen)) {
817 if (bpf_filter(p->fcode.bf_insns, dp, packet_len, caplen) == 0)
H A Dpcap-netfilter-linux.c243 bpf_filter(handle->fcode.bf_insns, payload, pkth.len, pkth.caplen))
H A Dpcap-dag.c667 if ((p->fcode.bf_insns == NULL) || bpf_filter(p->fcode.bf_insns, dp, packet_len, caplen)) {
H A Dpcap-dos.c286 (!p->fcode.bf_insns || bpf_filter(p->fcode.bf_insns, p->buffer, pcap.len, pcap.caplen)))
H A Dpcap-tc.c973 filterResult = bpf_filter(p->fcode.bf_insns, data, tcHeader.Length, tcHeader.CapturedLength);
H A DMakefile.in95 bpf_image.c bpf_filter.c bpf_dump.c
H A Dpcap-bpf.c1130 bpf_filter(p->fcode.bf_insns, datap, bhp->bh_datalen, caplen)) {
H A Dpcap.c3796 return (bpf_filter(fcode, pkt, h->len, h->caplen));
/freebsd-13-stable/sys/net/
H A Dbpf_filter.c36 * @(#)bpf_filter.c 8.1 (Berkeley) 6/10/93
179 bpf_filter(const struct bpf_insn *pc, u_char *p, u_int wirelen, u_int buflen) function
H A Dbpf.c654 slen = bpf_filter(d->bd_wfilter, mtod(m, u_char *), len, len);
2263 slen = bpf_filter(d->bd_rfilter, pkt, pktlen, pktlen);
2326 slen = bpf_filter(d->bd_rfilter, (u_char *)m, pktlen, 0);
2366 * Craft on-stack mbuf suitable for passing to bpf_filter.
2383 slen = bpf_filter(d->bd_rfilter, (u_char *)&mb, pktlen, 0);
3047 bpf_filter(const struct bpf_insn *pc, u_char *p, u_int wirelen, u_int buflen) function
/freebsd-13-stable/sys/dev/cxgbe/tom/
H A Dt4_tom.c1635 matched = bpf_filter(r->bpf_prog.bf_insns, pkt, pktlen, buflen);
/freebsd-13-stable/share/man/man9/
H A DMakefile641 bpf.9 bpf_filter.9 \
/freebsd-13-stable/contrib/netbsd-tests/lib/libbpfjit/
H A Dt_bpfjit.c2962 ATF_CHECK(bpf_filter(insns, pkt, i, i) == 10 * i);
2999 ATF_CHECK(bpf_filter(insns, pkt, i, i) == 10 * i);
/freebsd-13-stable/sys/contrib/ipfilter/netinet/
H A Dfil.c2468 if (!bpf_filter(fr->fr_data, mc, wlen, 0))

Completed in 692 milliseconds

12