Home
last modified time | relevance | path

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

/external/libpcap/
Dpcap-bpf.h91 struct bpf_insn *bf_insns;
804 struct bpf_insn { struct
818 extern int bpf_validate(struct bpf_insn *, int); argument
819 extern u_int bpf_filter(struct bpf_insn *, u_char *, u_int, u_int);
Dpcap1.h266 u_int bpf_filter(struct bpf_insn *, u_char *, u_int, u_int);
267 int bpf_validate(struct bpf_insn *f, int len);
268 char *bpf_image(struct bpf_insn *, int);
Dpcap.h276 u_int bpf_filter(struct bpf_insn *, u_char *, u_int, u_int);
277 int bpf_validate(struct bpf_insn *f, int len);
278 char *bpf_image(struct bpf_insn *, int);
Dbpf_dump.c36 struct bpf_insn *insn; in bpf_dump()
Dpcap-linux.c216 static int fix_offset(struct bpf_insn *p);
1986 register struct bpf_insn *p; in fix_program()
1987 struct bpf_insn *f; in fix_program()
1996 f = (struct bpf_insn *)malloc(prog_size); in fix_program()
2075 fix_offset(struct bpf_insn *p) in fix_offset()
Dbpf_image.c42 struct bpf_insn *p; in bpf_image()
Dpcap-enet.c62 register struct bpf_insn *fcode = fp->bf_insns; in readloop()
Doptimize.c2049 static struct bpf_insn *fstart;
2050 static struct bpf_insn *ftail;
2066 struct bpf_insn *dst;
2235 struct bpf_insn *
2241 struct bpf_insn *fp;
2251 fp = (struct bpf_insn *)malloc(sizeof(*fp) * n);
2287 p->fcode.bf_insns = (struct bpf_insn *)malloc(prog_size); in install_bpf_program()
Dgencode.h322 struct bpf_insn *icode_to_fcode(struct block *, int *);
Dpcap-nit.c102 register struct bpf_insn *fcode = p->fcode.bf_insns; in pcap_read_nit()
Dpcap-bpf.c147 struct bpf_insn *fcode; in pcap_read_bpf()
607 struct bpf_insn total_insn; in pcap_open_live()
Dpcap-snit.c116 register struct bpf_insn *fcode = p->fcode.bf_insns; in pcap_read_snit()
Dpcap-pf.c91 struct bpf_insn *fcode; in pcap_read_pf()
Dsavefile.c1319 struct bpf_insn *fcode; in pcap_offline_read()
Dpcap-dos.c208 struct bpf_insn *fcode = p->fcode.bf_insns; in pcap_read_one()
Dpcap-dlpi.c248 register struct bpf_insn *fcode; in pcap_read_dlpi()
/external/dhcpcd/
Dbpf-filter.h33 static const struct bpf_insn const arp_bpf_filter [] = {
78 static const struct bpf_insn const dhcp_bpf_filter [] = {
Dlpf.c40 # define bpf_insn sock_filter macro
/external/tcpdump/
Dbpf_dump.c40 struct bpf_insn *insn; in bpf_dump()
/external/libpcap/bpf/net/
Dbpf_filter.c203 register struct bpf_insn *pc; in bpf_filter()
528 struct bpf_insn *f; in bpf_validate()
532 register struct bpf_insn *p;
/external/ppp/pppd/plugins/rp-pppoe/
Dif.c209 static struct bpf_insn bpfRun[] = { /* run PPPoE */ in initFilter()
241 struct bpf_insn bpfInsn[sizeof(bpfRun) / sizeof(bpfRun[0])]; in initFilter()