Richard Eich wrote:
> (E-Mail Removed) wrote...
> >
> > Richard Eich wrote:
> >
> > > Linux (SuSE 9.3 2.6.11 i686)
> > >
> > > I've been trying to find a command or system call that will return
> > > the current utilization level of the TCP write buffer.
> >
> > ioctl(SIOCOUTQ)
> >
> > http://www.linux-m32r.org/lxr/http/s...pv4/tcp.c#l405
>
> Maxim,
>
> Thank you very much. SIOCOUTQ isn't in Stevens -- I evidentally need
> a more current reference.
It's in man tcp(7).
You might also find interestion this tcp ioctl:
TCP_INFO
Used to collect information about this socket. The
kernel
returns a struct tcp_info as defined in the
file
/usr/include/linux/tcp.h. This option should not be
used in
code intended to be portable.
Some other interesting linux networking implementation details in man
articles netdevice(7), socket(7), ip(7), udp(7), unix(7).