Go to the source code of this file.
◆ NG_BPF_HOOKPROG_SIZE
#define NG_BPF_HOOKPROG_SIZE |
( |
|
numInsn | ) |
(sizeof(struct ng_bpf_hookprog) + (numInsn) * sizeof(struct bpf_insn)) |
◆ NG_BPF_HOOKPROG_TYPE_INFO
#define NG_BPF_HOOKPROG_TYPE_INFO |
( |
|
bptype | ) |
|
Value: { \
{ "bpf_prog", (bptype) }, \
{ NULL } \
}
const struct ng_parse_type ng_parse_int32_type
const struct ng_parse_type ng_parse_hookbuf_type
Definition at line 64 of file ng_bpf.h.
◆ NG_BPF_HOOKSTAT_TYPE_INFO
#define NG_BPF_HOOKSTAT_TYPE_INFO |
Value: { \
{ NULL } \
}
const struct ng_parse_type ng_parse_uint64_type
Definition at line 84 of file ng_bpf.h.
◆ NG_BPF_NODE_TYPE
#define NG_BPF_NODE_TYPE "bpf" |
◆ NGM_BPF_COOKIE
#define NGM_BPF_COOKIE 944100792 |
◆ anonymous enum
Enumerator |
---|
NGM_BPF_SET_PROGRAM | |
NGM_BPF_GET_PROGRAM | |
NGM_BPF_GET_STATS | |
NGM_BPF_CLR_STATS | |
NGM_BPF_GETCLR_STATS | |
Definition at line 95 of file ng_bpf.h.