Home
last modified time | relevance | path

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

/external/libpcap/pcap/
Dbpf.h108 struct bpf_insn *bf_insns;
1472 struct bpf_insn { struct
1496 extern int bpf_validate(const struct bpf_insn *, int); argument
1497 extern u_int bpf_filter(const struct bpf_insn *, const u_char *, u_int, u_int);
1498 extern u_int bpf_filter_with_aux_data(const struct bpf_insn *, const u_char *, u_int, u_int, const …
Dpcap.h435 u_int bpf_filter(const struct bpf_insn *, const u_char *, u_int, u_int);
437 int bpf_validate(const struct bpf_insn *f, int len);
438 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 [] = {
Dif-linux.c92 #define bpf_insn sock_filter macro
/external/libpcap/bpf/net/
Dbpf_filter.c222 register const struct bpf_insn *pc; in bpf_filter_with_aux_data()
596 register const struct bpf_insn *pc; in bpf_filter()
618 const struct bpf_insn *f; in bpf_validate()
622 const struct bpf_insn *p;
/external/tcpdump/
Dbpf_dump.c36 struct bpf_insn *insn; in bpf_dump()
/external/libpcap/
Dbpf_dump.c32 const struct bpf_insn *insn; in bpf_dump()
Dpcap-enet.c58 register struct bpf_insn *fcode = fp->bf_insns; in readloop()
Doptimize.c1991 static struct bpf_insn *fstart;
1992 static struct bpf_insn *ftail;
2007 struct bpf_insn *dst; in convert_code_r()
2176 struct bpf_insn *
2180 struct bpf_insn *fp; in icode_to_fcode()
2190 fp = (struct bpf_insn *)malloc(sizeof(*fp) * n); in icode_to_fcode()
2235 p->fcode.bf_insns = (struct bpf_insn *)malloc(prog_size); in install_bpf_program()
Dbpf_image.c51 const struct bpf_insn *p; in bpf_image()
Dgencode.h355 struct bpf_insn *icode_to_fcode(struct block *, u_int *);
Dsavefile.c375 struct bpf_insn *fcode; in pcap_offline_read()
Dpcap-linux.c435 static int fix_offset(struct bpf_insn *p);
6329 register struct bpf_insn *p;
6330 struct bpf_insn *f;
6339 f = (struct bpf_insn *)malloc(prog_size);
6426 fix_offset(struct bpf_insn *p)
Dpcap-sita.c871 struct bpf_insn *p;
Dpcap.c1903 const struct bpf_insn *fcode = fp->bf_insns; in pcap_offline_filter()
Dpcap-bpf.c1508 struct bpf_insn total_insn;
/external/iptables/utils/
Dnfbpf_compile.c18 struct bpf_insn *ins; in main()
/external/strace/tests/
Dbpf.c40 static const struct bpf_insn insns[] = {
/external/kernel-headers/original/uapi/linux/
Dbpf.h58 struct bpf_insn { struct
/external/iproute2/include/linux/
Dbpf.h58 struct bpf_insn { struct
/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/libpcap/tests/
Dvalgrindtest.c223 struct bpf_insn uninitialized[INSN_COUNT]; in main()