Home
last modified time | relevance | path

Searched refs:bpf_prog_len (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/netgraph/
H A Dng_bpf.c133 return hp->bpf_prog_len; in ng_bpf_hookprogary_getLength()
321 != NG_BPF_HOOKPROG_SIZE(hp->bpf_prog_len)) in ng_bpf_rcvmsg()
351 NG_BPF_HOOKPROG_SIZE(hp->bpf_prog_len), M_NOWAIT); in ng_bpf_rcvmsg()
355 NG_BPF_HOOKPROG_SIZE(hp->bpf_prog_len)); in ng_bpf_rcvmsg()
561 if (hp0->bpf_prog_len > bpf_maxinsns || in ng_bpf_setprog()
562 !bpf_validate(hp0->bpf_prog, hp0->bpf_prog_len)) in ng_bpf_setprog()
566 size = NG_BPF_HOOKPROG_SIZE(hp0->bpf_prog_len); in ng_bpf_setprog()
572 jit_prog = bpf_jitter(hp->bpf_prog, hp->bpf_prog_len); in ng_bpf_setprog()
H A Dng_bpf.h54 int32_t bpf_prog_len; /* #insns in program */ member