Searched refs:bpf_program (Results 1 - 25 of 44) sorted by relevance

12

/freebsd-11-stable/contrib/tcpdump/
H A Dinterface.h75 struct bpf_program;
77 extern void bpf_dump(const struct bpf_program *, int);
H A Dbpf_dump.c33 bpf_dump(const struct bpf_program *p, int option)
/freebsd-11-stable/contrib/ipfilter/
H A Dbpf-ipf.h75 struct bpf_program { struct
117 #define BIOCSETF _IOW(B,103, struct bpf_program)
128 #define BIOCSTCPF _IOW(B,114, struct bpf_program)
129 #define BIOCSUDPF _IOW(B,115, struct bpf_program)
133 #define BIOCSETF _IOW('B',103, struct bpf_program)
144 #define BIOCSTCPF _IOW('B',114, struct bpf_program)
145 #define BIOCSUDPF _IOW('B',115, struct bpf_program)
/freebsd-11-stable/contrib/netbsd-tests/net/bpf/
H A Dt_div-by-zero.c22 struct bpf_program bp;
/freebsd-11-stable/contrib/libpcap/
H A Dbpf_dump.c32 bpf_dump(const struct bpf_program *p, int option)
H A Dpcap-septel.c35 static int septel_setfilter(pcap_t *p, struct bpf_program *fp);
283 static int septel_setfilter(pcap_t *p, struct bpf_program *fp) {
H A Dpcap-int.h128 typedef int (*setfilter_op_t)(pcap_t *, struct bpf_program *);
248 struct bpf_program fcode;
521 int install_bpf_program(pcap_t *, struct bpf_program *);
H A Dpcap-enet.c48 readloop(int cnt, int if_fd, struct bpf_program *fp, printfunc printit)
H A Dpcap-rpcap.c151 static int pcap_pack_bpffilter(pcap_t *fp, char *sendbuf, int *sendbufidx, struct bpf_program *prog);
152 static int pcap_createfilter_norpcappkt(pcap_t *fp, struct bpf_program *prog);
153 static int pcap_updatefilter_remote(pcap_t *fp, struct bpf_program *prog);
155 static int pcap_setfilter_rpcap(pcap_t *fp, struct bpf_program *prog);
1349 struct bpf_program fcode;
1429 static int pcap_pack_bpffilter(pcap_t *fp, char *sendbuf, int *sendbufidx, struct bpf_program *prog)
1434 struct bpf_program fake_prog; /* To be used just in case the user forgot to set a filter */
1500 static int pcap_updatefilter_remote(pcap_t *fp, struct bpf_program *prog)
1571 static int pcap_setfilter_rpcap(pcap_t *fp, struct bpf_program *prog)
1600 static int pcap_createfilter_norpcappkt(pcap_t *fp, struct bpf_program *pro
[all...]
H A Dpcap-pf.c90 static int pcap_setfilter_pf(pcap_t *, struct bpf_program *);
590 pcap_setfilter_pf(pcap_t *p, struct bpf_program *fp)
H A Dpcap-npf.c58 static int pcap_setfilter_npf(pcap_t *, struct bpf_program *);
59 static int pcap_setfilter_win32_dag(pcap_t *, struct bpf_program *);
1301 pcap_setfilter_npf(pcap_t *p, struct bpf_program *fp)
1362 pcap_setfilter_win32_dag(pcap_t *p, struct bpf_program *fp) {
/freebsd-11-stable/contrib/netbsd-tests/net/bpfilter/
H A Dt_bpfilter.c221 struct bpf_program prog;
299 send_bpf_prog(const char *ifname, struct bpf_program *prog)
362 struct bpf_program prog;
380 struct bpf_program prog;
398 struct bpf_program prog;
416 struct bpf_program prog;
434 struct bpf_program prog;
452 struct bpf_program prog;
/freebsd-11-stable/contrib/libpcap/pcap/
H A Dpcap.h445 PCAP_API int pcap_setfilter(pcap_t *, struct bpf_program *);
455 PCAP_API int pcap_compile(pcap_t *, struct bpf_program *, const char *, int,
457 PCAP_API int pcap_compile_nopcap(int, int, struct bpf_program *,
459 PCAP_API void pcap_freecode(struct bpf_program *);
460 PCAP_API int pcap_offline_filter(const struct bpf_program *,
548 PCAP_API void bpf_dump(const struct bpf_program *, int);
H A Dbpf.h104 struct bpf_program { struct
/freebsd-11-stable/sys/net/
H A Dbpf.h65 struct bpf_program { struct
120 #define BIOCSETF _IOW('B', 103, struct bpf_program)
140 #define BIOCSETWF _IOW('B', 123, struct bpf_program)
147 #define BIOCSETFNR _IOW('B', 130, struct bpf_program)
/freebsd-11-stable/tools/tools/ether_reflect/
H A Dether_reflect.c73 struct bpf_program program;
/freebsd-11-stable/contrib/libpcap/testprogs/
H A Dvalgrindtest.c242 struct bpf_program bad_fcode;
248 struct bpf_program fcode;
371 * Try setting a filter with an uninitialized bpf_program
386 * Try setting a filter with an initialized bpf_program
H A Dcapturetest.c74 struct bpf_program fcode;
H A Dfiltertest.c209 struct bpf_program fcode;
H A Dselpolltest.c74 struct bpf_program fcode;
H A Dthreadsignaltest.c188 struct bpf_program fcode;
/freebsd-11-stable/sbin/dhclient/
H A Dbpf.c137 struct bpf_program p;
220 struct bpf_program p;
/freebsd-11-stable/libexec/rbootd/
H A Dbpf.c187 static struct bpf_program bpf_pgm = {
/freebsd-11-stable/sys/dev/cxgbe/
H A Dt4_ioctl.h393 struct bpf_program bpf_prog; /* compiled program/filter */
/freebsd-11-stable/contrib/wpa/src/l2_packet/
H A Dl2_packet_freebsd.c107 struct bpf_program pcap_fp;

Completed in 291 milliseconds

12