Edward Tomasz Napierala adc56f5a38 Make use of the stats(3) framework in the TCP stack.
This makes it possible to retrieve per-connection statistical
information such as the receive window size, RTT, or goodput,
using a newly added TCP_STATS getsockopt(3) option, and extract
them using the stats_voistat_fetch(3) API.

See the net/tcprtt port for an example consumer of this API.

Compared to the existing TCP_INFO system, the main differences
are that this mechanism is easy to extend without breaking ABI,
and provides statistical information instead of raw "snapshots"
of values at a given point in time.  stats(3) is more generic
and can be used in both userland and the kernel.

Reviewed by:	thj
Tested by:	thj
Obtained from:	Netflix
Relnotes:	yes
Sponsored by:	Klara Inc, Netflix
Differential Revision:	https://reviews.freebsd.org/D20655
2019-12-02 20:58:04 +00:00
..
2019-11-18 19:05:52 +00:00
2019-10-26 19:20:59 +00:00
2019-02-26 05:59:22 +00:00
2019-07-19 15:10:53 +00:00
2019-05-30 19:18:01 +00:00
2019-02-25 18:22:20 +00:00
2019-11-09 21:59:29 +00:00
2019-11-08 14:51:09 +00:00
2018-10-12 05:27:58 +00:00
2019-11-10 17:00:23 +00:00
2018-09-20 09:26:10 +00:00
2019-11-08 17:27:20 +00:00
2018-09-20 09:31:27 +00:00
2019-11-07 18:06:44 +00:00
2019-08-08 16:54:22 +00:00
2019-04-22 18:38:54 +00:00
2019-11-23 19:35:09 +00:00