Searched refs:selected_sk (Results 1 – 4 of 4) sorted by relevance
1570 struct sock *selected_sk; member1612 _ctx->selected_sk = _selected_sk; \1616 if (_ret == SK_PASS && _ctx->selected_sk) { \1618 _selected_sk = _ctx->selected_sk; \1625 _ctx->selected_sk = _selected_sk; \1637 struct sock *selected_sk = NULL; in bpf_sk_lookup_run_v4() local1656 selected_sk = ctx.selected_sk; in bpf_sk_lookup_run_v4()1659 selected_sk = ERR_PTR(-ECONNREFUSED); in bpf_sk_lookup_run_v4()1663 *psk = selected_sk; in bpf_sk_lookup_run_v4()1676 struct sock *selected_sk = NULL; in bpf_sk_lookup_run_v6() local[all …]
3412 struct sock *selected_sk; member
1502 ctx.selected_sk = NULL; in bpf_prog_test_run_sk_lookup()1511 if (ctx.selected_sk) { in bpf_prog_test_run_sk_lookup()1512 if (ctx.selected_sk->sk_reuseport && !ctx.no_reuseport) { in bpf_prog_test_run_sk_lookup()1517 user_ctx->cookie = sock_gen_cookie(ctx.selected_sk); in bpf_prog_test_run_sk_lookup()
11223 reuse_kern->selected_sk = NULL; in bpf_init_reuseport_kern()11243 return reuse_kern.selected_sk; in bpf_run_sk_reuseport()11253 struct sock *selected_sk; in BPF_CALL_4() local11256 selected_sk = map->ops->map_lookup_elem(map, key); in BPF_CALL_4()11257 if (!selected_sk) in BPF_CALL_4()11260 reuse = rcu_dereference(selected_sk->sk_reuseport_cb); in BPF_CALL_4()11276 if (sk->sk_protocol != selected_sk->sk_protocol) { in BPF_CALL_4()11278 } else if (sk->sk_family != selected_sk->sk_family) { in BPF_CALL_4()11287 reuse_kern->selected_sk = selected_sk; in BPF_CALL_4()11292 if (sk_is_refcounted(selected_sk)) in BPF_CALL_4()[all …]