Searched refs:bpf_sk_lookup (Results 1 – 7 of 7) sorted by relevance
| /Linux-v5.10/tools/testing/selftests/bpf/verifier/ |
| 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)), 17 offsetof(struct bpf_sk_lookup, family) + 2), 20 offsetof(struct bpf_sk_lookup, family)), 24 offsetof(struct bpf_sk_lookup, protocol)), 26 offsetof(struct bpf_sk_lookup, protocol) + 1), 28 offsetof(struct bpf_sk_lookup, protocol) + 2), [all …]
|
| /Linux-v5.10/tools/testing/selftests/bpf/progs/ |
| D | test_sk_lookup.c | 72 int lookup_pass(struct bpf_sk_lookup *ctx) in lookup_pass() 78 int lookup_drop(struct bpf_sk_lookup *ctx) in lookup_drop() 97 int redir_port(struct bpf_sk_lookup *ctx) in redir_port() 116 int redir_ip4(struct bpf_sk_lookup *ctx) in redir_ip4() 139 int redir_ip6(struct bpf_sk_lookup *ctx) in redir_ip6() 164 int select_sock_a(struct bpf_sk_lookup *ctx) in select_sock_a() 179 int select_sock_a_no_reuseport(struct bpf_sk_lookup *ctx) in select_sock_a_no_reuseport() 205 int sk_assign_eexist(struct bpf_sk_lookup *ctx) in sk_assign_eexist() 238 int sk_assign_replace_flag(struct bpf_sk_lookup *ctx) in sk_assign_replace_flag() 270 int sk_assign_null(struct bpf_sk_lookup *ctx) in sk_assign_null() [all …]
|
| /Linux-v5.10/Documentation/bpf/ |
| 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-v5.10/include/linux/ |
| D | bpf_types.h | 68 struct bpf_sk_lookup, struct bpf_sk_lookup_kern)
|
| /Linux-v5.10/net/core/ |
| D | filter.c | 6010 bpf_sk_lookup(struct sk_buff *skb, struct bpf_sock_tuple *tuple, u32 len, in bpf_sk_lookup() function 6049 return (unsigned long)bpf_sk_lookup(skb, tuple, len, IPPROTO_TCP, in BPF_CALL_5() 6068 return (unsigned long)bpf_sk_lookup(skb, tuple, len, IPPROTO_UDP, in BPF_CALL_5() 10158 if (off < 0 || off >= sizeof(struct bpf_sk_lookup)) in sk_lookup_is_valid_access() 10166 case offsetof(struct bpf_sk_lookup, sk): in sk_lookup_is_valid_access() 10170 case bpf_ctx_range(struct bpf_sk_lookup, family): in sk_lookup_is_valid_access() 10171 case bpf_ctx_range(struct bpf_sk_lookup, protocol): in sk_lookup_is_valid_access() 10172 case bpf_ctx_range(struct bpf_sk_lookup, remote_ip4): in sk_lookup_is_valid_access() 10173 case bpf_ctx_range(struct bpf_sk_lookup, local_ip4): in sk_lookup_is_valid_access() 10174 case bpf_ctx_range_till(struct bpf_sk_lookup, remote_ip6[0], remote_ip6[3]): in sk_lookup_is_valid_access() [all …]
|
| /Linux-v5.10/tools/include/uapi/linux/ |
| D | bpf.h | 5008 struct bpf_sk_lookup { struct
|
| /Linux-v5.10/include/uapi/linux/ |
| D | bpf.h | 5008 struct bpf_sk_lookup { struct
|