[Ns-bugs] [Bug 1299] New: EnableAsciiIpv4All tracing does not show transmitted and received packets
code at nsnam.ece.gatech.edu
Fri Nov 18 13:15:54 PST 2011
Summary: EnableAsciiIpv4All tracing does not show transmitted
and received packets
AssignedTo: riley at ece.gatech.edu
ReportedBy: santoshag at gmail.com
CC: ns-bugs at isi.edu
Estimated Hours: 0.0
Created attachment 1271
first.cc example tutorial script with Ipv4 Ascii Tracing enabled
Overview: ascii trace file generated using EnableAsciiIpv4 with
InternetStackHelper does not show transmitted or received packets but shows
dropped packets only if any.
Steps to Reproduce: As shown in the attachment script, one can generate ascii
tracing for Ipv4 interfaces with InternetStackHelper object.
Ptr<OutputStreamWrapper> stream = ascii.CreateFileStream("ipv4_trace.tr");
Actual Results: Trace file shows only dropped packet(marked as 'd') if any
Expected Results: SInce the simulation also had transmitted and received
packets, they should have been present in the trace file.
Build Date & Platform: Build Nov-16-2011 on Ubuntu OS 11
Additional Builds and Platforms: Seen on Fedora
Additional Information: Tested with first.cc example tutorial file present in
ns-3.12 build. The trace file did not had anything since there are no dropped
packets in point-to-point link but the important point is, it did not even have
transmitted and received packets.
Configure bugmail: https://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