Home
last modified time | relevance | path

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

/dflybsd-src/sys/netgraph/bpf/
H A Dng_bpf.c76 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 …]
H A Dng_bpf.h52 struct ng_bpf_hookprog { struct
61 (sizeof(struct ng_bpf_hookprog) + (numInsn) * sizeof(struct bpf_insn)) argument
/dflybsd-src/sys/netgraph7/bpf/
H A Dng_bpf.c87 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 …]
H A Dng_bpf.h53 struct ng_bpf_hookprog { struct
62 (sizeof(struct ng_bpf_hookprog) + (numInsn) * sizeof(struct bpf_insn)) argument