Searched refs:bpf_sk_lookup (Results 1 – 10 of 10) sorted by relevance
| /linux-6.15/tools/testing/selftests/bpf/verifier/ |
| H A D | ctx_sk_lookup.c | 6 offsetof(struct bpf_sk_lookup, family)), 8 offsetof(struct bpf_sk_lookup, family) + 1), 10 offsetof(struct bpf_sk_lookup, family) + 2), 12 offsetof(struct bpf_sk_lookup, family) + 3), 15 offsetof(struct bpf_sk_lookup, family)), 20 offsetof(struct bpf_sk_lookup, family)), 24 offsetof(struct bpf_sk_lookup, protocol)), 252 offsetof(struct bpf_sk_lookup, sk)), 391 offsetof(struct bpf_sk_lookup, sk)), 431 sizeof(struct bpf_sk_lookup)), [all …]
|
| /linux-6.15/tools/testing/selftests/bpf/progs/ |
| H A D | test_sk_lookup.c | 76 int lookup_pass(struct bpf_sk_lookup *ctx) in lookup_pass() 82 int lookup_drop(struct bpf_sk_lookup *ctx) in lookup_drop() 88 int check_ifindex(struct bpf_sk_lookup *ctx) in check_ifindex() 109 int redir_port(struct bpf_sk_lookup *ctx) in redir_port() 128 int redir_ip4(struct bpf_sk_lookup *ctx) in redir_ip4() 151 int redir_ip6(struct bpf_sk_lookup *ctx) in redir_ip6() 176 int select_sock_a(struct bpf_sk_lookup *ctx) in select_sock_a() 217 int sk_assign_eexist(struct bpf_sk_lookup *ctx) in sk_assign_eexist() 282 int sk_assign_null(struct bpf_sk_lookup *ctx) in sk_assign_null() 325 int access_ctx_sk(struct bpf_sk_lookup *ctx) in access_ctx_sk() [all …]
|
| H A D | verifier_sockmap_mutate.c | 134 int test_sk_lookup(struct bpf_sk_lookup *ctx) in test_sk_lookup()
|
| /linux-6.15/Documentation/bpf/ |
| H A D | prog_sk_lookup.rst | 80 In its context, an instance of ``struct bpf_sk_lookup``, BPF sk_lookup program 89 Refer to ``struct bpf_sk_lookup`` declaration in ``linux/bpf.h`` user API
|
| /linux-6.15/include/linux/ |
| H A D | bpf_types.h | 68 struct bpf_sk_lookup, struct bpf_sk_lookup_kern)
|
| /linux-6.15/net/core/ |
| H A D | filter.c | 11632 case offsetof(struct bpf_sk_lookup, sk): in sk_lookup_is_valid_access() 11636 case bpf_ctx_range(struct bpf_sk_lookup, family): in sk_lookup_is_valid_access() 11674 case offsetof(struct bpf_sk_lookup, sk): in sk_lookup_convert_ctx_access() 11679 case offsetof(struct bpf_sk_lookup, family): in sk_lookup_convert_ctx_access() 11685 case offsetof(struct bpf_sk_lookup, protocol): in sk_lookup_convert_ctx_access() 11691 case offsetof(struct bpf_sk_lookup, remote_ip4): in sk_lookup_convert_ctx_access() 11697 case offsetof(struct bpf_sk_lookup, local_ip4): in sk_lookup_convert_ctx_access() 11703 case bpf_ctx_range_till(struct bpf_sk_lookup, in sk_lookup_convert_ctx_access() 11719 case bpf_ctx_range_till(struct bpf_sk_lookup, in sk_lookup_convert_ctx_access() 11735 case offsetof(struct bpf_sk_lookup, remote_port): in sk_lookup_convert_ctx_access() [all …]
|
| /linux-6.15/tools/testing/selftests/bpf/prog_tests/ |
| H A D | sk_lookup.c | 200 static int fill_sk_lookup_ctx(struct bpf_sk_lookup *ctx, const char *local_ip, __u16 local_port, in fill_sk_lookup_ctx() 1030 struct bpf_sk_lookup ctx; in run_sk_assign()
|
| /linux-6.15/tools/include/uapi/linux/ |
| H A D | bpf.h | 7425 struct bpf_sk_lookup { struct
|
| /linux-6.15/include/uapi/linux/ |
| H A D | bpf.h | 7425 struct bpf_sk_lookup { struct
|
| /linux-6.15/net/bpf/ |
| H A D | test_run.c | 1437 struct bpf_sk_lookup *user_ctx; in bpf_prog_test_run_sk_lookup()
|