Searched refs:linger2 (Results 1 – 6 of 6) sorted by relevance
385 int linger2; member
738 if (READ_ONCE(tp->linger2) >= 0) { in tcp_keepalive_timer()
2880 if (READ_ONCE(tp->linger2) < 0) { in __tcp_close()3498 WRITE_ONCE(tp->linger2, -1); in do_tcp_setsockopt()3500 WRITE_ONCE(tp->linger2, TCP_FIN_TIMEOUT_MAX); in do_tcp_setsockopt()3502 WRITE_ONCE(tp->linger2, val * HZ); in do_tcp_setsockopt()4004 val = READ_ONCE(tp->linger2); in do_tcp_getsockopt()
6652 if (READ_ONCE(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()
1589 int fin_timeout = tcp_sk(sk)->linger2 ? : in tcp_fin_time()