Searched refs:ng_bpf_hookprog (Results 1 – 4 of 4) sorted by relevance
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()[all …]
52 struct ng_bpf_hookprog { struct61 (sizeof(struct ng_bpf_hookprog) + (numInsn) * sizeof(struct bpf_insn)) argument
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()[all …]
53 struct ng_bpf_hookprog { struct62 (sizeof(struct ng_bpf_hookprog) + (numInsn) * sizeof(struct bpf_insn)) argument