/external/iptables/extensions/ |
D | libxt_bpf.c | 39 static void bpf_parse_string(struct xt_option_call *cb, const char *bpf_program, in bpf_parse_string() argument 48 if (sscanf(bpf_program, "%hu%c", &bi->bpf_program_num_elem, &sp) != 2 || in bpf_parse_string() 61 token = bpf_program; in bpf_parse_string() 68 &bi->bpf_program[i].code, in bpf_parse_string() 69 &bi->bpf_program[i].jt, in bpf_parse_string() 70 &bi->bpf_program[i].jf, in bpf_parse_string() 71 &bi->bpf_program[i].k) != 4) in bpf_parse_string() 101 printf("%hu %hhu %hhu %u,", info->bpf_program[i].code, in bpf_print_code() 102 info->bpf_program[i].jt, in bpf_print_code() 103 info->bpf_program[i].jf, in bpf_print_code() [all …]
|
/external/libpcap/pcap/ |
D | pcap.h | 379 int pcap_setfilter(pcap_t *, struct bpf_program *); 389 int pcap_compile(pcap_t *, struct bpf_program *, const char *, int, 391 int pcap_compile_nopcap(int, int, struct bpf_program *, 393 void pcap_freecode(struct bpf_program *); 394 int pcap_offline_filter(const struct bpf_program *, 439 void bpf_dump(const struct bpf_program *, int);
|
D | bpf.h | 106 struct bpf_program { struct
|
/external/ppp/pppd/include/net/ |
D | if_ppp.h | 133 #define PPPIOCSPASS _IOW('t', 71, struct bpf_program) /* set pass filter */ 134 #define PPPIOCSACTIVE _IOW('t', 70, struct bpf_program) /* set active filt */
|
/external/libpcap/ |
D | pcap-int.h | 123 typedef int (*setfilter_op_t)(pcap_t *, struct bpf_program *); 213 struct bpf_program fcode; 455 int install_bpf_program(pcap_t *, struct bpf_program *);
|
D | pcap-septel.c | 44 static int septel_setfilter(pcap_t *p, struct bpf_program *fp); 267 static int septel_setfilter(pcap_t *p, struct bpf_program *fp) { in septel_setfilter()
|
D | pcap-can-linux.c | 71 static int can_setfilter_linux(pcap_t *, struct bpf_program *); 295 can_setfilter_linux(pcap_t *p, struct bpf_program *fp) in can_setfilter_linux()
|
D | bpf_dump.c | 30 bpf_dump(const struct bpf_program *p, int option) in bpf_dump()
|
D | pcap-win32.c | 55 static int pcap_setfilter_win32_npf(pcap_t *, struct bpf_program *); 56 static int pcap_setfilter_win32_dag(pcap_t *, struct bpf_program *); 825 pcap_setfilter_win32_npf(pcap_t *p, struct bpf_program *fp) in pcap_setfilter_win32_npf() 886 pcap_setfilter_win32_dag(pcap_t *p, struct bpf_program *fp) { in pcap_setfilter_win32_dag()
|
D | pcap-canusb-linux.c | 67 static int canusb_setfilter_linux(pcap_t *, struct bpf_program *); 450 canusb_setfilter_linux(pcap_t *p, struct bpf_program *fp) in canusb_setfilter_linux()
|
D | pcap-pf.c | 90 static int pcap_setfilter_pf(pcap_t *, struct bpf_program *); 525 pcap_setfilter_pf(pcap_t *p, struct bpf_program *fp) in pcap_setfilter_pf()
|
D | pcap-enet.c | 48 readloop(int cnt, int if_fd, struct bpf_program *fp, printfunc printit) in readloop()
|
/external/iptables/include/linux/netfilter/ |
D | xt_bpf.h | 11 struct sock_filter bpf_program[XT_BPF_MAX_NUM_INSTR]; member
|
/external/kernel-headers/original/uapi/linux/netfilter/ |
D | xt_bpf.h | 13 struct sock_filter bpf_program[XT_BPF_MAX_NUM_INSTR]; member
|
/external/tcpdump/ |
D | interface.h | 178 struct bpf_program; 180 extern void bpf_dump(const struct bpf_program *, int);
|
D | bpf_dump.c | 34 bpf_dump(const struct bpf_program *p, int option) in bpf_dump()
|
/external/iptables/utils/ |
D | nfbpf_compile.c | 17 struct bpf_program program; in main()
|
/external/ppp/pppd/include/ |
D | pcap-int.h | 95 struct bpf_program fcode;
|
/external/ppp/pppd/ |
D | pppd.h | 345 extern struct bpf_program pass_filter; /* Filter for pkts to pass */ 346 extern struct bpf_program active_filter; /* Filter for link-active pkts */ 687 int set_filters __P((struct bpf_program *pass, struct bpf_program *active));
|
/external/libpcap/tests/ |
D | valgrindtest.c | 222 struct bpf_program bad_fcode; in main() 228 struct bpf_program fcode; in main()
|
D | capturetest.c | 67 struct bpf_program fcode; in main()
|
D | filtertest.c | 195 struct bpf_program fcode; in main()
|
D | selpolltest.c | 61 struct bpf_program fcode; in main()
|
/external/wpa_supplicant_8/src/l2_packet/ |
D | l2_packet_freebsd.c | 107 struct bpf_program pcap_fp; in l2_packet_init_libpcap()
|
D | l2_packet_winpcap.c | 166 struct bpf_program pcap_fp; in l2_packet_init_libpcap()
|