Home
last modified time | relevance | path

Searched refs:bpf_insn (Results 1 – 25 of 31) sorted by relevance

12

/external/libpcap/pcap/
Dbpf.h110 struct bpf_insn *bf_insns;
238 struct bpf_insn { struct
262 PCAP_API int bpf_validate(const struct bpf_insn *, int); argument
263 PCAP_API u_int bpf_filter(const struct bpf_insn *, const u_char *, u_int, u_int);
264 extern u_int bpf_filter_with_aux_data(const struct bpf_insn *, const u_char *, u_int, u_int, const …
Dpcap.h443 PCAP_API u_int bpf_filter(const struct bpf_insn *, const u_char *, u_int, u_int);
445 PCAP_API int bpf_validate(const struct bpf_insn *f, int len);
446 PCAP_API char *bpf_image(const struct bpf_insn *, int);
/external/dhcpcd-6.8.2/
Dbpf-filter.h33 static const struct bpf_insn arp_bpf_filter [] = {
77 static const struct bpf_insn dhcp_bpf_filter [] = {
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_tag.c24 static struct bpf_insn prog[BPF_MAXINSNS];
41 struct bpf_insn tmp[] = { in bpf_gen_map_prog()
132 insns *= sizeof(struct bpf_insn); in tag_from_alg()
/external/libpcap/
Dbpf_filter.c224 register const struct bpf_insn *pc; in bpf_filter_with_aux_data()
603 register const struct bpf_insn *pc; in bpf_filter()
625 const struct bpf_insn *f; in bpf_validate()
629 const struct bpf_insn *p;
Dbpf_dump.c32 const struct bpf_insn *insn; in bpf_dump()
Dpcap-enet.c58 register struct bpf_insn *fcode = fp->bf_insns; in readloop()
Dbpf_image.c51 const struct bpf_insn *p; in bpf_image()
Doptimize.c222 struct bpf_insn *fstart;
223 struct bpf_insn *ftail;
2029 struct bpf_insn *dst; in convert_code_r()
2198 struct bpf_insn *
2203 struct bpf_insn *fp; in icode_to_fcode()
2214 fp = (struct bpf_insn *)malloc(sizeof(*fp) * n); in icode_to_fcode()
2259 p->fcode.bf_insns = (struct bpf_insn *)malloc(prog_size); in install_bpf_program()
Dgencode.h383 struct bpf_insn *icode_to_fcode(compiler_state_t *, struct icode *,
Dsavefile.c493 struct bpf_insn *fcode; in pcap_offline_read()
Dpcap-linux.c447 static int fix_offset(struct bpf_insn *p);
6605 register struct bpf_insn *p;
6606 struct bpf_insn *f;
6615 f = (struct bpf_insn *)malloc(prog_size);
6702 fix_offset(struct bpf_insn *p)
/external/libpcap/bpf/net/
Dbpf_filter.c224 register const struct bpf_insn *pc; in bpf_filter_with_aux_data()
603 register const struct bpf_insn *pc; in bpf_filter()
625 const struct bpf_insn *f; in bpf_validate()
629 const struct bpf_insn *p;
/external/tcpdump/
Dbpf_dump.c35 struct bpf_insn *insn; in bpf_dump()
/external/iptables/utils/
Dnfbpf_compile.c18 struct bpf_insn *ins; in main()
/external/iproute2/include/linux/
Dbpf.h58 struct bpf_insn { struct
/external/strace/tests-mx32/
Dbpf.c37 static const struct bpf_insn insns[] = {
/external/strace/tests/
Dbpf.c37 static const struct bpf_insn insns[] = {
/external/strace/tests-m32/
Dbpf.c37 static const struct bpf_insn insns[] = {
/external/iproute2/tc/
Dtc_bpf.c681 const struct bpf_insn *insns;
758 static int bpf_prog_load(enum bpf_prog_type type, const struct bpf_insn *insns, in bpf_prog_load()
764 .insn_cnt = size / sizeof(struct bpf_insn), in bpf_prog_load()
1046 prog->size / sizeof(struct bpf_insn), in bpf_prog_attach()
1313 struct bpf_insn *insns = idata->d_buf; in bpf_apply_relo_data()
1324 ioff = relo.r_offset / sizeof(struct bpf_insn); in bpf_apply_relo_data()
/external/kernel-headers/original/uapi/linux/
Dbpf.h58 struct bpf_insn { struct
/external/linux-kselftest/tools/testing/selftests/net/
Dreuseport_bpf.c99 const struct bpf_insn prog[] = { in attach_ebpf()
340 struct bpf_insn ecode[] = { in test_filter_no_reuseport()
Dreuseport_bpf_numa.c76 const struct bpf_insn prog[] = { in attach_bpf()
Dpsock_fanout.c119 struct bpf_insn prog[] = { in sock_fanout_set_ebpf()
/external/libpcap/tests/
Dvalgrindtest.c287 struct bpf_insn uninitialized[INSN_COUNT]; in main()

12