| /freebsd-12.1/contrib/ipfilter/ |
| H A D | bpf-ipf.h | 75 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-12.1/contrib/netbsd-tests/net/bpfilter/ |
| H A D | t_bpfilter.c | 221 struct bpf_program prog; in magic_ping_test() 299 send_bpf_prog(const char *ifname, struct bpf_program *prog) in send_bpf_prog() 362 struct bpf_program prog; in ATF_TC_BODY() 380 struct bpf_program prog; in ATF_TC_BODY() 398 struct bpf_program prog; in ATF_TC_BODY() 416 struct bpf_program prog; in ATF_TC_BODY() 434 struct bpf_program prog; in ATF_TC_BODY() 452 struct bpf_program prog; in ATF_TC_BODY()
|
| /freebsd-12.1/contrib/libpcap/pcap/ |
| H A D | pcap.h | 444 PCAP_API int pcap_setfilter(pcap_t *, struct bpf_program *); 454 PCAP_API int pcap_compile(pcap_t *, struct bpf_program *, const char *, int, 456 PCAP_API int pcap_compile_nopcap(int, int, struct bpf_program *, 458 PCAP_API void pcap_freecode(struct bpf_program *); 459 PCAP_API int pcap_offline_filter(const struct bpf_program *, 525 PCAP_API void bpf_dump(const struct bpf_program *, int);
|
| H A D | bpf.h | 104 struct bpf_program { struct
|
| /freebsd-12.1/contrib/tcpdump/ |
| H A D | interface.h | 75 struct bpf_program; 77 extern void bpf_dump(const struct bpf_program *, int);
|
| H A D | bpf_dump.c | 33 bpf_dump(const struct bpf_program *p, int option) in bpf_dump()
|
| /freebsd-12.1/sys/net/ |
| H A D | bpf.h | 67 struct bpf_program { struct 122 #define BIOCSETF _IOW('B', 103, struct bpf_program) 142 #define BIOCSETWF _IOW('B', 123, struct bpf_program) 149 #define BIOCSETFNR _IOW('B', 130, struct bpf_program)
|
| H A D | bpf.c | 198 static int bpf_setf(struct bpf_d *, struct bpf_program *, u_long cmd); 1407 error = bpf_setf(d, (struct bpf_program *)addr, cmd); in bpfioctl() 1845 bpf_setf(struct bpf_d *d, struct bpf_program *fp, u_long cmd) in bpf_setf() 1848 struct bpf_program fp_swab; in bpf_setf()
|
| /freebsd-12.1/contrib/libpcap/ |
| H A D | pcap-int.h | 123 typedef int (*setfilter_op_t)(pcap_t *, struct bpf_program *); 243 struct bpf_program fcode; 495 int install_bpf_program(pcap_t *, struct bpf_program *);
|
| H A D | pcap-septel.c | 44 static int septel_setfilter(pcap_t *p, struct bpf_program *fp); 292 static int septel_setfilter(pcap_t *p, struct bpf_program *fp) { in septel_setfilter()
|
| H A D | bpf_dump.c | 32 bpf_dump(const struct bpf_program *p, int option) in bpf_dump()
|
| H A D | pcap-rpcap.c | 151 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); 1347 struct bpf_program fcode; in pcap_startcapture_remote() 1427 static int pcap_pack_bpffilter(pcap_t *fp, char *sendbuf, int *sendbufidx, struct bpf_program *prog) in pcap_pack_bpffilter() 1432 struct bpf_program fake_prog; /* To be used just in case the user forgot to set a filter */ in pcap_pack_bpffilter() 1498 static int pcap_updatefilter_remote(pcap_t *fp, struct bpf_program *prog) in pcap_updatefilter_remote() 1569 static int pcap_setfilter_rpcap(pcap_t *fp, struct bpf_program *prog) in pcap_setfilter_rpcap() 1598 static int pcap_createfilter_norpcappkt(pcap_t *fp, struct bpf_program *prog) in pcap_createfilter_norpcappkt()
|
| H A D | pcap-pf.c | 90 static int pcap_setfilter_pf(pcap_t *, struct bpf_program *); 590 pcap_setfilter_pf(pcap_t *p, struct bpf_program *fp) in pcap_setfilter_pf()
|
| H A D | pcap-enet.c | 48 readloop(int cnt, int if_fd, struct bpf_program *fp, printfunc printit) in readloop()
|
| H A D | pcap-npf.c | 58 static int pcap_setfilter_npf(pcap_t *, struct bpf_program *); 59 static int pcap_setfilter_win32_dag(pcap_t *, struct bpf_program *); 1254 pcap_setfilter_npf(pcap_t *p, struct bpf_program *fp) in pcap_setfilter_npf() 1315 pcap_setfilter_win32_dag(pcap_t *p, struct bpf_program *fp) { in pcap_setfilter_win32_dag()
|
| H A D | pcap-dag.c | 219 static int dag_setfilter(pcap_t *p, struct bpf_program *fp); 1170 dag_setfilter(pcap_t *p, struct bpf_program *fp) in dag_setfilter()
|
| H A D | pcap-dos.c | 104 static int pcap_setfilter_dos (pcap_t *p, struct bpf_program *fp); 436 static int pcap_setfilter_dos (pcap_t *p, struct bpf_program *fp) in pcap_setfilter_dos()
|
| H A D | pcap-snf.c | 197 snf_setfilter(pcap_t *p, struct bpf_program *fp) in snf_setfilter()
|
| /freebsd-12.1/contrib/netbsd-tests/net/bpf/ |
| H A D | t_div-by-zero.c | 22 struct bpf_program bp; in ATF_TC_BODY()
|
| /freebsd-12.1/tools/tools/ether_reflect/ |
| H A D | ether_reflect.c | 73 struct bpf_program program; in main()
|
| /freebsd-12.1/sbin/dhclient/ |
| H A D | bpf.c | 139 struct bpf_program p; in if_register_send() 222 struct bpf_program p; in if_register_receive()
|
| /freebsd-12.1/usr.sbin/usbdump/ |
| H A D | usbdump.c | 188 make_filter(struct bpf_program *pprog, int snapshot) in make_filter() 282 free_filter(struct bpf_program *pprog) in free_filter() 815 struct bpf_program total_prog; in main()
|
| /freebsd-12.1/libexec/rbootd/ |
| H A D | bpf.c | 189 static struct bpf_program bpf_pgm = { in BpfOpen()
|
| /freebsd-12.1/sys/dev/cxgbe/ |
| H A D | t4_ioctl.h | 395 struct bpf_program bpf_prog; /* compiled program/filter */
|
| /freebsd-12.1/contrib/wpa/src/l2_packet/ |
| H A D | l2_packet_freebsd.c | 107 struct bpf_program pcap_fp; in l2_packet_init_libpcap()
|