Home
last modified time | relevance | path

Searched refs:bpf_program (Results 1 – 25 of 46) sorted by relevance

12

/freebsd/sbin/ipf/ipf/
H A Dbpf-ipf.h70 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 Dt_bpfilter.c221 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 Dinterface.h59 struct bpf_program;
67 extern void bpf_dump(const struct bpf_program *, int);
H A Dbpf_dump.c32 bpf_dump(const struct bpf_program *p, int option) in bpf_dump()
/freebsd/sys/net/
H A Dbpf.h67 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 Dbpf.h130 struct bpf_program {
296 PCAP_API void bpf_dump(const struct bpf_program *, int);
H A Dpcap.h632 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 Dpcap-int.h193 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 Dbpf_dump.c30 bpf_dump(const struct bpf_program *p, int option) in bpf_dump()
H A Dpcap-rpcap.c166 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 Dpcap-pf.c87 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 Dpcap-npf.c72 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 Dpcap-enet.c46 readloop(int cnt, int if_fd, struct bpf_program *fp, printfunc printit) in readloop()
/freebsd/contrib/netbsd-tests/net/bpf/
H A Dt_div-by-zero.c22 struct bpf_program bp; in ATF_TC_BODY()
/freebsd/contrib/libpcap/testprogs/fuzz/
H A Dfuzz_filter.c13 struct bpf_program bpf; in LLVMFuzzerTestOneInput()
H A Dfuzz_both.c47 struct bpf_program bpf; in LLVMFuzzerTestOneInput()
/freebsd/contrib/libpcap/testprogs/
H A Dvalgrindtest.c268 struct bpf_program bad_fcode; in main()
274 struct bpf_program fcode; in main()
H A Dfiltertest.c221 struct bpf_program fcode; in main()
H A Dcapturetest.c112 struct bpf_program fcode; in main()
H A Dthreadsignaltest.c188 struct bpf_program fcode; in main()
H A Dselpolltest.c74 struct bpf_program fcode; in main()
/freebsd/tools/tools/ether_reflect/
H A Dether_reflect.c71 struct bpf_program program; in main()
/freebsd/sbin/dhclient/
H A Dbpf.c146 struct bpf_program p; in if_register_send()
259 struct bpf_program p; in if_register_receive()
/freebsd/usr.sbin/usbdump/
H A Dusbdump.c186 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 Dbpf.c179 static struct bpf_program bpf_pgm = { in BpfOpen()

12