Home
last modified time | relevance | path

Searched refs:sk_reuse (Results 1 – 21 of 21) sorted by relevance

/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dbpf_tracing_net.h81 #define sk_reuse __sk_common.skc_reuse macro
/linux-6.1.9/net/ipv4/
Dinet_connection_sock.c159 if (sk->sk_reuse && sk2->sk_reuse && in inet_bind_conflict()
317 attempt_half = (sk->sk_reuse == SK_CAN_REUSE) ? 1 : 0; in inet_csk_find_open_port()
435 bool reuse = sk->sk_reuse && sk->sk_state != TCP_LISTEN; in inet_csk_update_fastreuse()
489 bool reuse = sk->sk_reuse && sk->sk_state != TCP_LISTEN; in inet_csk_get_port()
530 if (sk->sk_reuse == SK_FORCE_REUSE || in inet_csk_get_port()
Dinet_timewait_sock.c205 tw->tw_reuse = sk->sk_reuse; in inet_twsk_alloc()
Dping.c127 (!sk2->sk_reuse || !sk->sk_reuse)) in ping_get_port()
Dudp.c146 (!sk2->sk_reuse || !sk->sk_reuse) && in udp_lib_lport_inuse()
183 (!sk2->sk_reuse || !sk->sk_reuse) && in udp_lib_lport_inuse2()
Dtcp.c3605 sk->sk_reuse = SK_FORCE_REUSE; in do_tcp_setsockopt()
3609 sk->sk_reuse = SK_NO_REUSE; in do_tcp_setsockopt()
3613 sk->sk_reuse = SK_NO_REUSE; in do_tcp_setsockopt()
Daf_inet.c325 sk->sk_reuse = SK_CAN_REUSE; in inet_create()
/linux-6.1.9/net/rds/
Dtcp_listen.c283 sock->sk->sk_reuse = SK_CAN_REUSE; in rds_tcp_listen_init()
/linux-6.1.9/net/mptcp/
Dsockopt.c314 sk->sk_reuse = ssock->sk->sk_reuse; in mptcp_setsockopt_sol_socket()
/linux-6.1.9/net/sched/
Dem_meta.c299 dst->value = skb->sk->sk_reuse; in META_COLLECTOR()
/linux-6.1.9/drivers/scsi/
Discsi_tcp.c738 sk->sk_reuse = SK_CAN_REUSE; in iscsi_sw_tcp_conn_bind()
/linux-6.1.9/net/core/
Dsock.c778 sk->sk_reuse = SK_CAN_REUSE; in sock_set_reuseaddr()
1116 sk->sk_reuse = (valbool ? SK_CAN_REUSE : SK_NO_REUSE); in sk_setsockopt()
1635 v.val = sk->sk_reuse; in sk_getsockopt()
/linux-6.1.9/net/ipv6/
Daf_inet6.c199 sk->sk_reuse = SK_CAN_REUSE; in inet6_create()
/linux-6.1.9/net/can/j1939/
Dsocket.c396 jsk->sk.sk_reuse = 1; /* per default */ in j1939_sk_init()
/linux-6.1.9/net/sunrpc/
Dsvcsock.c1460 sock->sk->sk_reuse = SK_CAN_REUSE; /* allow address reuse */ in svc_create_socket()
/linux-6.1.9/net/sctp/
Dsocket.c8303 bool reuse = (sk->sk_reuse || sp->reuse); in sctp_get_port_local()
8401 (reuse && (sk2->sk_reuse || sp2->reuse) && in sctp_get_port_local()
8572 if (sk->sk_reuse || sctp_sk(sk)->reuse) in sctp_inet_listen()
9426 newsk->sk_reuse = sk->sk_reuse; in sctp_copy_sock()
/linux-6.1.9/drivers/block/drbd/
Ddrbd_receiver.c725 s_listen->sk->sk_reuse = SK_CAN_REUSE; /* SO_REUSEADDR */ in prepare_listen_socket()
1027 sock.socket->sk->sk_reuse = SK_CAN_REUSE; /* SO_REUSEADDR */ in conn_connect()
1028 msock.socket->sk->sk_reuse = SK_CAN_REUSE; /* SO_REUSEADDR */ in conn_connect()
/linux-6.1.9/net/smc/
Daf_smc.c431 smc->clcsock->sk->sk_reuse = sk->sk_reuse; in smc_bind()
/linux-6.1.9/fs/ocfs2/cluster/
Dtcp.c1993 sock->sk->sk_reuse = SK_CAN_REUSE; in o2net_open_listening_sock()
/linux-6.1.9/net/netfilter/ipvs/
Dip_vs_sync.c1544 sock->sk->sk_reuse = SK_CAN_REUSE; in make_receive_sock()
/linux-6.1.9/include/net/
Dsock.h378 #define sk_reuse __sk_common.skc_reuse macro