freebsd-dev/sys/netinet/cc
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
..
cc_cdg.c
cc_chd.c
cc_cubic.c Add boundary and overflow checks to the formulas used in the TCP CUBIC 2019-11-16 12:00:22 +00:00
cc_cubic.h Add boundary and overflow checks to the formulas used in the TCP CUBIC 2019-11-16 12:00:22 +00:00
cc_dctcp.c Move all ECN related flags from the flags to the flags2 field. 2019-12-01 21:01:33 +00:00
cc_hd.c
cc_htcp.c
cc_module.h
cc_newreno.c
cc_newreno.h
cc_vegas.c
cc.c
cc.h Make use of the stats(3) framework in the TCP stack. 2019-12-02 20:58:04 +00:00