Searched refs:sk_reuseport (Results 1 – 16 of 16) sorted by relevance
140 bool reuseport = !!sk->sk_reuseport; in inet_csk_bind_conflict()170 reuseport && sk2->sk_reuseport && in inet_csk_bind_conflict()177 !reuseport || !sk2->sk_reuseport || in inet_csk_bind_conflict()285 if (!sk->sk_reuseport) in sk_reuseport_match()319 if (sk->sk_reuseport) { in inet_csk_update_fastreuse()334 if (sk->sk_reuseport) { in inet_csk_update_fastreuse()
227 if (sk->sk_reuseport) { in lookup_reuseport()582 sk2->sk_reuseport && uid_eq(uid, sock_i_uid(sk2)) && in inet_reuseport_add_sock()607 if (sk->sk_reuseport) { in __inet_hash()612 if (IS_ENABLED(CONFIG_IPV6) && sk->sk_reuseport && in __inet_hash()
181 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()
65 BPF_PROG_TYPE(BPF_PROG_TYPE_SK_REUSEPORT, sk_reuseport,
592 if (!sk->sk_reuseport) in reuseport_attach_prog()631 return sk->sk_reuseport ? -ENOENT : -EINVAL; in reuseport_detach_prog()
784 sk->sk_reuseport = true; in sock_set_reuseport()1082 sk->sk_reuseport = valbool; in sock_setsockopt()1592 v.val = sk->sk_reuseport; in sock_getsockopt()
5107 sk->sk_reuseport = valbool; in _bpf_setsockopt()5292 *((int *)optval) = sk->sk_reuseport; in _bpf_getsockopt()7185 if (unlikely(sk_fullsock(sk) && sk->sk_reuseport)) in BPF_CALL_3()
755 if (sk->sk_reuseport) { in __sctp_hash_endpoint()769 !sk2->sk_reuseport) in __sctp_hash_endpoint()874 if (sk->sk_reuseport) { in __sctp_rcv_lookup_endpoint()
8384 (pp->fastreuseport && sk->sk_reuseport && in sctp_get_port_local()8405 (sk->sk_reuseport && sk2->sk_reuseport && in sctp_get_port_local()8434 if (sk->sk_reuseport) { in sctp_get_port_local()8446 (!sk->sk_reuseport || !uid_eq(pp->fastuid, uid))) in sctp_get_port_local()
126 if (sk->sk_reuseport) { in lookup_reuseport()
158 if (sk->sk_reuseport && sk->sk_state != TCP_ESTABLISHED) { in lookup_reuseport()
312 sk->sk_reuseport = ssock->sk->sk_reuseport; in mptcp_setsockopt_sol_socket()
507 if (sk->sk_reuseport) { in tcp_synq_overflow()531 if (sk->sk_reuseport) { in tcp_synq_no_recent_overflow()
378 #define sk_reuseport __sk_common.skc_reuseport macro808 if (IS_ENABLED(CONFIG_IPV6) && sk->sk_reuseport && in sk_add_node_rcu()
1567 if (ctx.selected_sk->sk_reuseport && !ctx.no_reuseport) { in bpf_prog_test_run_sk_lookup()