Getting the value of tcp window size
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.
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