Lines Matching refs:ng_bpf_hookprog
87 struct ng_bpf_hookprog *prog;
104 static int ng_bpf_setprog(hook_p hook, const struct ng_bpf_hookprog *hp);
124 const struct ng_bpf_hookprog *hp; in ng_bpf_hookprogary_getLength()
126 hp = (const struct ng_bpf_hookprog *) in ng_bpf_hookprogary_getLength()
127 (buf - __offsetof(struct ng_bpf_hookprog, bpf_prog)); in ng_bpf_hookprogary_getLength()
212 static const struct ng_bpf_hookprog ng_bpf_default_prog = {
311 struct ng_bpf_hookprog *const in ng_bpf_rcvmsg()
312 hp = (struct ng_bpf_hookprog *)msg->data; in ng_bpf_rcvmsg()
333 struct ng_bpf_hookprog *hp; in ng_bpf_rcvmsg()
550 ng_bpf_setprog(hook_p hook, const struct ng_bpf_hookprog *hp0) in ng_bpf_setprog()
553 struct ng_bpf_hookprog *hp; in ng_bpf_setprog()