Searched refs:selected_sk (Results 1 – 4 of 4) sorted by relevance
1374 struct sock *selected_sk; member1415 _ctx->selected_sk = _selected_sk; \1419 if (_ret == SK_PASS && _ctx->selected_sk) { \1421 _selected_sk = _ctx->selected_sk; \1428 _ctx->selected_sk = _selected_sk; \1440 struct sock *selected_sk = NULL; in bpf_sk_lookup_run_v4() local1458 selected_sk = ctx.selected_sk; in bpf_sk_lookup_run_v4()1461 selected_sk = ERR_PTR(-ECONNREFUSED); in bpf_sk_lookup_run_v4()1465 *psk = selected_sk; in bpf_sk_lookup_run_v4()1478 struct sock *selected_sk = NULL; in bpf_sk_lookup_run_v6() local[all …]
2155 struct sock *selected_sk; member
995 ctx.selected_sk = NULL; in bpf_prog_test_run_sk_lookup()1004 if (ctx.selected_sk) { in bpf_prog_test_run_sk_lookup()1005 if (ctx.selected_sk->sk_reuseport && !ctx.no_reuseport) { in bpf_prog_test_run_sk_lookup()1010 user_ctx->cookie = sock_gen_cookie(ctx.selected_sk); in bpf_prog_test_run_sk_lookup()
10135 reuse_kern->selected_sk = NULL; in bpf_init_reuseport_kern()10155 return reuse_kern.selected_sk; in bpf_run_sk_reuseport()10165 struct sock *selected_sk; in BPF_CALL_4() local10167 selected_sk = map->ops->map_lookup_elem(map, key); in BPF_CALL_4()10168 if (!selected_sk) in BPF_CALL_4()10171 reuse = rcu_dereference(selected_sk->sk_reuseport_cb); in BPF_CALL_4()10174 if (sk_is_refcounted(selected_sk)) in BPF_CALL_4()10175 sock_put(selected_sk); in BPF_CALL_4()10190 if (sk->sk_protocol != selected_sk->sk_protocol) in BPF_CALL_4()10192 else if (sk->sk_family != selected_sk->sk_family) in BPF_CALL_4()[all …]