| /freebsd-13.1/sbin/ipf/ipf/ |
| 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-13.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-13.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-13.1/contrib/libpcap/pcap/ |
| H A D | pcap.h | 445 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 D | bpf.h | 104 struct bpf_program { struct
|
| /freebsd-13.1/sys/net/ |
| H A D | bpf.h | 71 struct bpf_program { struct 126 #define BIOCSETF _IOW('B', 103, struct bpf_program) 146 #define BIOCSETWF _IOW('B', 123, struct bpf_program) 153 #define BIOCSETFNR _IOW('B', 130, struct bpf_program)
|
| /freebsd-13.1/contrib/libpcap/ |
| H A D | pcap-int.h | 128 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 D | pcap-septel.c | 35 static int septel_setfilter(pcap_t *p, struct bpf_program *fp); 283 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); 1349 struct bpf_program fcode; in pcap_startcapture_remote() 1429 static int pcap_pack_bpffilter(pcap_t *fp, char *sendbuf, int *sendbufidx, struct bpf_program *prog) in pcap_pack_bpffilter() 1434 struct bpf_program fake_prog; /* To be used just in case the user forgot to set a filter */ in pcap_pack_bpffilter() 1500 static int pcap_updatefilter_remote(pcap_t *fp, struct bpf_program *prog) in pcap_updatefilter_remote() 1571 static int pcap_setfilter_rpcap(pcap_t *fp, struct bpf_program *prog) in pcap_setfilter_rpcap() 1600 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 *); 1301 pcap_setfilter_npf(pcap_t *p, struct bpf_program *fp) in pcap_setfilter_npf() 1362 pcap_setfilter_win32_dag(pcap_t *p, struct bpf_program *fp) { in pcap_setfilter_win32_dag()
|
| /freebsd-13.1/contrib/netbsd-tests/net/bpf/ |
| H A D | t_div-by-zero.c | 22 struct bpf_program bp; in ATF_TC_BODY()
|
| /freebsd-13.1/contrib/libpcap/testprogs/ |
| H A D | valgrindtest.c | 242 struct bpf_program bad_fcode; in main() 248 struct bpf_program fcode; in main()
|
| H A D | capturetest.c | 74 struct bpf_program fcode; in main()
|
| H A D | filtertest.c | 209 struct bpf_program fcode; in main()
|
| H A D | threadsignaltest.c | 188 struct bpf_program fcode; in main()
|
| H A D | selpolltest.c | 74 struct bpf_program fcode; in main()
|
| /freebsd-13.1/tools/tools/ether_reflect/ |
| H A D | ether_reflect.c | 73 struct bpf_program program; in main()
|
| /freebsd-13.1/sbin/dhclient/ |
| H A D | bpf.c | 148 struct bpf_program p; in if_register_send() 261 struct bpf_program p; in if_register_receive()
|
| /freebsd-13.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() 818 struct bpf_program total_prog; in main()
|
| /freebsd-13.1/libexec/rbootd/ |
| H A D | bpf.c | 189 static struct bpf_program bpf_pgm = { in BpfOpen()
|
| /freebsd-13.1/sys/dev/cxgbe/ |
| H A D | t4_ioctl.h | 398 struct bpf_program bpf_prog; /* compiled program/filter */
|