Re: Getting the value of tcp window size

From: Patrick McHardy (kaber@trash.net)
Date: Sun Feb 16 2003 - 18:08:03 EST


yi wrote:

> Hi,
>
> Using the kernel facility such as system call or something, is there
> any method of getting the value of tcp window size?
>
> If not, I just want to know whether I have to add a system call of
> doing that or not.
>
> Thanks.

look at the ss utility which comes with iproute2 in the misc directory.
it can display lots of information,
other stuff can easily be added to net/ipv4/tcp_diag.c.

Bye,
Patrick

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Feb 23 2003 - 22:00:16 EST