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" 61 bool explicitFilename) = 0;
82 void EnablePcapIpv4 (std::string prefix, std::string ipv4Name, uint32_t interface,
bool explicitFilename =
false);
112 void EnablePcapIpv4 (std::string prefix, uint32_t nodeid, uint32_t interface,
bool explicitFilename);
171 bool explicitFilename) = 0;
202 void EnableAsciiIpv4 (std::string prefix, std::string ipv4Name, uint32_t interface,
bool explicitFilename =
false);
285 void EnableAsciiIpv4 (std::string prefix, uint32_t nodeid, uint32_t deviceid,
bool explicitFilename);
322 bool explicitFilename);
366 std::string ipv4Name,
368 bool explicitFilename);
388 bool explicitFilename);
421 bool explicitFilename) = 0;
442 void EnablePcapIpv6 (std::string prefix, std::string ipv6Name, uint32_t interface,
bool explicitFilename =
false);
472 void EnablePcapIpv6 (std::string prefix, uint32_t nodeid, uint32_t interface,
bool explicitFilename);
530 bool explicitFilename) = 0;
561 void EnableAsciiIpv6 (std::string prefix, std::string ipv6Name, uint32_t interface,
bool explicitFilename =
false);
627 void EnableAsciiIpv6 (std::string prefix, uint32_t nodeid, uint32_t interface,
bool explicitFilename);
680 bool explicitFilename);
724 std::string ipv6Name,
726 bool explicitFilename);
746 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<Ipv4> 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...
Every class exported by the ns3 library is enclosed in the ns3 namespace.
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.