Searched refs:sk_reuse (Results 1 – 21 of 21) sorted by relevance
139 bool reuse = sk->sk_reuse; in inet_csk_bind_conflict()159 if (reuse && sk2->sk_reuse && in inet_csk_bind_conflict()201 attempt_half = (sk->sk_reuse == SK_CAN_REUSE) ? 1 : 0; in inet_csk_find_open_port()308 bool reuse = sk->sk_reuse && sk->sk_state != TCP_LISTEN; in inet_csk_update_fastreuse()361 bool reuse = sk->sk_reuse && sk->sk_state != TCP_LISTEN; in inet_csk_get_port()393 if (sk->sk_reuse == SK_FORCE_REUSE) in inet_csk_get_port()
181 tw->tw_reuse = sk->sk_reuse; in inet_twsk_alloc()
121 (!sk2->sk_reuse || !sk->sk_reuse)) in ping_get_port()
144 (!sk2->sk_reuse || !sk->sk_reuse) && in udp_lib_lport_inuse()181 (!sk2->sk_reuse || !sk->sk_reuse) && in udp_lib_lport_inuse2()
3316 sk->sk_reuse = SK_FORCE_REUSE; in do_tcp_setsockopt()3320 sk->sk_reuse = SK_NO_REUSE; in do_tcp_setsockopt()3324 sk->sk_reuse = SK_NO_REUSE; in do_tcp_setsockopt()
331 sk->sk_reuse = SK_CAN_REUSE; in inet_create()
280 sock->sk->sk_reuse = SK_CAN_REUSE; in rds_tcp_listen_init()
193 sk->sk_reuse = SK_CAN_REUSE; in ninet_create()
299 dst->value = skb->sk->sk_reuse; in META_COLLECTOR()
693 sk->sk_reuse = SK_CAN_REUSE; in iscsi_sw_tcp_conn_bind()
709 sk->sk_reuse = SK_CAN_REUSE; in sock_set_reuseaddr()866 sk->sk_reuse = (valbool ? SK_CAN_REUSE : SK_NO_REUSE); in sock_setsockopt()1343 v.val = sk->sk_reuse; in sock_getsockopt()
198 sk->sk_reuse = SK_CAN_REUSE; in inet6_create()
396 jsk->sk.sk_reuse = 1; /* per default */ in j1939_sk_init()
297 smc->clcsock->sk->sk_reuse = sk->sk_reuse; in smc_bind()
2222 sk->sk_reuse = ssock->sk->sk_reuse; in mptcp_setsockopt_sol_socket()
1466 sock->sk->sk_reuse = SK_CAN_REUSE; /* allow address reuse */ in svc_create_socket()
8087 bool reuse = (sk->sk_reuse || sp->reuse); in sctp_get_port_local()8185 (reuse && (sk2->sk_reuse || sp2->reuse) && in sctp_get_port_local()8356 if (sk->sk_reuse || sctp_sk(sk)->reuse) in sctp_inet_listen()9214 newsk->sk_reuse = sk->sk_reuse; in sctp_copy_sock()
1544 sock->sk->sk_reuse = SK_CAN_REUSE; in make_receive_sock()
1996 sock->sk->sk_reuse = SK_CAN_REUSE; in o2net_open_listening_sock()
723 s_listen->sk->sk_reuse = SK_CAN_REUSE; /* SO_REUSEADDR */ in prepare_listen_socket()1025 sock.socket->sk->sk_reuse = SK_CAN_REUSE; /* SO_REUSEADDR */ in conn_connect()1026 msock.socket->sk->sk_reuse = SK_CAN_REUSE; /* SO_REUSEADDR */ in conn_connect()
378 #define sk_reuse __sk_common.skc_reuse macro