Searched refs:linger2 (Results 1 – 6 of 6) sorted by relevance
348 int linger2; member
2439 if (tp->linger2 < 0) { in tcp_close()2937 tp->linger2 = -1; in do_tcp_setsockopt()2939 tp->linger2 = 0; in do_tcp_setsockopt()2941 tp->linger2 = val * HZ; in do_tcp_setsockopt()3339 val = tp->linger2; in do_tcp_getsockopt()
671 if (tp->linger2 >= 0) { in tcp_keepalive_timer()
6151 if (tp->linger2 < 0) { in tcp_rcv_state_process()
342 if (sk->sk_state == TCP_FIN_WAIT2 && tcp_sk(sk)->linger2 < 0 && in chtls_close()1748 else if (tcp_sk(sk)->linger2 < 0 && in chtls_close_con_rpl()
1400 int fin_timeout = tcp_sk(sk)->linger2 ? : sock_net(sk)->ipv4.sysctl_tcp_fin_timeout; in tcp_fin_time()