Searched refs:bpf_insn (Results 1 – 6 of 6) sorted by relevance
144 struct bpf_insn insns[] = { in bpf_filter_receive_none()149 prog.bf_len = sizeof(insns) / sizeof(struct bpf_insn); in bpf_filter_receive_none()157 struct bpf_insn insns[] = { in bpf_arp_filter()165 prog.bf_len = sizeof(insns) / sizeof(struct bpf_insn); in bpf_arp_filter()
322 extern int bpf_validate(const struct bpf_insn *__counted_by(len), int len);325 extern u_int bpf_filter(const struct bpf_insn *__counted_by(pc_len), u_int pc_len,
427 bpf_filter(const struct bpf_insn *__counted_by(pc_len) pc_orig, u_int pc_len, in bpf_filter()433 const struct bpf_insn *pc = pc_orig; in bpf_filter()787 bpf_validate(const struct bpf_insn *__counted_by(len) f, int len) in bpf_validate()790 const struct bpf_insn *p; in bpf_validate()
138 struct bpf_insn *bf_insns;1217 struct bpf_insn { struct
125 struct bpf_insn *__counted_by(bd_filter_len) bd_filter; /* filter code */
2764 struct bpf_insn *fcode, *old; in bpf_setf()2793 size = flen * sizeof(struct bpf_insn); in bpf_setf()2794 fcode = (struct bpf_insn *) kalloc_data(size, Z_WAITOK | Z_ZERO); in bpf_setf()