Home
last modified time | relevance | path

Searched refs:sk_reuseport (Results 1 – 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/net/ipv4/
Dinet_connection_sock.c140 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()
Dinet_hashtables.c215 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()
Dinet_timewait_sock.c182 tw->tw_reuseport = sk->sk_reuseport; in inet_twsk_alloc()
Dudp.c148 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()
/kernel/linux/linux-5.10/net/core/
Dsock_reuseport.c332 if (sk_unhashed(sk) && sk->sk_reuseport) { in reuseport_attach_prog()
361 return sk->sk_reuseport ? -ENOENT : -EINVAL; in reuseport_detach_prog()
Dsock.c717 sk->sk_reuseport = true; in sock_set_reuseport()
869 sk->sk_reuseport = valbool; in sock_setsockopt()
1346 v.val = sk->sk_reuseport; in sock_getsockopt()
Dfilter.c6662 if (unlikely(sk_fullsock(sk) && sk->sk_reuseport)) in BPF_CALL_3()
/kernel/linux/linux-5.10/include/linux/
Dbpf_types.h65 BPF_PROG_TYPE(BPF_PROG_TYPE_SK_REUSEPORT, sk_reuseport,
/kernel/linux/linux-5.10/net/sctp/
Dinput.c732 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()
Dsocket.c8142 (pp->fastreuseport && sk->sk_reuseport && in sctp_get_port_local()
8163 (sk->sk_reuseport && sk2->sk_reuseport && in sctp_get_port_local()
8192 if (sk->sk_reuseport) { in sctp_get_port_local()
8204 (!sk->sk_reuseport || !uid_eq(pp->fastuid, uid))) in sctp_get_port_local()
/kernel/linux/linux-5.10/net/ipv6/
Dinet6_hashtables.c126 if (sk->sk_reuseport) { in lookup_reuseport()
Dudp.c155 if (sk->sk_reuseport && sk->sk_state != TCP_ESTABLISHED) { in lookup_reuseport()
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Dninet_hashtables.c396 reuseport = sk->sk_reuseport; in ninet_lhash2_lookup()
/kernel/linux/linux-5.10/include/net/
Dtcp.h489 if (sk->sk_reuseport) { in tcp_synq_overflow()
513 if (sk->sk_reuseport) { in tcp_synq_no_recent_overflow()
Dsock.h378 #define sk_reuseport __sk_common.skc_reuseport macro
786 if (IS_ENABLED(CONFIG_IPV6) && sk->sk_reuseport && in sk_add_node_rcu()
/kernel/linux/linux-5.10/net/mptcp/
Dprotocol.c2220 sk->sk_reuseport = ssock->sk->sk_reuseport; in mptcp_setsockopt_sol_socket()