cvs commit: src/sys/netinet tcp.h tcp_usrreq.c
rwatson at FreeBSD.org
Fri Nov 26 10:58:47 PST 2004
rwatson 2004-11-26 18:58:47 UTC
FreeBSD src repository
sys/netinet tcp.h tcp_usrreq.c
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
Revision Changes Path
1.28 +66 -0 src/sys/netinet/tcp.h
1.110 +54 -2 src/sys/netinet/tcp_usrreq.c
More information about the cvs-all