Searched refs:bpf_insn (Results 1 – 5 of 5) sorted by relevance
| /xnu-10063.101.15/tests/ |
| H A D | bpflib.c | 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()
|
| /xnu-10063.101.15/bsd/net/ |
| H A D | bpf.h | 147 struct bpf_insn *bf_insns; 1417 struct bpf_insn { struct 1481 extern int bpf_validate(const struct bpf_insn *, int); 1484 extern u_int bpf_filter(const struct bpf_insn *, u_char *, u_int, u_int);
|
| H A D | bpfdesc.h | 115 struct bpf_insn *bd_filter; /* filter code */
|
| H A D | bpf_filter.c | 417 bpf_filter(const struct bpf_insn *pc, u_char *p, u_int wirelen, u_int buflen) in bpf_filter() 773 bpf_validate(const struct bpf_insn *f, int len) in bpf_validate() 776 const struct bpf_insn *p; in bpf_validate()
|
| H A D | bpf.c | 2642 struct bpf_insn *fcode, *old; in bpf_setf() 2670 size = flen * sizeof(struct bpf_insn); in bpf_setf() 2671 fcode = (struct bpf_insn *) kalloc_data(size, Z_WAITOK | Z_ZERO); in bpf_setf()
|