ns3::PcapHelperForIpv6 Class Reference
Base class providing common user-level pcap operations for helpers representing IPv6 protocols .
More...
#include <trace-helper.h>
List of all members.
Public Member Functions |
| PcapHelperForIpv6 () |
| Construct a PcapHelperForIpv6.
|
virtual | ~PcapHelperForIpv6 () |
| Destroy a PcapHelperForIpv6.
|
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 | EnablePcapIpv6 (std::string prefix, Ptr< Ipv6 > ipv6, uint32_t interface, bool explicitFilename=false) |
| Enable pcap output the indicated Ipv6 and interface pair.
|
void | EnablePcapIpv6 (std::string prefix, std::string ipv6Name, uint32_t interface, bool explicitFilename=false) |
| Enable pcap output the indicated Ipv6 and interface pair using a Ptr<Ipv6> previously named using the ns-3 object name service.
|
void | EnablePcapIpv6 (std::string prefix, Ipv6InterfaceContainer c) |
| Enable pcap output on each Ipv6 and interface pair in the container.
|
void | EnablePcapIpv6 (std::string prefix, NodeContainer n) |
| Enable pcap output on all Ipv6 and interface pairs existing in the nodes provided in the container.
|
void | EnablePcapIpv6 (std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename) |
| Enable pcap output on the Ipv6 and interface pair specified by a global node-id (of a previously created node) and interface. Since there can be only one Ipv6 aggregated to a node, the node-id unambiguously determines the Ipv6.
|
void | EnablePcapIpv6All (std::string prefix) |
| Enable pcap output on all Ipv6 and interface pairs existing in the set of all nodes created in the simulation.
|
Detailed Description
Base class providing common user-level pcap operations for helpers representing IPv6 protocols .
Member Function Documentation
void ns3::PcapHelperForIpv6::EnablePcapIpv6 |
( |
std::string |
prefix, |
|
|
uint32_t |
nodeid, |
|
|
uint32_t |
interface, |
|
|
bool |
explicitFilename | |
|
) |
| | |
Enable pcap output on the Ipv6 and interface pair specified by a global node-id (of a previously created node) and interface. Since there can be only one Ipv6 aggregated to a node, the node-id unambiguously determines the Ipv6.
- Parameters:
-
| prefix | Filename prefix to use for pcap files. |
| nodeid | The node identifier/number of the node on which to enable tracing. |
| interface | Interface on ipv6 on which you want to enable tracing. |
| explicitFilename | Treat the prefix as an explicit filename if true |
void ns3::PcapHelperForIpv6::EnablePcapIpv6 |
( |
std::string |
prefix, |
|
|
NodeContainer |
n | |
|
) |
| | |
Enable pcap output on all Ipv6 and interface pairs existing in the nodes provided in the container.
- Parameters:
-
| prefix | Filename prefix to use for pcap files. |
| n | container of nodes. |
Enable pcap output on each Ipv6 and interface pair in the container.
- Parameters:
-
void ns3::PcapHelperForIpv6::EnablePcapIpv6 |
( |
std::string |
prefix, |
|
|
std::string |
ipv6Name, |
|
|
uint32_t |
interface, |
|
|
bool |
explicitFilename = false | |
|
) |
| | |
Enable pcap output the indicated Ipv6 and interface pair using a Ptr<Ipv6> previously named using the ns-3 object name service.
- Parameters:
-
| prefix | filename prefix to use for pcap files. |
| ipv6Name | Name of the Ptr<Ipv6> on which you want to enable tracing. |
| interface | Interface on ipv6 on which you want to enable tracing. |
| explicitFilename | Treat the prefix as an explicit filename if true. |
void ns3::PcapHelperForIpv6::EnablePcapIpv6 |
( |
std::string |
prefix, |
|
|
Ptr< Ipv6 > |
ipv6, |
|
|
uint32_t |
interface, |
|
|
bool |
explicitFilename = false | |
|
) |
| | |
Enable pcap output the indicated Ipv6 and interface pair.
- Parameters:
-
| prefix | Filename prefix to use for pcap files. |
| ipv6 | Ptr<Ipv6> on which you want to enable tracing. |
| interface | Interface on ipv6 on which you want to enable tracing. |
| explicitFilename | Treat the prefix as an explicit filename if true. |
void ns3::PcapHelperForIpv6::EnablePcapIpv6All |
( |
std::string |
prefix |
) |
|
Enable pcap output on all Ipv6 and interface pairs existing in the set of all nodes created in the simulation.
- Parameters:
-
| prefix | Filename prefix to use for pcap files. |
The documentation for this class was generated from the following file:
- src/helper/trace-helper.h