diff options
author | rwatson <rwatson@FreeBSD.org> | 2004-11-26 18:58:46 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2004-11-26 18:58:46 +0000 |
commit | 0aa3c6f81730f2718d8c61f1d34d33bfe921c3f0 (patch) | |
tree | 4caf2c37378509b28e849b5a6086de1c5d497ede /sys/modules/dpt | |
parent | c76a6d58b3f2dc81bf3900ace4a6919a5d6521d4 (diff) | |
download | FreeBSD-src-0aa3c6f81730f2718d8c61f1d34d33bfe921c3f0.zip FreeBSD-src-0aa3c6f81730f2718d8c61f1d34d33bfe921c3f0.tar.gz |
Implement parts of the TCP_INFO socket option as found in Linux 2.6.
This socket option allows processes query a TCP socket for some low
level transmission details, such as the current send, bandwidth, and
congestion windows. Linux provides a 'struct tcpinfo' structure
containing various variables, rather than separate socket options;
this makes the API somewhat fragile as it makes it dificult to add
new entries of interest as requirements and implementation evolve.
As such, I've included a large pad at the end of the structure.
Right now, relatively few of the Linux API fields are filled in, and
some contain no logical equivilent on FreeBSD. I've include __'d
entries in the structure to make it easier to figure ou what is and
isn't omitted. This API/ABI should be considered unstable for the
time being.
Diffstat (limited to 'sys/modules/dpt')
0 files changed, 0 insertions, 0 deletions