Searched refs:sk_reuseport (Results 1 – 17 of 17) sorted by relevance
161 if (!relax || (!reuseport_ok && sk->sk_reuseport && in inet_bind_conflict()162 sk2->sk_reuseport && reuseport_cb_ok && in inet_bind_conflict()166 } else if (!reuseport_ok || !sk->sk_reuseport || in inet_bind_conflict()167 !sk2->sk_reuseport || !reuseport_cb_ok || in inet_bind_conflict()405 if (!sk->sk_reuseport) in sk_reuseport_match()439 if (sk->sk_reuseport) { in inet_csk_update_fastreuse()454 if (sk->sk_reuseport) { in inet_csk_update_fastreuse()
343 if (sk->sk_reuseport) { in lookup_reuseport()711 sk2->sk_reuseport && uid_eq(uid, sock_i_uid(sk2)) && in inet_reuseport_add_sock()736 if (sk->sk_reuseport) { in __inet_hash()741 if (IS_ENABLED(CONFIG_IPV6) && sk->sk_reuseport && in __inet_hash()
150 if (sk2->sk_reuseport && sk->sk_reuseport && in udp_lib_lport_inuse()187 if (sk2->sk_reuseport && sk->sk_reuseport && in udp_lib_lport_inuse2()214 sk2->sk_reuseport && uid_eq(uid, sock_i_uid(sk2)) && in udp_reuseport_add_sock()314 if (sk->sk_reuseport && in udp_lib_get_port()328 if (IS_ENABLED(CONFIG_IPV6) && sk->sk_reuseport && in udp_lib_get_port()423 if (sk->sk_reuseport && sk->sk_state != TCP_ESTABLISHED) { in lookup_reuseport()
206 tw->tw_reuseport = sk->sk_reuseport; in inet_twsk_alloc()
65 BPF_PROG_TYPE(BPF_PROG_TYPE_SK_REUSEPORT, sk_reuseport,
692 if (!sk->sk_reuseport) in reuseport_attach_prog()731 return sk->sk_reuseport ? -ENOENT : -EINVAL; in reuseport_detach_prog()
786 sk->sk_reuseport = true; in sock_set_reuseport()1119 sk->sk_reuseport = valbool; in sk_setsockopt()1639 v.val = sk->sk_reuseport; in sk_getsockopt()
7188 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()
8382 (pp->fastreuseport && sk->sk_reuseport && in sctp_get_port_local()8403 (sk->sk_reuseport && sk2->sk_reuseport && in sctp_get_port_local()8432 if (sk->sk_reuseport) { in sctp_get_port_local()8444 (!sk->sk_reuseport || !uid_eq(pp->fastuid, uid))) in sctp_get_port_local()
124 if (sk->sk_reuseport) { in lookup_reuseport()
172 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()
517 if (sk->sk_reuseport) { in tcp_synq_overflow()541 if (sk->sk_reuseport) { in tcp_synq_no_recent_overflow()
379 #define sk_reuseport __sk_common.skc_reuseport macro830 if (IS_ENABLED(CONFIG_IPV6) && sk->sk_reuseport && in sk_add_node_rcu()
1583 if (ctx.selected_sk->sk_reuseport && !ctx.no_reuseport) { in bpf_prog_test_run_sk_lookup()
432 smc->clcsock->sk->sk_reuseport = sk->sk_reuseport; in smc_bind()