Searched refs:selected_sk (Results 1 – 3 of 3) sorted by relevance
1325 struct sock *selected_sk; member1366 _ctx->selected_sk = _selected_sk; \1370 if (_ret == SK_PASS && _ctx->selected_sk) { \1372 _selected_sk = _ctx->selected_sk; \1379 _ctx->selected_sk = _selected_sk; \1391 struct sock *selected_sk = NULL; in bpf_sk_lookup_run_v4() local1409 selected_sk = ctx.selected_sk; in bpf_sk_lookup_run_v4()1412 selected_sk = ERR_PTR(-ECONNREFUSED); in bpf_sk_lookup_run_v4()1416 *psk = selected_sk; in bpf_sk_lookup_run_v4()1429 struct sock *selected_sk = NULL; in bpf_sk_lookup_run_v6() local[all …]
2022 struct sock *selected_sk; member
9937 reuse_kern->selected_sk = NULL; in bpf_init_reuseport_kern()9955 return reuse_kern.selected_sk; in bpf_run_sk_reuseport()9965 struct sock *selected_sk; in BPF_CALL_4() local9967 selected_sk = map->ops->map_lookup_elem(map, key); in BPF_CALL_4()9968 if (!selected_sk) in BPF_CALL_4()9971 reuse = rcu_dereference(selected_sk->sk_reuseport_cb); in BPF_CALL_4()9974 if (sk_is_refcounted(selected_sk)) in BPF_CALL_4()9975 sock_put(selected_sk); in BPF_CALL_4()9990 if (sk->sk_protocol != selected_sk->sk_protocol) in BPF_CALL_4()9992 else if (sk->sk_family != selected_sk->sk_family) in BPF_CALL_4()[all …]