/freebsd/sbin/ipf/ipf/ |
H A D | bpf-ipf.h | 70 struct bpf_program { struct 112 #define BIOCSETF _IOW(B,103, struct bpf_program) 123 #define BIOCSTCPF _IOW(B,114, struct bpf_program) 124 #define BIOCSUDPF _IOW(B,115, struct bpf_program) 128 #define BIOCSETF _IOW('B',103, struct bpf_program) 139 #define BIOCSTCPF _IOW('B',114, struct bpf_program) 140 #define BIOCSUDPF _IOW('B',115, struct bpf_program) 71 bf_lenbpf_program global() argument 72 bf_insnsbpf_program global() argument
|
/freebsd/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/contrib/tcpdump/ |
H A D | interface.h | 59 struct bpf_program; 67 extern void bpf_dump(const struct bpf_program *, int);
|
H A D | bpf_dump.c | 32 bpf_dump(const struct bpf_program *p, int option) in bpf_dump()
|
/freebsd/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)
|
/freebsd/contrib/libpcap/pcap/ |
H A D | bpf.h | 130 struct bpf_program { 296 PCAP_API void bpf_dump(const struct bpf_program *, int);
|
H A D | pcap.h | 632 PCAP_API int pcap_setfilter(pcap_t *, struct bpf_program *); 662 PCAP_API int pcap_compile(pcap_t *, struct bpf_program *, const char *, int, 667 PCAP_API int pcap_compile_nopcap(int, int, struct bpf_program *, 672 PCAP_API void pcap_freecode(struct bpf_program *); 675 PCAP_API int pcap_offline_filter(const struct bpf_program *,
|
/freebsd/contrib/libpcap/ |
H A D | pcap-int.h | 193 typedef int (*setfilter_op_t)(pcap_t *, struct bpf_program *); 313 struct bpf_program fcode; 579 int pcapint_install_bpf_program(pcap_t *, struct bpf_program *);
|
H A D | bpf_dump.c | 30 bpf_dump(const struct bpf_program *p, int option) in bpf_dump()
|
H A D | pcap-rpcap.c | 166 static int pcap_pack_bpffilter(pcap_t *fp, char *sendbuf, int *sendbufidx, struct bpf_program *prog… 167 static int pcap_createfilter_norpcappkt(pcap_t *fp, struct bpf_program *prog); 168 static int pcap_updatefilter_remote(pcap_t *fp, struct bpf_program *prog); 170 static int pcap_setfilter_rpcap(pcap_t *fp, struct bpf_program *prog); 1457 struct bpf_program fcode; in pcap_startcapture_remote() 1559 static int pcap_pack_bpffilter(pcap_t *fp, char *sendbuf, int *sendbufidx, struct bpf_program *prog) in pcap_pack_bpffilter() 1564 struct bpf_program fake_prog; /* To be used just in case the user forgot to set a filter */ in pcap_pack_bpffilter() 1630 static int pcap_updatefilter_remote(pcap_t *fp, struct bpf_program *prog) in pcap_updatefilter_remote() 1701 static int pcap_setfilter_rpcap(pcap_t *fp, struct bpf_program *prog) in pcap_setfilter_rpcap() 1730 static int pcap_createfilter_norpcappkt(pcap_t *fp, struct bpf_program *prog) in pcap_createfilter_norpcappkt()
|
H A D | pcap-pf.c | 87 static int pcap_setfilter_pf(pcap_t *, struct bpf_program *); 587 pcap_setfilter_pf(pcap_t *p, struct bpf_program *fp) in pcap_setfilter_pf()
|
H A D | pcap-npf.c | 72 static int pcap_setfilter_npf(pcap_t *, struct bpf_program *); 73 static int pcap_setfilter_win32_dag(pcap_t *, struct bpf_program *); 1035 struct bpf_program total_prog; in pcap_activate_npf() 1914 pcap_setfilter_npf(pcap_t *p, struct bpf_program *fp) in pcap_setfilter_npf() 1975 pcap_setfilter_win32_dag(pcap_t *p, struct bpf_program *fp) { in pcap_setfilter_win32_dag()
|
H A D | pcap-enet.c | 46 readloop(int cnt, int if_fd, struct bpf_program *fp, printfunc printit) in readloop()
|
/freebsd/contrib/netbsd-tests/net/bpf/ |
H A D | t_div-by-zero.c | 22 struct bpf_program bp; in ATF_TC_BODY()
|
/freebsd/contrib/libpcap/testprogs/fuzz/ |
H A D | fuzz_filter.c | 13 struct bpf_program bpf; in LLVMFuzzerTestOneInput()
|
H A D | fuzz_both.c | 47 struct bpf_program bpf; in LLVMFuzzerTestOneInput()
|
/freebsd/contrib/libpcap/testprogs/ |
H A D | valgrindtest.c | 268 struct bpf_program bad_fcode; in main() 274 struct bpf_program fcode; in main()
|
H A D | filtertest.c | 221 struct bpf_program fcode; in main()
|
H A D | capturetest.c | 112 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/tools/tools/ether_reflect/ |
H A D | ether_reflect.c | 71 struct bpf_program program; in main()
|
/freebsd/sbin/dhclient/ |
H A D | bpf.c | 146 struct bpf_program p; in if_register_send() 259 struct bpf_program p; in if_register_receive()
|
/freebsd/usr.sbin/usbdump/ |
H A D | usbdump.c | 186 make_filter(struct bpf_program *pprog, int snapshot) in make_filter() 280 free_filter(struct bpf_program *pprog) in free_filter() 816 struct bpf_program total_prog; in main()
|
/freebsd/libexec/rbootd/ |
H A D | bpf.c | 179 static struct bpf_program bpf_pgm = { in BpfOpen()
|