HomeSort by: relevance | last modified time | path
    Searched refs:bpf_insn (Results 1 - 25 of 30) sorted by relevancy

1 2

  /src/sys/net/
bpfjit.h 58 const struct bpf_insn *, size_t);
64 const struct bpf_insn *, size_t);
bpf.h 77 struct bpf_insn *bf_insns;
334 struct bpf_insn { struct
591 u_int bpf_filter_ext(const bpf_ctx_t *, const struct bpf_insn *, bpf_args_t *);
592 int bpf_validate_ext(const bpf_ctx_t *, const struct bpf_insn *, int);
599 int bpf_validate(const struct bpf_insn *, int);
600 u_int bpf_filter(const struct bpf_insn *, const u_char *, u_int, u_int);
602 u_int bpf_filter_with_aux_data(const struct bpf_insn *, const u_char *, u_int, u_int, const struct bpf_aux_data *);
611 char *bpf_image(const struct bpf_insn *, int);
bpfdesc.h 56 struct bpf_insn *bf_insn; /* filter code */
87 struct bpf_insn *_bd_filter; /* filter code */
bpfjit.c 204 * Additional (optimization-related) data for bpf_insn.
282 read_width(const struct bpf_insn *pc)
520 const struct bpf_insn *pc, int dst, struct sljit_jump ***ret0,
654 const bpf_ctx_t *bc, const struct bpf_insn *pc,
803 const struct bpf_insn *pc, struct sljit_jump *to_mchain_jump,
997 const struct bpf_insn *pc, struct sljit_jump *to_mchain_jump,
1087 emit_pow2_moddiv(struct sljit_compiler *compiler, const struct bpf_insn *pc)
1145 emit_moddiv(struct sljit_compiler *compiler, const struct bpf_insn *pc)
1222 read_pkt_insn(const struct bpf_insn *pc, bpfjit_abc_length_t *length)
1282 optimize_pass1(const bpf_ctx_t *bc, const struct bpf_insn *insns
    [all...]
bpf_filter.c 196 bpf_filter(const struct bpf_insn *pc, const u_char *p, u_int wirelen,
212 bpf_filter_ext(const bpf_ctx_t *bc, const struct bpf_insn *pc, bpf_args_t *args)
216 bpf_filter(const struct bpf_insn *pc, const u_char *p, u_int wirelen,
605 bpf_validate(const struct bpf_insn *f, int signed_len)
611 bpf_validate_ext(const bpf_ctx_t *bc, const struct bpf_insn *f, int signed_len)
615 bpf_validate(const struct bpf_insn *f, int signed_len)
619 const struct bpf_insn *p;
  /src/tests/net/bpf/
h_bpf.h 45 int rumpns_bpf_validate(const struct bpf_insn *, int);
47 const struct bpf_insn *, bpf_args_t *);
49 const struct bpf_insn *, size_t);
82 exec_prog(struct bpf_insn *insns, size_t insn_count,
110 interp_prog_mchain2(struct bpf_insn *insns,
134 exec_prog_mchain2(struct bpf_insn *insns, size_t insn_count,
160 prog_validate(struct bpf_insn *insns, size_t insn_count)
t_div-by-zero.c 29 struct bpf_insn bins[] = {
t_mbuf.c 56 static struct bpf_insn insns[] = {
92 static struct bpf_insn insns[] = {
122 static struct bpf_insn insns[] = {
145 static struct bpf_insn insns[] = {
185 static struct bpf_insn insns[] = {
214 static struct bpf_insn insns[] = {
249 static struct bpf_insn insns[] = {
287 static struct bpf_insn insns[] = {
304 static struct bpf_insn insns[] = {
321 static struct bpf_insn insns[] =
    [all...]
  /src/usr.sbin/npf/npfctl/
npf_bpf_comp.c 201 struct bpf_insn *insn = &bp->bf_insns[i];
247 add_insns(npf_bpf_t *ctx, struct bpf_insn *insns, size_t count)
253 offset = bp->bf_len * sizeof(struct bpf_insn);
254 len = count * sizeof(struct bpf_insn);
303 struct bpf_insn insns_ret[] = {
375 struct bpf_insn insns_ret[] = {
385 struct bpf_insn insns_ret[] = {
443 struct bpf_insn insns_af[] = {
465 struct bpf_insn insns_hlen[] = {
496 struct bpf_insn insns_et[] =
    [all...]
  /src/usr.bin/rump_dhcpclient/
bpf-filter.h 33 static const struct bpf_insn arp_bpf_filter [] = {
78 static const struct bpf_insn dhcp_bpf_filter [] = {
  /src/tests/lib/libbpfjit/
t_cop.c 113 static struct bpf_insn insns[] = {
137 static struct bpf_insn insns[] = {
170 static struct bpf_insn insns[] = {
203 static struct bpf_insn insns[] = {
236 static struct bpf_insn insns[] = {
269 static struct bpf_insn insns[] = {
308 static struct bpf_insn insns[] = {
347 static struct bpf_insn insns[] = {
367 static struct bpf_insn insns[] = {
391 static struct bpf_insn insns[] =
    [all...]
t_extmem.c 73 static struct bpf_insn insns[] = {
112 static struct bpf_insn insns[] = {
151 static struct bpf_insn insns[] = {
169 static struct bpf_insn insns[] = {
220 static struct bpf_insn insns[] = {
272 static struct bpf_insn insns[] = {
291 static struct bpf_insn insns[] = {
336 static struct bpf_insn insns[] = {
381 static struct bpf_insn insns[] = {
427 static struct bpf_insn insns[] =
    [all...]
t_bpfjit.c 68 struct bpf_insn dummy = { 0 };
83 static struct bpf_insn insns[] = {
111 static struct bpf_insn insns[] = {
148 static struct bpf_insn insns[] = {
178 static struct bpf_insn insns[] = {
208 static struct bpf_insn insns[] = {
238 static struct bpf_insn insns[] = {
267 static struct bpf_insn insns[] = {
297 static struct bpf_insn insns[] = {
327 static struct bpf_insn insns[] =
    [all...]
  /src/tests/net/bpfjit/
t_cop.c 121 static struct bpf_insn insns[] = {
149 static struct bpf_insn insns[] = {
188 static struct bpf_insn insns[] = {
227 static struct bpf_insn insns[] = {
266 static struct bpf_insn insns[] = {
305 static struct bpf_insn insns[] = {
350 static struct bpf_insn insns[] = {
395 static struct bpf_insn insns[] = {
421 static struct bpf_insn insns[] = {
449 static struct bpf_insn insns[] =
    [all...]
t_bpfjit.c 81 struct bpf_insn dummy;
104 static struct bpf_insn insns[] = {
127 static struct bpf_insn insns[] = {
160 static struct bpf_insn insns[] = {
185 static struct bpf_insn insns[] = {
210 static struct bpf_insn insns[] = {
235 static struct bpf_insn insns[] = {
259 static struct bpf_insn insns[] = {
284 static struct bpf_insn insns[] = {
309 static struct bpf_insn insns[] =
    [all...]
t_extmem.c 81 static struct bpf_insn insns[] = {
126 static struct bpf_insn insns[] = {
150 static struct bpf_insn insns[] = {
207 static struct bpf_insn insns[] = {
265 static struct bpf_insn insns[] = {
290 static struct bpf_insn insns[] = {
341 static struct bpf_insn insns[] = {
392 static struct bpf_insn insns[] = {
444 static struct bpf_insn insns[] = {
t_mbuf.c 57 static struct bpf_insn insns[] = {
94 static struct bpf_insn insns[] = {
125 static struct bpf_insn insns[] = {
149 static struct bpf_insn insns[] = {
190 static struct bpf_insn insns[] = {
220 static struct bpf_insn insns[] = {
256 static struct bpf_insn insns[] = {
295 static struct bpf_insn insns[] = {
313 static struct bpf_insn insns[] = {
331 static struct bpf_insn insns[] =
    [all...]
  /src/usr.sbin/npf/npftest/libnpftest/
npf_bpf_test.c 87 struct bpf_insn insns_npf_bpfcop[] = {
99 struct bpf_insn insns_ipver[] = {
  /src/usr.sbin/rbootd/
bpf.c 178 static struct bpf_insn bpf_insn[] = { local in function:BpfOpen
190 sizeof(bpf_insn)/sizeof(bpf_insn[0]), bpf_insn
  /src/tests/net/bpfilter/
t_bpfilter.c 79 static struct bpf_insn magic_echo_reply_prog[] = {
104 static struct bpf_insn badmem_prog[] = {
109 static struct bpf_insn noinitA_prog[] = {
113 static struct bpf_insn noinitX_prog[] = {
118 static struct bpf_insn badjmp_prog[] = {
123 static struct bpf_insn negjmp_prog[] = {
129 static struct bpf_insn badret_prog[] = {
453 struct bpf_insn *last;
  /src/usr.sbin/isibootd/
isibootd.c 349 static struct bpf_insn bpf_insn[] = { variable in typeref:struct:bpf_insn[]
356 sizeof(bpf_insn) / sizeof(bpf_insn[0]),
357 bpf_insn
  /src/sys/net/npf/
npf_bpf.c 146 const size_t icount = len / sizeof(struct bpf_insn);
  /src/usr.sbin/mopd/common/
pf.c 80 static struct bpf_insn insns[] = {
  /src/usr.sbin/ndbootd/config/
ndbootd-bpf.c 75 static struct bpf_insn ndboot_bpf_filter[] = {
  /src/dist/pf/usr.sbin/ftp-proxy/
npf.c 106 static struct bpf_insn insns[13] = {

Completed in 24 milliseconds

1 2