A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::V4TraceRouteHelper Class Reference

Create a IPv4 traceroute application and associate it to a node. More...

#include "v4traceroute-helper.h"

+ Inheritance diagram for ns3::V4TraceRouteHelper:
+ Collaboration diagram for ns3::V4TraceRouteHelper:

Public Member Functions

 V4TraceRouteHelper (const Ipv4Address &remote)
 Create a V4TraceRouteHelper which is used to make life easier for people wanting to use TraceRoute.
 
- Public Member Functions inherited from ns3::ApplicationHelper
 ApplicationHelper (const std::string &typeId)
 Create an application of a given type ID.
 
 ApplicationHelper (TypeId typeId)
 Create an application of a given type ID.
 
int64_t AssignStreams (NodeContainer c, int64_t stream)
 Assigns a unique (monotonically increasing) stream number to all applications that match the configured type of this application helper instance.
 
ApplicationContainer Install (const std::string &nodeName)
 Install an application on the node configured with all the attributes set with SetAttribute.
 
ApplicationContainer Install (NodeContainer c)
 Install an application on each node of the input container configured with all the attributes set with SetAttribute.
 
ApplicationContainer Install (Ptr< Node > node)
 Install an application on the node configured with all the attributes set with SetAttribute.
 
void SetAttribute (const std::string &name, const AttributeValue &value)
 Helper function used to set the underlying application attributes.
 
void SetTypeId (const std::string &typeId)
 Allow the helper to be repurposed for another application type.
 
void SetTypeId (TypeId typeId)
 Allow the helper to be repurposed for another application type.
 

Static Public Member Functions

static void PrintTraceRouteAt (Ptr< Node > node, Ptr< OutputStreamWrapper > stream)
 Print the resulting trace routes from given node.
 
- Static Public Member Functions inherited from ns3::ApplicationHelper
static int64_t AssignStreamsToAllApps (NodeContainer c, int64_t stream)
 Assign a fixed random variable stream number to the random variables used by all the applications.
 

Additional Inherited Members

- Protected Member Functions inherited from ns3::ApplicationHelper
virtual Ptr< ApplicationDoInstall (Ptr< Node > node)
 Install an application on the node configured with all the attributes set with SetAttribute.
 
- Protected Attributes inherited from ns3::ApplicationHelper
ObjectFactory m_factory
 Object factory.
 

Detailed Description

Create a IPv4 traceroute application and associate it to a node.

This class creates one or multiple instances of ns3::V4TraceRoute and associates it/them to one/multiple node(s).

Definition at line 39 of file v4traceroute-helper.h.

Constructor & Destructor Documentation

◆ V4TraceRouteHelper()

ns3::V4TraceRouteHelper::V4TraceRouteHelper ( const Ipv4Address remote)

Create a V4TraceRouteHelper which is used to make life easier for people wanting to use TraceRoute.

Parameters
remoteThe address which should be traced

Definition at line 30 of file v4traceroute-helper.cc.

References ns3::ApplicationHelper::m_factory, and ns3::ObjectFactory::Set().

+ Here is the call graph for this function:

Member Function Documentation

◆ PrintTraceRouteAt()

void ns3::V4TraceRouteHelper::PrintTraceRouteAt ( Ptr< Node node,
Ptr< OutputStreamWrapper stream 
)
static

Print the resulting trace routes from given node.

Parameters
nodeThe origin node where the traceroute is initiated.
streamThe outputstream used to print the resulting traced routes.

Definition at line 37 of file v4traceroute-helper.cc.

References NS_ASSERT_MSG.


The documentation for this class was generated from the following files: