[ns] How to count number of received packets at agent level.
msc.nit at gmail.com
Fri Jan 23 22:53:50 PST 2009
I am using CBR agent for generating traffic for my wireless
simulation. I have used cbrgen.tcl file, which comes with NS to
generate connection profile. It attaches CBR source with Agent/NULL as
destination. I need to count ratio of number of packets transmitted by
the CBr source to number of packets received by the destination. When
Agent/Null is as sink, how can I determine number of packets received?
Do I need to change the sink to some other agent? I am not getting any
receive(r) entry in agent level trace.
More information about the Ns-users