Date: Fri, 26 Nov 2004 18:58:47 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet tcp.h tcp_usrreq.c Message-ID: <200411261858.iAQIwlXV032915@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2004-11-26 18:58:47 UTC
FreeBSD src repository
Modified files:
sys/netinet tcp.h tcp_usrreq.c
Log:
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.
Revision Changes Path
1.28 +66 -0 src/sys/netinet/tcp.h
1.110 +54 -2 src/sys/netinet/tcp_usrreq.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411261858.iAQIwlXV032915>
