Searched refs:bpf_nf_ctx (Results 1 – 7 of 7) sorted by relevance
| /linux-6.15/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() 91 int with_valid_ctx_access_test6(struct bpf_nf_ctx *ctx) in with_valid_ctx_access_test6()
|
| 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 | 90 int defrag(struct bpf_nf_ctx *ctx) in defrag()
|
| /linux-6.15/net/netfilter/ |
| H A D | nf_bpf_link.c | 15 struct bpf_nf_ctx ctx = { in nf_hook_run_bpf() 295 if (off < 0 || off >= sizeof(struct bpf_nf_ctx)) in nf_is_valid_access() 302 case bpf_ctx_range(struct bpf_nf_ctx, skb): in nf_is_valid_access() 303 if (size != sizeof_field(struct bpf_nf_ctx, skb)) in nf_is_valid_access() 307 case bpf_ctx_range(struct bpf_nf_ctx, state): in nf_is_valid_access() 308 if (size != sizeof_field(struct bpf_nf_ctx, state)) in nf_is_valid_access()
|
| /linux-6.15/include/net/netfilter/ |
| H A D | nf_bpf_link.h | 3 struct bpf_nf_ctx { struct
|
| /linux-6.15/include/linux/ |
| H A D | bpf_types.h | 84 struct bpf_nf_ctx, struct bpf_nf_ctx)
|
| /linux-6.15/net/bpf/ |
| H A D | test_run.c | 1640 struct bpf_nf_ctx ctx = { in bpf_prog_test_run_nf()
|