Home
last modified time | relevance | path

Searched refs:ng_bpf_hookprog (Results 1 – 3 of 3) sorted by relevance

/f-stack/freebsd/netgraph/
H A Dng_bpf.c91 struct ng_bpf_hookprog *prog;
111 static int ng_bpf_setprog(hook_p hook, const struct ng_bpf_hookprog *hp);
131 const struct ng_bpf_hookprog *hp; in ng_bpf_hookprogary_getLength()
133 hp = (const struct ng_bpf_hookprog *) in ng_bpf_hookprogary_getLength()
134 (buf - OFFSETOF(struct ng_bpf_hookprog, bpf_prog)); in ng_bpf_hookprogary_getLength()
219 static const struct ng_bpf_hookprog ng_bpf_default_prog = {
317 struct ng_bpf_hookprog *const in ng_bpf_rcvmsg()
318 hp = (struct ng_bpf_hookprog *)msg->data; in ng_bpf_rcvmsg()
339 struct ng_bpf_hookprog *hp; in ng_bpf_rcvmsg()
555 ng_bpf_setprog(hook_p hook, const struct ng_bpf_hookprog *hp0) in ng_bpf_setprog()
[all …]
H A Dng_bpf.h52 struct ng_bpf_hookprog { struct
61 (sizeof(struct ng_bpf_hookprog) + (numInsn) * sizeof(struct bpf_insn)) argument
/f-stack/tools/compat/include/netgraph/
H A Dng_bpf.h52 struct ng_bpf_hookprog { struct
61 (sizeof(struct ng_bpf_hookprog) + (numInsn) * sizeof(struct bpf_insn)) argument