Home
last modified time | relevance | path

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

/linux/net/ipv4/
H A Dinet_connection_sock.c185 if (sk->sk_reuse && sk2->sk_reuse && in inet_bind_conflict()
346 attempt_half = (sk->sk_reuse == SK_CAN_REUSE) ? 1 : 0; in inet_csk_find_open_port()
464 bool reuse = sk->sk_reuse && sk->sk_state != TCP_LISTEN; in inet_csk_update_fastreuse()
518 bool reuse = sk->sk_reuse && sk->sk_state != TCP_LISTEN; in inet_csk_get_port()
559 if (sk->sk_reuse == SK_FORCE_REUSE || in inet_csk_get_port()
H A Dinet_timewait_sock.c205 tw->tw_reuse = sk->sk_reuse; in inet_twsk_alloc()
H A Dping.c121 (!sk2->sk_reuse || !sk->sk_reuse)) in ping_get_port()
H A Dudp.c154 (!sk2->sk_reuse || !sk->sk_reuse) && in udp_lib_lport_inuse()
191 (!sk2->sk_reuse || !sk->sk_reuse) && in udp_lib_lport_inuse2()
H A Dtcp.c3843 sk->sk_reuse = SK_FORCE_REUSE; in do_tcp_setsockopt()
3847 sk->sk_reuse = SK_NO_REUSE; in do_tcp_setsockopt()
3851 sk->sk_reuse = SK_NO_REUSE; in do_tcp_setsockopt()
/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_tracing_net.h129 #define sk_reuse __sk_common.skc_reuse macro
/linux/net/rds/
H A Dtcp_listen.c289 sock->sk->sk_reuse = SK_CAN_REUSE; in rds_tcp_listen_init()
/linux/net/mptcp/
H A Dsockopt.c314 sk->sk_reuse = ssk->sk_reuse; in mptcp_setsockopt_sol_socket()
/linux/net/sched/
H A Dem_meta.c299 dst->value = skb->sk->sk_reuse; in META_COLLECTOR()
/linux/drivers/scsi/
H A Discsi_tcp.c742 sk->sk_reuse = SK_CAN_REUSE; in iscsi_sw_tcp_conn_bind()
/linux/net/core/
H A Dsock.c782 sk->sk_reuse = SK_CAN_REUSE; in sock_set_reuseaddr()
1295 sk->sk_reuse = (valbool ? SK_CAN_REUSE : SK_NO_REUSE); in sk_setsockopt()
1727 v.val = sk->sk_reuse; in sk_getsockopt()
/linux/net/ipv6/
H A Daf_inet6.c201 sk->sk_reuse = SK_CAN_REUSE; in inet6_create()
/linux/net/can/j1939/
H A Dsocket.c407 jsk->sk.sk_reuse = 1; /* per default */ in j1939_sk_init()
/linux/net/sctp/
H A Dsocket.c8344 bool reuse = (sk->sk_reuse || sp->reuse); in sctp_get_port_local()
8443 (reuse && (sk2->sk_reuse || sp2->reuse) && in sctp_get_port_local()
8626 if (sk->sk_reuse || sctp_sk(sk)->reuse) in sctp_inet_listen()
9477 newsk->sk_reuse = sk->sk_reuse; in sctp_copy_sock()
/linux/net/sunrpc/
H A Dsvcsock.c1543 sock->sk->sk_reuse = SK_CAN_REUSE; /* allow address reuse */ in svc_create_socket()
/linux/net/smc/
H A Daf_smc.c438 smc->clcsock->sk->sk_reuse = sk->sk_reuse; in smc_bind()
/linux/fs/ocfs2/cluster/
H A Dtcp.c2003 sock->sk->sk_reuse = SK_CAN_REUSE; in o2net_open_listening_sock()
/linux/net/netfilter/ipvs/
H A Dip_vs_sync.c1538 sock->sk->sk_reuse = SK_CAN_REUSE; in make_receive_sock()
/linux/drivers/block/drbd/
H A Ddrbd_receiver.c724 s_listen->sk->sk_reuse = SK_CAN_REUSE; /* SO_REUSEADDR */ in prepare_listen_socket()
1026 sock.socket->sk->sk_reuse = SK_CAN_REUSE; /* SO_REUSEADDR */ in conn_connect()
1027 msock.socket->sk->sk_reuse = SK_CAN_REUSE; /* SO_REUSEADDR */ in conn_connect()
/linux/include/net/
H A Dsock.h367 #define sk_reuse __sk_common.skc_reuse macro