ng_bpf_hookprog
const struct ng_bpf_hookprog *hp;
hp = (const struct ng_bpf_hookprog *)
(buf - __offsetof(struct ng_bpf_hookprog, bpf_prog));
static const struct ng_bpf_hookprog ng_bpf_default_prog = {
struct ng_bpf_hookprog *const
hp = (struct ng_bpf_hookprog *)msg->data;
struct ng_bpf_hookprog *hp;
ng_bpf_setprog(hook_p hook, const struct ng_bpf_hookprog *hp0)
struct ng_bpf_hookprog *hp;
struct ng_bpf_hookprog *prog;
static int ng_bpf_setprog(hook_p hook, const struct ng_bpf_hookprog *hp);
(sizeof(struct ng_bpf_hookprog) + (numInsn) * sizeof(struct bpf_insn))
static int ng_bpf_setprog(hook_p hook, const struct ng_bpf_hookprog *hp);
const struct ng_bpf_hookprog *hp;
hp = (const struct ng_bpf_hookprog *)
(buf - __offsetof(struct ng_bpf_hookprog, bpf_prog));
static const struct ng_bpf_hookprog ng_bpf_default_prog = {
struct ng_bpf_hookprog *const
hp = (struct ng_bpf_hookprog *)msg->data;
struct ng_bpf_hookprog *hp;
ng_bpf_setprog(hook_p hook, const struct ng_bpf_hookprog *hp0)
struct ng_bpf_hookprog *hp;
struct ng_bpf_hookprog *prog;
(sizeof(struct ng_bpf_hookprog) + (numInsn) * sizeof(struct bpf_insn))