Home
last modified time | relevance | path

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

12

/external/iproute2/include/
Dbpf_util.h71 ((struct bpf_insn) { \
79 ((struct bpf_insn) { \
89 ((struct bpf_insn) { \
97 ((struct bpf_insn) { \
107 ((struct bpf_insn) { \
115 ((struct bpf_insn) { \
125 ((struct bpf_insn) { \
133 ((struct bpf_insn) { \
145 ((struct bpf_insn) { \
151 ((struct bpf_insn) { \
[all …]
/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/scapy/scapy/arch/
Dcommon.py26 class bpf_insn(Structure): class
37 ("bf_insns", POINTER(bpf_insn))]
66 bpf_insn_a = bpf_insn * size
/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.c25 static struct bpf_insn prog[BPF_MAXINSNS];
42 struct bpf_insn tmp[] = { in bpf_gen_map_prog()
133 insns *= sizeof(struct bpf_insn); in tag_from_alg()
Dtest_verifier_log.c19 static const struct bpf_insn code_sample[] = {
53 attr.insn_cnt = (__u32)(sizeof(code_sample) / sizeof(struct bpf_insn)); in load()
Dtest_align.c37 struct bpf_insn insns[MAX_INSNS];
586 static int probe_filter_length(const struct bpf_insn *fp) in probe_filter_length()
600 struct bpf_insn *prog = test->insns; in do_test_single()
/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()
/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/scapy/scapy/modules/
Dwinpcapy.py54 class bpf_insn(Structure): class
63 ('bf_insns', POINTER(bpf_insn))]
/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.c77 const struct bpf_insn prog[] = { in attach_bpf()
Dpsock_fanout.c132 struct bpf_insn prog[] = { in sock_fanout_set_ebpf()
/external/libpcap/tests/
Dvalgrindtest.c287 struct bpf_insn uninitialized[INSN_COUNT]; in main()
/external/iproute2/lib/
Dbpf.c1050 int bpf_prog_load(enum bpf_prog_type type, const struct bpf_insn *insns, in bpf_prog_load()
1058 attr.insn_cnt = size_insns / sizeof(struct bpf_insn); in bpf_prog_load()
1073 const struct bpf_insn *insns;
1454 unsigned int insns = prog->size / sizeof(struct bpf_insn); in bpf_prog_report()
1991 struct bpf_insn *insns = idata->d_buf; in bpf_apply_relo_data()
2002 ioff = relo.r_offset / sizeof(struct bpf_insn); in bpf_apply_relo_data()
/external/iproute2/include/uapi/linux/
Dbpf.h64 struct bpf_insn { struct

12