[Ns-bugs] [Bug 411] OnOffApplication::OnTime does not work

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Mon Dec 1 14:20:43 PST 2008


http://www.nsnam.org/bugzilla/show_bug.cgi?id=411





--- Comment #4 from Rajib Bhattacharjea <raj.b at gatech.edu>  2008-12-01 17:20:43 EDT ---
Created an attachment (id=324)
 --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=324)
test case show OnTime and OffTime both work

You can change the on and off times and watch the "duty cycle" of the
burst/onoff behavior change as you would expect.  If you use octave, the
following script will generate a nice picture of the packet sizes plotted
against their timestamps.

#!/bin/bash
tcpdump -r simple-udp-0-0.pcap -nn -tt | cut -d" " -f 1,8 > temp.out
echo "x=load temp.out;
plot(x(:,1),x(:,2),'o');
print('plot.eps');" | octave


-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Ns-bugs mailing list