Home
last modified time | relevance | path

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

/linux-6.1.9/net/ipv4/
Dinet_connection_sock.c161 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()
Dinet_hashtables.c343 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()
Dudp.c150 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()
Dinet_timewait_sock.c206 tw->tw_reuseport = sk->sk_reuseport; in inet_twsk_alloc()
/linux-6.1.9/include/linux/
Dbpf_types.h65 BPF_PROG_TYPE(BPF_PROG_TYPE_SK_REUSEPORT, sk_reuseport,
/linux-6.1.9/net/core/
Dsock_reuseport.c692 if (!sk->sk_reuseport) in reuseport_attach_prog()
731 return sk->sk_reuseport ? -ENOENT : -EINVAL; in reuseport_detach_prog()
Dsock.c786 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()
Dfilter.c7188 if (unlikely(sk_fullsock(sk) && sk->sk_reuseport)) in BPF_CALL_3()
/linux-6.1.9/net/sctp/
Dinput.c755 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()
Dsocket.c8382 (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()
/linux-6.1.9/net/ipv6/
Dinet6_hashtables.c124 if (sk->sk_reuseport) { in lookup_reuseport()
Dudp.c172 if (sk->sk_reuseport && sk->sk_state != TCP_ESTABLISHED) { in lookup_reuseport()
/linux-6.1.9/net/mptcp/
Dsockopt.c312 sk->sk_reuseport = ssock->sk->sk_reuseport; in mptcp_setsockopt_sol_socket()
/linux-6.1.9/include/net/
Dtcp.h517 if (sk->sk_reuseport) { in tcp_synq_overflow()
541 if (sk->sk_reuseport) { in tcp_synq_no_recent_overflow()
Dsock.h379 #define sk_reuseport __sk_common.skc_reuseport macro
830 if (IS_ENABLED(CONFIG_IPV6) && sk->sk_reuseport && in sk_add_node_rcu()
/linux-6.1.9/net/bpf/
Dtest_run.c1583 if (ctx.selected_sk->sk_reuseport && !ctx.no_reuseport) { in bpf_prog_test_run_sk_lookup()
/linux-6.1.9/net/smc/
Daf_smc.c432 smc->clcsock->sk->sk_reuseport = sk->sk_reuseport; in smc_bind()