Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/io/bpf/net/
H A Dbpf.h75 struct bpf_insn *bf_insns;
253 struct bpf_insn { struct
286 extern uint_t bpf_filter(struct bpf_insn *, uchar_t *, uint_t, uint_t);
289 extern int bpf_validate(struct bpf_insn *, int);
H A Dbpfdesc.h136 struct bpf_insn *bd_filter; /* filter code */
/titanic_41/usr/src/uts/common/inet/ipf/
H A Dbpf-ipf.h75 struct bpf_insn *bf_insns;
403 struct bpf_insn { struct
434 extern int bpf_validate(struct bpf_insn *, int);
435 extern u_int bpf_filter(struct bpf_insn *, u_char *, u_int, u_int);
H A Dfil.c4538 if (!bpf_validate(ptr, fp->fr_dsize/sizeof(struct bpf_insn))) {
/titanic_41/usr/src/uts/common/io/bpf/
H A Dbpf_filter.c141 bpf_filter(struct bpf_insn *pc, uchar_t *p, uint_t wirelen, uint_t buflen) in bpf_filter()
162 struct bpf_insn *, pc); in bpf_filter()
472 bpf_validate(struct bpf_insn *f, int len) in bpf_validate()
475 struct bpf_insn *p; in bpf_validate()
482 DTRACE_PROBE1(bpf_valid_insn, struct bpf_insn *, p); in bpf_validate()
H A Dbpf.c1253 struct bpf_insn *fcode, *old; in bpf_setf()
/titanic_41/usr/src/uts/common/inet/sockmods/
H A Dsockmod_pfp.c1339 struct bpf_insn *fcode; in pfp_setsocket_sockopt()
/titanic_41/usr/src/cmd/ipf/tools/
H A Dipf_y.y2062 fr->fr_dsize = bpf.bf_len * sizeof(struct bpf_insn);