History

tcp: add LINUX_MIB_PAWS_TW_REJECTED counter

When TCP is in TIME_WAIT state, PAWS verification uses LINUX_PAWSESTABREJECTED, which is ambiguous and cannot be distinguished from other PAWS verification processes. We added a new counter, like the existing PAWS_OLD_ACK one. Also we update the doc with previously missing PAWS_OLD_ACK. usage: ''' nstat -az | grep PAWSTimewait TcpExtPAWSTimewait 1 0.0 '''

Jiayuan Chen committed 1 year ago

Commit c449d5f1 parent 04271415 files · +6 −1Browse files

Showing the changes to include/uapi/linux (1 of 5 files). Show all

Unified · Split

include/uapi/linux/snmp.h+1−0
@@ -188,6 +188,7 @@ enum · 187 unmodified lines
188188 LINUX_MIB_PAWSESTABREJECTED, /* PAWSEstabRejected */
189189 LINUX_MIB_TSECRREJECTED, /* TSEcrRejected */
190190 LINUX_MIB_PAWS_OLD_ACK, /* PAWSOldAck */
191+ LINUX_MIB_PAWS_TW_REJECTED, /* PAWSTimewait */
191192 LINUX_MIB_DELAYEDACKS, /* DelayedACKs */
192193 LINUX_MIB_DELAYEDACKLOCKED, /* DelayedACKLocked */
193194 LINUX_MIB_DELAYEDACKLOST, /* DelayedACKLost */