Home
last modified time | relevance | path

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

/f-stack/freebsd/net/
H A Dbpf_jitter.h73 bpf_jit_filter *bpf_jitter(struct bpf_insn *fp, int nins);
88 struct bpf_insn;
90 bpf_filter_func bpf_jit_compile(struct bpf_insn *, u_int, size_t *);
H A Dbpf.h73 struct bpf_insn *bf_insns;
363 struct bpf_insn { struct
421 int bpf_validate(const struct bpf_insn *, int);
433 u_int bpf_filter(const struct bpf_insn *, u_char *, u_int, u_int);
H A Dbpfdesc.h78 struct bpf_insn *bd_rfilter; /* read filter code */
79 struct bpf_insn *bd_wfilter; /* write filter code */
H A Dbpf_jitter.c68 bpf_jitter(struct bpf_insn *fp, int nins) in bpf_jitter()
H A Dbpf_filter.c179 bpf_filter(const struct bpf_insn *pc, u_char *p, u_int wirelen, u_int buflen) in bpf_filter()
552 bpf_validate(const struct bpf_insn *f, int len) in bpf_validate()
555 const struct bpf_insn *p; in bpf_validate()
H A Dbpf.c770 bpf_check_upgrade(u_long cmd, struct bpf_d *d, struct bpf_insn *fcode, in bpf_check_upgrade()
1921 struct bpf_insn *filter; in bpf_setf()
1937 (struct bpf_insn *)(uintptr_t)fp32->bf_insns; in bpf_setf()
1966 filter = (struct bpf_insn *)fcode->buffer; in bpf_setf()
3047 bpf_filter(const struct bpf_insn *pc, u_char *p, u_int wirelen, u_int buflen) in bpf_filter()
3053 bpf_validate(const struct bpf_insn *f, int len) in bpf_validate()
/f-stack/dpdk/drivers/net/tap/
H A Dtap_bpf_insns.h8 static struct bpf_insn cls_q_insns[] = {
27 static struct bpf_insn l3_l4_hash_insns[] = {
H A Dtap_bpf_api.c32 (struct bpf_insn *)cls_q_insns, in tap_flow_bpf_cls_q()
55 (struct bpf_insn *)l3_l4_hash_insns, in tap_flow_bpf_calc_l3_l4_hash()
114 const struct bpf_insn *insns, in bpf_load()
H A Dtap_bpf.h19 struct bpf_insn { struct
114 static int bpf_load(enum bpf_prog_type type, const struct bpf_insn *insns,
/f-stack/tools/compat/include/netgraph/
H A Dng_bpf.h57 struct bpf_insn bpf_prog[]; /* bpf program */
61 (sizeof(struct ng_bpf_hookprog) + (numInsn) * sizeof(struct bpf_insn))
/f-stack/freebsd/netgraph/
H A Dng_bpf.h57 struct bpf_insn bpf_prog[]; /* bpf program */
61 (sizeof(struct ng_bpf_hookprog) + (numInsn) * sizeof(struct bpf_insn))
/f-stack/tools/compat/include/net/
H A Dbpf.h72 struct bpf_insn *bf_insns;
362 struct bpf_insn { struct
420 int bpf_validate(const struct bpf_insn *, int);
432 u_int bpf_filter(const struct bpf_insn *, u_char *, u_int, u_int);
H A Dbpfdesc.h77 struct bpf_insn *bd_rfilter; /* read filter code */
78 struct bpf_insn *bd_wfilter; /* write filter code */
/f-stack/freebsd/amd64/amd64/
H A Dbpf_jit_machdep.c105 bpf_jit_optimize(struct bpf_insn *prog, u_int nins) in bpf_jit_optimize()
158 bpf_jit_compile(struct bpf_insn *prog, u_int nins, size_t *size) in bpf_jit_compile()
161 struct bpf_insn *ins; in bpf_jit_compile()
/f-stack/freebsd/i386/i386/
H A Dbpf_jit_machdep.c105 bpf_jit_optimize(struct bpf_insn *prog, u_int nins) in bpf_jit_optimize()
158 bpf_jit_compile(struct bpf_insn *prog, u_int nins, size_t *size) in bpf_jit_compile()
161 struct bpf_insn *ins; in bpf_jit_compile()
/f-stack/freebsd/contrib/ipfilter/netinet/
H A Dfil.c4815 if (!bpf_validate(ptr, fp->fr_dsize/sizeof(struct bpf_insn))) {