freebsd-nq/sys
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
..
amd64 bhyve amd: amdvi_dump_cmds() log the command for which the command completion failed. Completion is checked in poll mode although it can be done using interrupts. 2019-12-01 04:00:08 +00:00
arm Remove more needless <sys/tty.h> includes 2019-12-01 20:43:37 +00:00
arm64 revert r354714 "Boot arm64 kernel using booti command from U-boot." 2019-12-02 15:07:06 +00:00
bsm Jail and capability mode for shm_rename; add audit support for shm_rename 2019-11-18 13:31:16 +00:00
cam Fix a hang introduced in r351599. 2019-12-02 19:57:39 +00:00
cddl Add a VN_OPEN_INVFS flag. 2019-11-29 14:02:32 +00:00
compat Linux epoll: Allow passing of any negative timeout value to epoll_wait 2019-11-24 20:51:09 +00:00
conf Make use of the stats(3) framework in the TCP stack. 2019-12-02 20:58:04 +00:00
contrib Include fin, the packet information structure (fr_info_t), in the 2019-11-28 00:46:33 +00:00
crypto Fix the armv8 crypto driver after r354170. 2019-10-30 10:41:10 +00:00
ddb ddb(4): Add some support for lexing IPv6 addresses 2019-09-09 16:32:23 +00:00
dev Do not initialize the flags field in struct gpiobus_pin from the flags in 2019-12-02 19:57:20 +00:00
dts dtso: allwinner: Add an overlay for H3 thermal node 2019-08-24 13:26:34 +00:00
fs tmpfs: use proper macros for permission values in tmpfs_access 2019-12-01 00:34:49 +00:00
gdb gdb(4): Implement support for NoAckMode 2019-10-17 22:37:25 +00:00
geom We don't even need Giant here. It isn't protecting anything internal 2019-11-23 23:44:00 +00:00
gnu Import DTS files from Linux 5.4 2019-11-28 19:30:41 +00:00
i386 Remove the trm(4) driver 2019-11-28 02:32:17 +00:00
isa
kern lockmgr: remove more remnants of adaptive spinning 2019-12-01 00:35:08 +00:00
kgssapi Stop using des_cblock * for arguments to DES functions. 2019-08-26 17:25:07 +00:00
libkern Port the NetBSD KCSAN runtime to FreeBSD. 2019-11-21 11:22:08 +00:00
mips Remove two obsolete comments that reference splhigh/splx. 2019-11-21 18:49:54 +00:00
modules Remove the trm(4) driver 2019-11-28 02:32:17 +00:00
net Allow kernel to compile without BPF. 2019-11-24 23:21:47 +00:00
net80211 Don't use if_maddr_rlock() in 802.11, use epoch(9) directly instead. 2019-10-10 23:55:33 +00:00
netgraph Fix regression from r353026. Pointer was increased instead of value 2019-11-02 03:09:17 +00:00
netinet Make use of the stats(3) framework in the TCP stack. 2019-12-02 20:58:04 +00:00
netinet6 Update the hostcache also for PTB messages received for SCTP/IPv6. 2019-12-01 16:14:44 +00:00
netipsec Fix m_pullup() problem after removing PULLDOWN_TESTs and KAME EXT_*macros. 2019-12-01 00:22:04 +00:00
netpfil pf: Add endline to all DPFPRINTF() 2019-11-24 13:53:36 +00:00
netsmb Stop using des_cblock * for arguments to DES functions. 2019-08-26 17:25:07 +00:00
nfs
nfsclient
nfsserver
nlm
ofed Prevent potential underflow in ibcore. 2019-11-15 11:46:53 +00:00
opencrypto kTLS support for TLS 1.3 2019-09-27 19:17:40 +00:00
powerpc powerpc: Add 'show frame <addr>' to show an arbitrary trap frame 2019-12-01 21:29:34 +00:00
riscv RISC-V: busdma_bounce: fix BUS_DMA_ALLOCNOW for non-paged aligned sizes 2019-11-16 01:25:51 +00:00
rpc Change r355157 to make svc_rpc_gss_lifetime_max a static. 2019-11-28 02:18:51 +00:00
security Instead of looking up a predecessor or successor to the current map 2019-11-20 16:06:48 +00:00
sparc64 Set MALLOC_DEBUG_MAXZONES=1 in GENERIC-NODEBUG configurations. 2019-11-18 20:03:28 +00:00
sys Make use of the stats(3) framework in the TCP stack. 2019-12-02 20:58:04 +00:00
teken Adjust teken to allow build as part of loader 2019-09-05 18:07:40 +00:00
tests
tools Add makesyscalls.lua, a rewrite of makesyscalls.sh 2019-11-17 14:08:19 +00:00
ufs As part of creating a snapshot, set fs->fs_fmod to 0 in the snapshot image 2019-11-28 00:37:43 +00:00
vm Store the bottom of the shadow chain in OBJ_ANON object->handle member. 2019-12-01 20:43:04 +00:00
x86 bus_dma_dmar_load_ident(9): load identity mapping into the map. 2019-11-27 19:57:17 +00:00
xdr
xen
Makefile