HomeFreeBSD

Redo r294869. The array of counters for TCP states doesn't belong to

Description

Redo r294869. The array of counters for TCP states doesn't belong to
struct tcpstat, because the structure can be zeroed out by netstat(1) -z,
and of course running connection counts shouldn't be touched.

Place running connection counts into separate array, and provide
separate read-only sysctl oid for it.

Details

Provenance
glebiusAuthored on
Parents
rS296880: Provide sysctl(9) macro to deal with array of counter(9).
Branches
Unknown
Tags
Unknown