Searched refs:bpf_sk_lookup (Results 1 - 8 of 8) sorted by relevance
/linux-master/tools/testing/selftests/bpf/verifier/ |
H A D | ctx_sk_lookup.c | 2 "valid 1,2,4,8-byte reads from bpf_sk_lookup", 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, protoco [all...] |
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_sk_lookup.c | 76 int lookup_pass(struct bpf_sk_lookup *ctx) 82 int lookup_drop(struct bpf_sk_lookup *ctx) 88 int check_ifindex(struct bpf_sk_lookup *ctx) 109 int redir_port(struct bpf_sk_lookup *ctx) 128 int redir_ip4(struct bpf_sk_lookup *ctx) 151 int redir_ip6(struct bpf_sk_lookup *ctx) 176 int select_sock_a(struct bpf_sk_lookup *ctx) 191 int select_sock_a_no_reuseport(struct bpf_sk_lookup *ctx) 217 int sk_assign_eexist(struct bpf_sk_lookup *ctx) 250 int sk_assign_replace_flag(struct bpf_sk_lookup *ct [all...] |
/linux-master/include/linux/ |
H A D | bpf_types.h | 68 struct bpf_sk_lookup, struct bpf_sk_lookup_kern)
|
/linux-master/net/core/ |
H A D | filter.c | 6744 bpf_sk_lookup(struct sk_buff *skb, struct bpf_sock_tuple *tuple, u32 len, function 6794 return (unsigned long)bpf_sk_lookup(skb, tuple, len, IPPROTO_TCP, 6813 return (unsigned long)bpf_sk_lookup(skb, tuple, len, IPPROTO_UDP, 11462 if (off < 0 || off >= sizeof(struct bpf_sk_lookup)) 11470 case offsetof(struct bpf_sk_lookup, sk): 11474 case bpf_ctx_range(struct bpf_sk_lookup, family): 11475 case bpf_ctx_range(struct bpf_sk_lookup, protocol): 11476 case bpf_ctx_range(struct bpf_sk_lookup, remote_ip4): 11477 case bpf_ctx_range(struct bpf_sk_lookup, local_ip4): 11478 case bpf_ctx_range_till(struct bpf_sk_lookup, remote_ip 11541 bpf_ctx_range_till(struct bpf_sk_lookup, remote_ip6[0], remote_ip6[3]) argument 11557 bpf_ctx_range_till(struct bpf_sk_lookup, local_ip6[0], local_ip6[3]) argument [all...] |
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | sk_lookup.c | 254 static int fill_sk_lookup_ctx(struct bpf_sk_lookup *ctx, const char *local_ip, __u16 local_port, 1087 struct bpf_sk_lookup ctx;
|
/linux-master/include/uapi/linux/ |
H A D | bpf.h | 4364 * long bpf_sk_assign(struct bpf_sk_lookup *ctx, struct bpf_sock *sk, u64 flags) 6160 /* BPF_FUNC_sk_assign flags in bpf_sk_lookup context. */ 7336 struct bpf_sk_lookup { struct
|
/linux-master/tools/include/uapi/linux/ |
H A D | bpf.h | 4364 * long bpf_sk_assign(struct bpf_sk_lookup *ctx, struct bpf_sock *sk, u64 flags) 6160 /* BPF_FUNC_sk_assign flags in bpf_sk_lookup context. */ 7336 struct bpf_sk_lookup { struct
|
/linux-master/net/bpf/ |
H A D | test_run.c | 1388 struct bpf_sk_lookup *user_ctx;
|
Completed in 377 milliseconds