On Sat, 6 May 2006 10:19:16 -0400 (EDT) "George P Nychis" <[EMAIL PROTECTED]> wrote:
> Hi, > > I'd like to print the TCP cwnd for the sender, with every packet before it is > sent out. This way i could plot the sender window over time to show TCP's > behavior in certain conditions. > > I see in tcp_input.c several places where i could print the current window, > but i'd have to add code in multiple places. I was wondering if there is any > 1 place, right before a packet is sent out, that i could printk() tp->snd_cwnd > > Thanks! > George > > - > To unsubscribe from this list: send the line "unsubscribe netdev" in > the body of a message to [EMAIL PROTECTED] > More majordomo info at http://vger.kernel.org/majordomo-info.html Look at http://developer.osdl.org/shemminger/prototypes/tcpprobe.tar.gz - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html