Re: Getting the value of tcp window size

Patrick McHardy (kaber@trash.net)
Mon, 17 Feb 2003 00:08:03 +0100


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/