examples/csma-bridge-one-hop.cc
changeset 4264 9d2e96c4e6e4
parent 4225 f1d873a81159
child 4616 a84f60b6cd12
equal deleted inserted replaced
4263:fec2f830d015 4264:9d2e96c4e6e4
   223   CsmaHelper::EnableAsciiAll (ascii);
   223   CsmaHelper::EnableAsciiAll (ascii);
   224 
   224 
   225   //
   225   //
   226   // Also configure some tcpdump traces; each interface will be traced.
   226   // Also configure some tcpdump traces; each interface will be traced.
   227   // The output files will be named:
   227   // The output files will be named:
   228   //     csma-bridge.pcap-<nodeId>-<interfaceId>
   228   //     csma-bridge-<nodeId>-<interfaceId>.pcap
   229   // and can be read by the "tcpdump -r" command (use "-tt" option to
   229   // and can be read by the "tcpdump -r" command (use "-tt" option to
   230   // display timestamps correctly)
   230   // display timestamps correctly)
   231   //
   231   //
   232   CsmaHelper::EnablePcapAll ("csma-bridge-one-hop");
   232   CsmaHelper::EnablePcapAll ("csma-bridge-one-hop", false);
   233 
   233 
   234   //
   234   //
   235   // Now, do the actual simulation.
   235   // Now, do the actual simulation.
   236   //
   236   //
   237   NS_LOG_INFO ("Run Simulation.");
   237   NS_LOG_INFO ("Run Simulation.");