Searched refs:bpf_filter (Results 1 - 25 of 39) sorted by relevance

12

/freebsd-10.2-release/tools/regression/bpf/
H A DMakefile3 SUBDIR= bpf_filter
/freebsd-10.2-release/sys/modules/netgraph/bpf/
H A DMakefile7 SRCS= opt_bpf.h ng_bpf.c bpf_filter.c
/freebsd-10.2-release/sbin/ipf/ipf/
H A DMakefile4 SRCS= ${GENHDRS} ipf.c ipfcomp.c ipf_y.c ipf_l.c bpf_filter.c
/freebsd-10.2-release/contrib/libpcap/
H A Dpcap-enet.c82 if (bpf_filter(fcode, (char *)ph->packet,
96 if (bpf_filter(fcode, buf.hdr.packet, cc, caplen)) {
H A DMakefile.in91 GENSRC = scanner.c grammar.c bpf_filter.c version.c
246 bpf/net/bpf_filter.c \
486 bpf_filter.c: $(srcdir)/bpf/net/bpf_filter.c
487 rm -f bpf_filter.c
488 ln -s $(srcdir)/bpf/net/bpf_filter.c bpf_filter.c
490 bpf_filter.o: bpf_filter.c
491 $(CC) $(FULL_CFLAGS) -c bpf_filter
[all...]
H A Dpcap-septel.c134 if ((p->fcode.bf_insns == NULL) || bpf_filter(p->fcode.bf_insns, dp, packet_len, caplen)) {
H A Ddlpisubs.c177 if (bpf_filter(p->fcode.bf_insns, pk, origlen, caplen)) {
H A Dpcap-nit.c177 if (bpf_filter(p->fcode.bf_insns, cp, nh->nh_wirelen, caplen)) {
H A Dpcap-snf.c134 bpf_filter(p->fcode.bf_insns, req.pkt_addr, req.length, caplen)) {
H A Dsavefile.c386 bpf_filter(fcode, data, h.len, h.caplen)) {
H A Dpcap-bt-linux.c357 bpf_filter(handle->fcode.bf_insns, &handle->buffer[handle->offset],
H A Dpcap-snit.c189 if (bpf_filter(p->fcode.bf_insns, cp, nlp->nh_pktlen, caplen)) {
H A Dpcap-snoop.c125 bpf_filter(p->fcode.bf_insns, cp, datalen, caplen)) {
H A Dpcap-usb-linux.c640 bpf_filter(handle->fcode.bf_insns, handle->buffer,
806 bpf_filter(handle->fcode.bf_insns, handle->buffer,
886 bpf_filter(handle->fcode.bf_insns, (u_char*) hdr,
H A Dpcap-pf.c200 bpf_filter(pc->fcode.bf_insns, p, sp->ens_count, buflen)) {
/freebsd-10.2-release/contrib/ipfilter/
H A Dpcap-bpf.h672 extern u_int bpf_filter(struct bpf_insn *, u_char *, u_int, u_int);
675 extern u_int bpf_filter();
H A Dbpf-ipf.h437 extern u_int bpf_filter(struct bpf_insn *, u_char *, u_int, u_int);
440 extern u_int bpf_filter();
/freebsd-10.2-release/tools/regression/bpf/bpf_filter/
H A Dbpf_test.c27 __FBSDID("$FreeBSD: releng/10.2/tools/regression/bpf/bpf_filter/bpf_test.c 199605 2009-11-20 19:01:09Z jkim $");
93 u_int bpf_filter(const struct bpf_insn *, u_char *, u_int, u_int);
121 * XXX Copied from sys/net/bpf_filter.c and modified.
229 ret = bpf_filter(nins != 0 ? pc : NULL, pkt, wirelen, buflen);
H A DMakefile1 # $FreeBSD: releng/10.2/tools/regression/bpf/bpf_filter/Makefile 199604 2009-11-20 18:53:38Z jkim $
49 SRCS+= ${SYSDIR}/net/bpf_filter.c
/freebsd-10.2-release/contrib/libpcap/pcap/
H A Dbpf.h1288 extern u_int bpf_filter(struct bpf_insn *, u_char *, u_int, u_int);
1291 extern u_int bpf_filter();
H A Dpcap.h406 * bpf_filter() here, as it's also be declared in <net/bpf.h>, with a
412 u_int bpf_filter(struct bpf_insn *, u_char *, u_int, u_int);
/freebsd-10.2-release/lib/libpcap/
H A DMakefile12 etherent.c savefile.c bpf_filter.c bpf_image.c bpf_dump.c \
H A Dpcap-netmap.c100 if (pc == NULL || bpf_filter(pc, buf, h->len, h->caplen))
/freebsd-10.2-release/sys/netgraph/
H A Dng_bpf.c434 /* Don't call bpf_filter() with totlen == 0! */
474 len = bpf_filter(hip->prog->bpf_prog, data, totlen, totlen);
476 len = bpf_filter(hip->prog->bpf_prog, (u_char *)m, totlen, 0);
/freebsd-10.2-release/contrib/libpcap/bpf/net/
H A Dbpf_filter.c43 "@(#) $Header: /tcpdump/master/libpcap/bpf/net/bpf_filter.c,v 1.46 2008-01-02 04:16:46 guy Exp $ (LBL)";
211 bpf_filter(pc, p, wirelen, buflen) function

Completed in 200 milliseconds

12