Searched refs:linger2 (Results 1 – 6 of 6) sorted by relevance
356 int linger2; member
695 if (tp->linger2 >= 0) { in tcp_keepalive_timer()
2634 if (tp->linger2 < 0) { in tcp_close()3336 tp->linger2 = -1; in do_tcp_setsockopt()3338 tp->linger2 = TCP_FIN_TIMEOUT_MAX; in do_tcp_setsockopt()3340 tp->linger2 = val * HZ; in do_tcp_setsockopt()3732 val = tp->linger2; in do_tcp_getsockopt()
6517 if (tp->linger2 < 0) { in tcp_rcv_state_process()
381 if (sk->sk_state == TCP_FIN_WAIT2 && tcp_sk(sk)->linger2 < 0 && in chtls_close()1950 else if (tcp_sk(sk)->linger2 < 0 && in chtls_close_con_rpl()
1488 int fin_timeout = tcp_sk(sk)->linger2 ? : in tcp_fin_time()