Home
last modified time | relevance | path

Searched refs:bpf_sk_lookup (Results 1 – 4 of 4) sorted by relevance

/tools/testing/selftests/bpf/verifier/
Dctx_sk_lookup.c6 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 …]
/tools/testing/selftests/bpf/progs/
Dtest_sk_lookup.c76 int lookup_pass(struct bpf_sk_lookup *ctx) in lookup_pass()
82 int lookup_drop(struct bpf_sk_lookup *ctx) in lookup_drop()
101 int redir_port(struct bpf_sk_lookup *ctx) in redir_port()
120 int redir_ip4(struct bpf_sk_lookup *ctx) in redir_ip4()
143 int redir_ip6(struct bpf_sk_lookup *ctx) in redir_ip6()
168 int select_sock_a(struct bpf_sk_lookup *ctx) in select_sock_a()
183 int select_sock_a_no_reuseport(struct bpf_sk_lookup *ctx) in select_sock_a_no_reuseport()
209 int sk_assign_eexist(struct bpf_sk_lookup *ctx) in sk_assign_eexist()
242 int sk_assign_replace_flag(struct bpf_sk_lookup *ctx) in sk_assign_replace_flag()
274 int sk_assign_null(struct bpf_sk_lookup *ctx) in sk_assign_null()
[all …]
/tools/testing/selftests/bpf/prog_tests/
Dsk_lookup.c255 static int fill_sk_lookup_ctx(struct bpf_sk_lookup *ctx, const char *local_ip, __u16 local_port, in fill_sk_lookup_ctx()
1057 struct bpf_sk_lookup ctx; in run_sk_assign()
/tools/include/uapi/linux/
Dbpf.h6221 struct bpf_sk_lookup { struct