Searched refs:selected_sk (Results 1 – 4 of 4) sorted by relevance
1373 struct sock *selected_sk; member1414 _ctx->selected_sk = _selected_sk; \1420 _selected_sk = _ctx->selected_sk; \1427 _ctx->selected_sk = _selected_sk; \1439 struct sock *selected_sk = NULL; in bpf_sk_lookup_run_v4() local1457 selected_sk = ctx.selected_sk; in bpf_sk_lookup_run_v4()1460 selected_sk = ERR_PTR(-ECONNREFUSED); in bpf_sk_lookup_run_v4()1464 *psk = selected_sk; in bpf_sk_lookup_run_v4()1477 struct sock *selected_sk = NULL; in bpf_sk_lookup_run_v6() local1495 selected_sk = ctx.selected_sk; in bpf_sk_lookup_run_v6()[all …]
2203 struct sock *selected_sk; member
1001 ctx.selected_sk = NULL; in bpf_prog_test_run_sk_lookup()1010 if (ctx.selected_sk) { in bpf_prog_test_run_sk_lookup()1011 if (ctx.selected_sk->sk_reuseport && !ctx.no_reuseport) { in bpf_prog_test_run_sk_lookup()1016 user_ctx->cookie = sock_gen_cookie(ctx.selected_sk); in bpf_prog_test_run_sk_lookup()
10204 reuse_kern->selected_sk = NULL; in bpf_init_reuseport_kern()10224 return reuse_kern.selected_sk; in bpf_run_sk_reuseport()10234 struct sock *selected_sk; in BPF_CALL_4() local10236 selected_sk = map->ops->map_lookup_elem(map, key); in BPF_CALL_4()10237 if (!selected_sk) in BPF_CALL_4()10243 if (sk_is_refcounted(selected_sk)) in BPF_CALL_4()10244 sock_put(selected_sk); in BPF_CALL_4()10259 if (sk->sk_protocol != selected_sk->sk_protocol) in BPF_CALL_4()10261 else if (sk->sk_family != selected_sk->sk_family) in BPF_CALL_4()10268 reuse_kern->selected_sk = selected_sk; in BPF_CALL_4()[all …]
Completed in 33 milliseconds