Home
last modified time | relevance | path

Searched refs:linger2 (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/include/linux/
Dtcp.h348 int linger2; member
/Linux-v4.19/net/ipv4/
Dtcp.c2439 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()
Dtcp_timer.c671 if (tp->linger2 >= 0) { in tcp_keepalive_timer()
Dtcp_input.c6151 if (tp->linger2 < 0) { in tcp_rcv_state_process()
/Linux-v4.19/drivers/crypto/chelsio/chtls/
Dchtls_cm.c342 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()
/Linux-v4.19/include/net/
Dtcp.h1400 int fin_timeout = tcp_sk(sk)->linger2 ? : sock_net(sk)->ipv4.sysctl_tcp_fin_timeout; in tcp_fin_time()