Symbol: bpf_nf_ctx
include/linux/bpf_types.h
84
struct bpf_nf_ctx, struct bpf_nf_ctx)
net/bpf/test_run.c
1722
struct bpf_nf_ctx ctx = {
net/netfilter/nf_bpf_link.c
15
struct bpf_nf_ctx ctx = {
net/netfilter/nf_bpf_link.c
296
if (off < 0 || off >= sizeof(struct bpf_nf_ctx))
net/netfilter/nf_bpf_link.c
306
case bpf_ctx_range(struct bpf_nf_ctx, skb):
net/netfilter/nf_bpf_link.c
307
if (size != sizeof_field(struct bpf_nf_ctx, skb))
net/netfilter/nf_bpf_link.c
311
case bpf_ctx_range(struct bpf_nf_ctx, state):
net/netfilter/nf_bpf_link.c
312
if (size != sizeof_field(struct bpf_nf_ctx, state))
tools/testing/selftests/bpf/progs/ip_check_defrag.c
85
int defrag(struct bpf_nf_ctx *ctx)
tools/testing/selftests/bpf/progs/test_netfilter_link_attach.c
9
int nf_link_attach_test(struct bpf_nf_ctx *ctx)
tools/testing/selftests/bpf/progs/verifier_ctx.c
263
unaligned_access("netfilter", bpf_nf_ctx, skb);
tools/testing/selftests/bpf/progs/verifier_netfilter_ctx.c
21
: __imm_const(__bpf_nf_ctx_state, offsetof(struct bpf_nf_ctx, state))
tools/testing/selftests/bpf/progs/verifier_netfilter_ctx.c
35
: __imm_const(__bpf_nf_ctx_skb, offsetof(struct bpf_nf_ctx, skb))
tools/testing/selftests/bpf/progs/verifier_netfilter_ctx.c
49
: __imm_const(__bpf_nf_ctx_size, sizeof(struct bpf_nf_ctx))
tools/testing/selftests/bpf/progs/verifier_netfilter_ctx.c
64
: __imm_const(__bpf_nf_ctx_skb, offsetof(struct bpf_nf_ctx, skb))
tools/testing/selftests/bpf/progs/verifier_netfilter_ctx.c
74
int with_invalid_ctx_access_test5(struct bpf_nf_ctx *ctx)
tools/testing/selftests/bpf/progs/verifier_netfilter_ctx.c
86
int with_valid_ctx_access_test6(struct bpf_nf_ctx *ctx)