diff options
author | Randall Stewart <rrs@FreeBSD.org> | 2022-09-27 17:38:20 +0000 |
---|---|---|
committer | Randall Stewart <rrs@FreeBSD.org> | 2022-09-27 17:38:20 +0000 |
commit | 08af8aac2a61252a358a685496c41d75beba8acb (patch) | |
tree | 6e8e2128ada26c16dc89642d21d9b277e45c0eed /usr.bin/systat | |
parent | 5760cb266e0ab04c221c2acdb4b6c4c141130ecd (diff) | |
download | src-08af8aac2a61252a358a685496c41d75beba8acb.tar.gz src-08af8aac2a61252a358a685496c41d75beba8acb.zip |
Tcp progress timeout
Rack has had the ability to timeout connections that just sit idle automatically. This
feature of course is off by default and requires the user set it on (though the socket option
has been missing in tcp_usrreq.c). Lets get the progress timeout fully supported in
the base stack as well as rack.
Reviewed by: tuexen
Sponsored by: Netflix Inc
Differential Revision: https://reviews.freebsd.org/D36716
Diffstat (limited to 'usr.bin/systat')
-rw-r--r-- | usr.bin/systat/tcp.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.bin/systat/tcp.c b/usr.bin/systat/tcp.c index 4ab644deb671..76f4c77d009f 100644 --- a/usr.bin/systat/tcp.c +++ b/usr.bin/systat/tcp.c @@ -125,8 +125,8 @@ labeltcp(void) L(5, "- in embryonic state"); R(5, "- ack-only"); L(6, "- on retransmit timeout"); R(6, "- window probes"); L(7, "- by keepalive"); R(7, "- window updates"); - L(8, "- from listen queue"); R(8, "- urgent data only"); - R(9, "- control"); + L(8, "- exceeded progress time"); R(8, "- urgent data only"); + L(9, "- from listen queue"); R(9, "- control"); R(10, "- resends by PMTU discovery"); L(11, "TCP Timers"); R(11, "total packets received"); L(12, "potential rtt updates"); R(12, "- in sequence"); @@ -179,6 +179,7 @@ domode(struct tcpstat *ret) DO(tcps_keeptimeo); DO(tcps_keepprobe); DO(tcps_keepdrops); + DO(tcps_progdrops); DO(tcps_sndtotal); DO(tcps_sndpack); @@ -248,8 +249,8 @@ showtcp(void) L(5, tcps_conndrops); R(5, tcps_sndacks); L(6, tcps_timeoutdrop); R(6, tcps_sndprobe); L(7, tcps_keepdrops); R(7, tcps_sndwinup); - L(8, tcps_listendrop); R(8, tcps_sndurg); - R(9, tcps_sndctrl); + L(8, tcps_progdrops); R(8, tcps_sndurg); + L(9, tcps_listendrop); R(9, tcps_sndctrl); R(10, tcps_mturesent); R(11, tcps_rcvtotal); L(12, tcps_segstimed); R(12, tcps_rcvpack); |