/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/ |
D | pcap1.h | 232 int pcap_setfilter(pcap_t *, struct bpf_program *); 238 int pcap_compile(pcap_t *, struct bpf_program *, char *, int, 240 int pcap_compile_nopcap(int, int, struct bpf_program *, 242 void pcap_freecode(struct bpf_program *); 273 void bpf_dump(struct bpf_program *, int);
|
D | pcap-int.h | 102 typedef int (*setfilter_op_t)(pcap_t *, struct bpf_program *); 187 struct bpf_program fcode; 421 int install_bpf_program(pcap_t *, struct bpf_program *);
|
D | pcap-septel.c | 49 static int septel_setfilter(pcap_t *p, struct bpf_program *fp); 277 static int septel_setfilter(pcap_t *p, struct bpf_program *fp) { in septel_setfilter()
|
D | bpf_dump.c | 34 bpf_dump(const struct bpf_program *p, int option) in bpf_dump()
|
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 | pcap-win32.c | 60 static int pcap_setfilter_win32_npf(pcap_t *, struct bpf_program *); 61 static int pcap_setfilter_win32_dag(pcap_t *, struct bpf_program *); 795 pcap_setfilter_win32_npf(pcap_t *p, struct bpf_program *fp) in pcap_setfilter_win32_npf() 821 pcap_setfilter_win32_dag(pcap_t *p, struct bpf_program *fp) { in pcap_setfilter_win32_dag()
|
D | pcap-canusb-linux.c | 66 static int canusb_setfilter_linux(pcap_t *, struct bpf_program *); 448 canusb_setfilter_linux(pcap_t *p, struct bpf_program *fp) in canusb_setfilter_linux()
|
D | pcap-pf.c | 95 static int pcap_setfilter_pf(pcap_t *, struct bpf_program *); 530 pcap_setfilter_pf(pcap_t *p, struct bpf_program *fp) in pcap_setfilter_pf()
|
D | pcap-enet.c | 52 readloop(int cnt, int if_fd, struct bpf_program *fp, printfunc printit) in readloop()
|
/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 *, 438 void bpf_dump(const struct bpf_program *, int);
|
D | bpf.h | 107 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/kernel-headers/original/uapi/linux/netfilter/ |
D | xt_bpf.h | 11 struct sock_filter bpf_program[XT_BPF_MAX_NUM_INSTR]; member
|
/external/iptables/include/linux/netfilter/ |
D | xt_bpf.h | 11 struct sock_filter bpf_program[XT_BPF_MAX_NUM_INSTR]; member
|
/external/tcpdump/ |
D | bpf_dump.c | 38 bpf_dump(const struct bpf_program *p, int option) in bpf_dump()
|
D | interface.h | 372 struct bpf_program; 374 extern void bpf_dump(const struct bpf_program *, int);
|
/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/libpcap/tests/ |
D | valgrindtest.c | 224 struct bpf_program bad_fcode; in main() 230 struct bpf_program fcode; in main()
|
D | nonblocktest.c | 60 struct bpf_program fcode; in main()
|
D | filtertest.c | 172 struct bpf_program fcode; in main()
|
D | selpolltest.c | 61 struct bpf_program fcode; in main()
|
/external/ppp/pppd/ |
D | pppd.h | 339 extern struct bpf_program pass_filter; /* Filter for pkts to pass */ 340 extern struct bpf_program active_filter; /* Filter for link-active pkts */ 662 int set_filters __P((struct bpf_program *pass, struct bpf_program *active));
|
/external/dhcpcd/ |
D | bpf.c | 59 struct bpf_program pf; in open_socket()
|