Searched refs:sk_reuseport (Results 1 – 16 of 16) sorted by relevance
140 bool reuseport = !!sk->sk_reuseport; in inet_csk_bind_conflict()163 reuseport && sk2->sk_reuseport && in inet_csk_bind_conflict()170 !reuseport || !sk2->sk_reuseport || in inet_csk_bind_conflict()278 if (!sk->sk_reuseport) in sk_reuseport_match()312 if (sk->sk_reuseport) { in inet_csk_update_fastreuse()327 if (sk->sk_reuseport) { in inet_csk_update_fastreuse()
215 if (sk->sk_reuseport && sk->sk_family == AF_INET6) in inet_hash2()272 if (sk->sk_reuseport) { in lookup_reuseport()628 sk2->sk_reuseport && uid_eq(uid, sock_i_uid(sk2)) && in inet_reuseport_add_sock()653 if (sk->sk_reuseport) { in __inet_hash()658 if (IS_ENABLED(CONFIG_IPV6) && sk->sk_reuseport && in __inet_hash()
182 tw->tw_reuseport = sk->sk_reuseport; in inet_twsk_alloc()
148 if (sk2->sk_reuseport && sk->sk_reuseport && in udp_lib_lport_inuse()185 if (sk2->sk_reuseport && sk->sk_reuseport && in udp_lib_lport_inuse2()212 sk2->sk_reuseport && uid_eq(uid, sock_i_uid(sk2)) && in udp_reuseport_add_sock()312 if (sk->sk_reuseport && in udp_lib_get_port()326 if (IS_ENABLED(CONFIG_IPV6) && sk->sk_reuseport && in udp_lib_get_port()421 if (sk->sk_reuseport && sk->sk_state != TCP_ESTABLISHED) { in lookup_reuseport()
332 if (sk_unhashed(sk) && sk->sk_reuseport) { in reuseport_attach_prog()361 return sk->sk_reuseport ? -ENOENT : -EINVAL; in reuseport_detach_prog()
717 sk->sk_reuseport = true; in sock_set_reuseport()869 sk->sk_reuseport = valbool; in sock_setsockopt()1347 v.val = sk->sk_reuseport; in sock_getsockopt()
6662 if (unlikely(sk_fullsock(sk) && sk->sk_reuseport)) in BPF_CALL_3()
65 BPF_PROG_TYPE(BPF_PROG_TYPE_SK_REUSEPORT, sk_reuseport,
732 if (sk->sk_reuseport) { in __sctp_hash_endpoint()746 !sk2->sk_reuseport) in __sctp_hash_endpoint()856 if (sk->sk_reuseport) { in __sctp_rcv_lookup_endpoint()
8166 (pp->fastreuseport && sk->sk_reuseport && in sctp_get_port_local()8187 (sk->sk_reuseport && sk2->sk_reuseport && in sctp_get_port_local()8216 if (sk->sk_reuseport) { in sctp_get_port_local()8228 (!sk->sk_reuseport || !uid_eq(pp->fastuid, uid))) in sctp_get_port_local()
126 if (sk->sk_reuseport) { in lookup_reuseport()
168 if (sk->sk_reuseport && sk->sk_state != TCP_ESTABLISHED) { in lookup_reuseport()
396 reuseport = sk->sk_reuseport; in ninet_lhash2_lookup()
379 #define sk_reuseport __sk_common.skc_reuseport macro788 if (IS_ENABLED(CONFIG_IPV6) && sk->sk_reuseport && in sk_add_node_rcu()
490 if (sk->sk_reuseport) { in tcp_synq_overflow()514 if (sk->sk_reuseport) { in tcp_synq_no_recent_overflow()
2220 sk->sk_reuseport = ssock->sk->sk_reuseport; in mptcp_setsockopt_sol_socket()