Searched refs:nsk (Results 1 – 1 of 1) sorted by relevance
192 const struct sock *nsk, in reuseport_array_update_check() argument203 if (nsk->sk_protocol != IPPROTO_UDP && nsk->sk_protocol != IPPROTO_TCP) in reuseport_array_update_check()206 if (nsk->sk_family != AF_INET && nsk->sk_family != AF_INET6) in reuseport_array_update_check()209 if (nsk->sk_type != SOCK_STREAM && nsk->sk_type != SOCK_DGRAM) in reuseport_array_update_check()220 if (!sock_flag(nsk, SOCK_RCU_FREE) || !sk_hashed(nsk) || !nsk_reuse) in reuseport_array_update_check()224 if (READ_ONCE(nsk->sk_user_data)) in reuseport_array_update_check()239 struct sock *free_osk = NULL, *osk, *nsk; in bpf_fd_reuseport_array_update_elem() local266 nsk = socket->sk; in bpf_fd_reuseport_array_update_elem()267 if (!nsk) { in bpf_fd_reuseport_array_update_elem()273 err = reuseport_array_update_check(array, nsk, in bpf_fd_reuseport_array_update_elem()[all …]