19 #ifndef INTERNET_TRACE_HELPER_H 
   20 #define INTERNET_TRACE_HELPER_H 
   22 #include "ns3/assert.h" 
   23 #include "ns3/ipv4-interface-container.h" 
   24 #include "ns3/ipv6-interface-container.h" 
   27 #include "ns3/trace-helper.h" 
   60                                        bool explicitFilename) = 0;
 
   81   void EnablePcapIpv4 (std::string prefix, std::string ipv4Name, uint32_t interface, 
bool explicitFilename = 
false);
 
  111   void EnablePcapIpv4 (std::string prefix, uint32_t nodeid, uint32_t interface, 
bool explicitFilename);
 
  169                                         bool explicitFilename) = 0;
 
  200   void EnableAsciiIpv4 (std::string prefix, std::string ipv4Name, uint32_t interface, 
bool explicitFilename = 
false);
 
  283   void EnableAsciiIpv4 (std::string prefix, uint32_t nodeid, uint32_t deviceid, 
bool explicitFilename);
 
  322                             bool explicitFilename);
 
  372                             std::string ipv4Name, 
 
  374                             bool explicitFilename);
 
  396                             bool explicitFilename);
 
  428                                        bool explicitFilename) = 0;
 
  449   void EnablePcapIpv6 (std::string prefix, std::string ipv6Name, uint32_t interface, 
bool explicitFilename = 
false);
 
  479   void EnablePcapIpv6 (std::string prefix, uint32_t nodeid, uint32_t interface, 
bool explicitFilename);
 
  536                                         bool explicitFilename) = 0;
 
  567   void EnableAsciiIpv6 (std::string prefix, std::string ipv6Name, uint32_t interface, 
bool explicitFilename = 
false);
 
  633   void EnableAsciiIpv6 (std::string prefix, uint32_t nodeid, uint32_t interface, 
bool explicitFilename);
 
  688                             bool explicitFilename);
 
  738                             std::string ipv6Name, 
 
  740                             bool explicitFilename);
 
  762                             bool explicitFilename);
 
Base class providing common user-level pcap operations for helpers representing IPv6 protocols ...
smart pointer class similar to boost::intrusive_ptr 
Keep track of a set of IPv6 interfaces. 
holds a vector of std::pair of Ptr and interface index. 
void EnablePcapIpv4(std::string prefix, Ptr< Ipv4 > ipv4, uint32_t interface, bool explicitFilename=false)
Enable pcap output the indicated Ipv4 and interface pair. 
void EnablePcapIpv6All(std::string prefix)
Enable pcap output on all Ipv6 and interface pairs existing in the set of all nodes created in the si...
virtual ~PcapHelperForIpv4()
Destroy a PcapHelperForIpv4. 
virtual ~AsciiTraceHelperForIpv6()
Destroy an AsciiTraceHelperForIpv6. 
virtual void EnableAsciiIpv6Internal(Ptr< OutputStreamWrapper > stream, std::string prefix, Ptr< Ipv6 > ipv6, uint32_t interface, bool explicitFilename)=0
Enable ascii trace output on the indicated Ipv6 and interface pair. 
void EnableAsciiIpv4(std::string prefix, Ptr< Ipv4 > ipv4, uint32_t interface, bool explicitFilename=false)
Enable ascii trace output on the indicated Ipv4 and interface pair. 
Base class providing common user-level ascii trace operations for helpers representing IPv6 protocols...
virtual ~AsciiTraceHelperForIpv4()
Destroy an AsciiTraceHelperForIpv4. 
virtual void EnableAsciiIpv4Internal(Ptr< OutputStreamWrapper > stream, std::string prefix, Ptr< Ipv4 > ipv4, uint32_t interface, bool explicitFilename)=0
Enable ascii trace output on the indicated Ipv4 and interface pair. 
AsciiTraceHelperForIpv6()
Construct an AsciiTraceHelperForIpv6. 
PcapHelperForIpv4()
Construct a PcapHelperForIpv4. 
AsciiTraceHelperForIpv4()
Construct an AsciiTraceHelperForIpv4. 
void EnableAsciiIpv4All(std::string prefix)
Enable ascii trace output on all Ipv4 and interface pairs existing in the set of all nodes created in...
keep track of a set of node pointers. 
Base class providing common user-level pcap operations for helpers representing IPv4 protocols ...
void EnablePcapIpv6(std::string prefix, Ptr< Ipv6 > ipv6, uint32_t interface, bool explicitFilename=false)
Enable pcap output the indicated Ipv6 and interface pair. 
void EnableAsciiIpv4Impl(Ptr< OutputStreamWrapper > stream, std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename)
Enable ascii trace output on the Ipv4 and interface pair specified by a global node-id (of a previous...
void EnableAsciiIpv6All(std::string prefix)
Enable ascii trace output on all Ipv6 and interface pairs existing in the set of all nodes created in...
void EnableAsciiIpv6Impl(Ptr< OutputStreamWrapper > stream, std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename)
Enable ascii trace output on the Ipv6 and interface pair specified by a global node-id (of a previous...
virtual void EnablePcapIpv4Internal(std::string prefix, Ptr< Ipv4 > ipv4, uint32_t interface, bool explicitFilename)=0
Enable pcap output the indicated Ipv4 and interface pair. 
void EnablePcapIpv4All(std::string prefix)
Enable pcap output on all Ipv4 and interface pairs existing in the set of all nodes created in the si...
PcapHelperForIpv6()
Construct a PcapHelperForIpv6. 
Base class providing common user-level ascii trace operations for helpers representing IPv4 protocols...
virtual void EnablePcapIpv6Internal(std::string prefix, Ptr< Ipv6 > ipv6, uint32_t interface, bool explicitFilename)=0
Enable pcap output the indicated Ipv6 and interface pair. 
void EnableAsciiIpv6(std::string prefix, Ptr< Ipv6 > ipv6, uint32_t interface, bool explicitFilename=false)
Enable ascii trace output on the indicated Ipv6 and interface pair. 
virtual ~PcapHelperForIpv6()
Destroy a PcapHelperForIpv6.