[Ns-bugs] [Bug 462] New: Ascii trace doesn't show tcp header at nsc using
code@nsnam.ece.gatech.edu
code at nsnam.ece.gatech.edu
Thu Jan 8 17:00:19 PST 2009
http://www.nsnam.org/bugzilla/show_bug.cgi?id=462
Summary: Ascii trace doesn't show tcp header at nsc using
Product: ns-3
Version: ns-3-dev
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: general
AssignedTo: ns-bugs at isi.edu
ReportedBy: yoshiyaz at gmail.com
Estimated Hours: 0.0
1) tcp-nsc-lfn.cc modified follows
--- examples/tcp-nsc-lfn.cc 2008-12-05 11:09:02.000000000 +0900
+++ scratch/tcp-nsc-lfn.cc 2009-01-08 17:40:42.000000000 +0900
@@ -135,7 +135,7 @@
}
// This tells ns-3 to generate pcap traces.
- PointToPointHelper::EnablePcapAll ("tcp-nsc-lfn");
+ PointToPointHelper::EnableAsciiAll (std::cout);
Simulator::Stop (Seconds(900));
Simulator::Run ();
2) run tcp-nsc-lfn.cc then print follows
r 5.5385 /NodeList/0/DeviceList/0/$ns3::PointToPointNetDevice/Rx ns3::PppHeader
(Point-to-Point Protocol: IP (0x0021)) ns3::Ipv4Header (tos 0x0 ttl 64 id 31
protocol 6 offset 0 flags [none] length: 1500 10.0.0.2 > 10.0.0.1) Payload
(size=1480)
--
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Ns-bugs
mailing list