TCP rcv_wnd

Preethi Natarajan nataraja at cis.udel.edu
Tue Sep 11 16:41:43 PDT 2007


Hello,

I am trying to track TCP's receive window evolution in my experiments.

Specifically, I want to know a connection's rwnd before processing every 
incoming packet. So, I put in my tracking code right after tp->rcv_wnd 
update in tcp_do_segment() in tcp_input.c

I have packet drops in my experiment, and was hoping to see the rcv_wnd 
go down atleast a little bit. But rcv_wnd remains the same 
(net.inet.tcp.recvspace value). Was wondering if I am looking at the 
correct function.

Any help is appreciated. Thanks

-- 
Preethi



More information about the freebsd-net mailing list