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 Ensure that when using the TCP CDG congestion control and setting the 2019-02-08 20:42:49 +00:00
cc_chd.c Fix bugs in plugable CC algorithm and siftr sysctls. 2018-12-15 15:06:22 +00:00
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 Fix bugs in plugable CC algorithm and siftr sysctls. 2018-12-15 15:06:22 +00:00
cc_htcp.c Prevent cwnd to collapse down to 1 MSS after exiting recovery. 2019-05-09 07:11:08 +00:00
cc_module.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
cc_newreno.c Prevent cwnd to collapse down to 1 MSS after exiting recovery. 2019-05-09 07:11:08 +00:00
cc_newreno.h Add support for the experimental Internet-Draft "TCP Alternative Backoff with 2018-03-19 16:37:47 +00:00
cc_vegas.c Fix bugs in plugable CC algorithm and siftr sysctls. 2018-12-15 15:06:22 +00:00
cc.c Add support for the experimental Internet-Draft "TCP Alternative Backoff with 2018-03-19 16:37:47 +00:00
cc.h Make use of the stats(3) framework in the TCP stack. 2019-12-02 20:58:04 +00:00