Skip to contentSkip to conversation

Getting the value of tcp window size

DISCUSSION yi 2 participants 2 messages Feb 16, 2003

lore
Share & tools
lore

yi

author
#0 lore raw

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.

#1 lore raw
Quoted 7 lines · yi

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