Searched refs:bpf_nf_ctx (Results 1 – 6 of 6) sorted by relevance
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | verifier_netfilter_ctx.c | 21 : __imm_const(__bpf_nf_ctx_state, offsetof(struct bpf_nf_ctx, state)) in with_invalid_ctx_access_test1() 35 : __imm_const(__bpf_nf_ctx_skb, offsetof(struct bpf_nf_ctx, skb)) in with_invalid_ctx_access_test2() 49 : __imm_const(__bpf_nf_ctx_size, sizeof(struct bpf_nf_ctx)) in with_invalid_ctx_access_test3() 64 : __imm_const(__bpf_nf_ctx_skb, offsetof(struct bpf_nf_ctx, skb)) in with_invalid_ctx_access_test4() 74 int with_invalid_ctx_access_test5(struct bpf_nf_ctx *ctx) in with_invalid_ctx_access_test5() 86 int with_valid_ctx_access_test6(struct bpf_nf_ctx *ctx)
|
| H A D | test_netfilter_link_attach.c | 9 int nf_link_attach_test(struct bpf_nf_ctx *ctx) in nf_link_attach_test()
|
| H A D | ip_check_defrag.c | 85 int defrag(struct bpf_nf_ctx *ctx) in handle_v6()
|
| H A D | verifier_ctx.c | 266 unaligned_access("netfilter", bpf_nf_ctx, skb); 860 no_rewrite_ctx_access("netfilter", netfilter, offsetof(struct bpf_nf_ctx, skb), u64);
|
| /linux/net/netfilter/ |
| H A D | nf_bpf_link.c | 15 struct bpf_nf_ctx ctx = { in nf_hook_run_bpf() 296 if (off < 0 || off >= sizeof(struct bpf_nf_ctx)) in nf_is_valid_access() 306 case bpf_ctx_range(struct bpf_nf_ctx, skb): in nf_is_valid_access() 307 if (size != sizeof_field(struct bpf_nf_ctx, skb)) in nf_is_valid_access() 311 case bpf_ctx_range(struct bpf_nf_ctx, state): in nf_is_valid_access() 312 if (size != sizeof_field(struct bpf_nf_ctx, state)) in nf_is_valid_access()
|
| /linux/include/net/netfilter/ |
| H A D | nf_bpf_link.h | 3 struct bpf_nf_ctx { struct
|