Lines Matching refs:ng_bpf_hookprog
76 struct ng_bpf_hookprog *prog;
90 static int ng_bpf_setprog(hook_p hook, const struct ng_bpf_hookprog *hp);
110 const struct ng_bpf_hookprog *hp; in ng_bpf_hookprogary_getLength()
112 hp = (const struct ng_bpf_hookprog *) in ng_bpf_hookprogary_getLength()
113 (buf - __offsetof(struct ng_bpf_hookprog, bpf_prog)); in ng_bpf_hookprogary_getLength()
202 static const struct ng_bpf_hookprog ng_bpf_default_prog = {
271 struct ng_bpf_hookprog *const in ng_bpf_rcvmsg()
272 hp = (struct ng_bpf_hookprog *)msg->data; in ng_bpf_rcvmsg()
293 struct ng_bpf_hookprog *hp; in ng_bpf_rcvmsg()
474 ng_bpf_setprog(hook_p hook, const struct ng_bpf_hookprog *hp0) in ng_bpf_setprog()
477 struct ng_bpf_hookprog *hp; in ng_bpf_setprog()