* 2.4 kern: want to print TCP cwnd with every packet
@ 2006-05-06 14:19 George P Nychis
2006-05-08 17:31 ` Stephen Hemminger
0 siblings, 1 reply; 2+ messages in thread
From: George P Nychis @ 2006-05-06 14:19 UTC (permalink / raw)
To: netdev
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-05-08 17:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-06 14:19 2.4 kern: want to print TCP cwnd with every packet George P Nychis
2006-05-08 17:31 ` Stephen Hemminger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).