bpf_nf_ctx
struct bpf_nf_ctx, struct bpf_nf_ctx)
struct bpf_nf_ctx ctx = {
struct bpf_nf_ctx ctx = {
if (off < 0 || off >= sizeof(struct bpf_nf_ctx))
case bpf_ctx_range(struct bpf_nf_ctx, skb):
if (size != sizeof_field(struct bpf_nf_ctx, skb))
case bpf_ctx_range(struct bpf_nf_ctx, state):
if (size != sizeof_field(struct bpf_nf_ctx, state))
int defrag(struct bpf_nf_ctx *ctx)
int nf_link_attach_test(struct bpf_nf_ctx *ctx)
unaligned_access("netfilter", bpf_nf_ctx, skb);
: __imm_const(__bpf_nf_ctx_state, offsetof(struct bpf_nf_ctx, state))
: __imm_const(__bpf_nf_ctx_skb, offsetof(struct bpf_nf_ctx, skb))
: __imm_const(__bpf_nf_ctx_size, sizeof(struct bpf_nf_ctx))
: __imm_const(__bpf_nf_ctx_skb, offsetof(struct bpf_nf_ctx, skb))
int with_invalid_ctx_access_test5(struct bpf_nf_ctx *ctx)
int with_valid_ctx_access_test6(struct bpf_nf_ctx *ctx)