ns-3 Direct Code Execution
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ns3::Mip6dHelper Class Reference

create a umip (mip6d) daemon as an application and associate it to a node More...

#include <mip6d-helper.h>

Public Member Functions

 Mip6dHelper ()
void AddEgressInterface (Ptr< Node > node, const char *ifname)
void AddHaServedPrefix (Ptr< Node > node, Ipv6Address prefix, Ipv6Prefix plen)
void AddHomeAddress (Ptr< Node > node, Ipv6Address addr, Ipv6Prefix plen)
void AddHomeAgentAddress (Ptr< Node > node, Ipv6Address addr)
void AddMNProfileMAG (Ptr< Node > node, Mac48Address mn_id, Ipv6Address lma_addr, Ipv6Address home_pfx, Ipv6Prefix home_plen)
void AddMobileNetworkPrefix (Ptr< Node > node, Ipv6Address prefix, Ipv6Prefix plen)
void EnableDebug (NodeContainer nodes)
void EnableDSMIP6 (NodeContainer nodes)
void EnableHA (NodeContainer nodes)
void EnableLMA (Ptr< Node > node, const char *ifname)
void EnableMAG (Ptr< Node > node, const char *ifname, Ipv6Address addr)
void EnableMR (NodeContainer nodes)
ApplicationContainer Install (NodeContainer nodes)
ApplicationContainer Install (Ptr< Node > node)
ApplicationContainer Install (std::string nodeName)
void SetAttribute (std::string name, const AttributeValue &value)
 Configure ping applications attribute.
void SetBinary (NodeContainer nodes, std::string binary)
void UseManualConfig (NodeContainer nodes)

Private Member Functions

void GenerateConfig (Ptr< Node > node)
ApplicationContainer InstallPriv (Ptr< Node > node)

Detailed Description

create a umip (mip6d) daemon as an application and associate it to a node

Definition at line 36 of file mip6d-helper.h.

Constructor & Destructor Documentation

ns3::Mip6dHelper::Mip6dHelper ( )

Create a Mip6dHelper which is used to make life easier for people wanting to use mip6d Applications.

Definition at line 111 of file mip6d-helper.cc.

Member Function Documentation

void ns3::Mip6dHelper::AddEgressInterface ( Ptr< Node >  node,
const char *  ifname 
)

Definition at line 211 of file mip6d-helper.cc.

References ns3::Mip6dConfig::m_mr_egress_if.

void ns3::Mip6dHelper::AddHaServedPrefix ( Ptr< Node >  node,
Ipv6Address  prefix,
Ipv6Prefix  plen 
)

Definition at line 147 of file mip6d-helper.cc.

References ns3::Mip6dConfig::Print().

+ Here is the call graph for this function:

void ns3::Mip6dHelper::AddHomeAddress ( Ptr< Node >  node,
Ipv6Address  addr,
Ipv6Prefix  plen 
)

Definition at line 243 of file mip6d-helper.cc.

References ns3::Mip6dConfig::Print().

+ Here is the call graph for this function:

void ns3::Mip6dHelper::AddHomeAgentAddress ( Ptr< Node >  node,
Ipv6Address  addr 
)

Definition at line 226 of file mip6d-helper.cc.

References ns3::Mip6dConfig::Print().

+ Here is the call graph for this function:

void ns3::Mip6dHelper::AddMNProfileMAG ( Ptr< Node >  node,
Mac48Address  mn_id,
Ipv6Address  lma_addr,
Ipv6Address  home_pfx,
Ipv6Prefix  home_plen 
)
void ns3::Mip6dHelper::AddMobileNetworkPrefix ( Ptr< Node >  node,
Ipv6Address  prefix,
Ipv6Prefix  plen 
)

Definition at line 191 of file mip6d-helper.cc.

References ns3::Mip6dConfig::Print().

+ Here is the call graph for this function:

void ns3::Mip6dHelper::EnableDebug ( NodeContainer  nodes)

Definition at line 346 of file mip6d-helper.cc.

References ns3::Mip6dConfig::m_debug.

void ns3::Mip6dHelper::EnableDSMIP6 ( NodeContainer  nodes)

Definition at line 329 of file mip6d-helper.cc.

References ns3::Mip6dConfig::m_dsmip6enable.

void ns3::Mip6dHelper::EnableHA ( NodeContainer  nodes)

Definition at line 122 of file mip6d-helper.cc.

References ns3::Mip6dConfig::m_haenable, and ns3::LinuxSocketFdFactory::Set().

+ Here is the call graph for this function:

void ns3::Mip6dHelper::EnableLMA ( Ptr< Node >  node,
const char *  ifname 
)

Definition at line 263 of file mip6d-helper.cc.

References ns3::Mip6dConfig::m_haenable.

void ns3::Mip6dHelper::EnableMAG ( Ptr< Node >  node,
const char *  ifname,
Ipv6Address  addr 
)

Definition at line 278 of file mip6d-helper.cc.

References ns3::Mip6dConfig::m_magenable.

void ns3::Mip6dHelper::EnableMR ( NodeContainer  nodes)

Definition at line 168 of file mip6d-helper.cc.

References ns3::Mip6dConfig::m_mrenable, and ns3::LinuxSocketFdFactory::Set().

+ Here is the call graph for this function:

void ns3::Mip6dHelper::GenerateConfig ( Ptr< Node >  node)
private

Definition at line 394 of file mip6d-helper.cc.

References ns3::Mip6dConfig::m_lma_mag_ifname.

Referenced by InstallPriv().

+ Here is the caller graph for this function:

ApplicationContainer ns3::Mip6dHelper::Install ( NodeContainer  nodes)

Install a mip6d application on each Node in the provided NodeContainer.

Parameters
nodesThe NodeContainer containing all of the nodes to get a mip6d application via ProcessManager.
Returns
A list of mip6d applications, one for each input node

Definition at line 558 of file mip6d-helper.cc.

References InstallPriv().

+ Here is the call graph for this function:

ApplicationContainer ns3::Mip6dHelper::Install ( Ptr< Node >  node)

Install a mip6d application on the provided Node. The Node is specified directly by a Ptr<Node>

Parameters
nodeThe node to install the Application on.
Returns
An ApplicationContainer holding the mip6d application created.

Definition at line 545 of file mip6d-helper.cc.

References InstallPriv().

+ Here is the call graph for this function:

ApplicationContainer ns3::Mip6dHelper::Install ( std::string  nodeName)

Install a mip6d application on the provided Node. The Node is specified by a string that must have previosly been associated with a Node using the Object Name Service.

Parameters
nodeNameThe node to install the ProcessApplication on.
Returns
An ApplicationContainer holding the mip6d application created.

Definition at line 551 of file mip6d-helper.cc.

References InstallPriv().

+ Here is the call graph for this function:

ApplicationContainer ns3::Mip6dHelper::InstallPriv ( Ptr< Node >  node)
private
void ns3::Mip6dHelper::SetAttribute ( std::string  name,
const AttributeValue &  value 
)

Configure ping applications attribute.

Parameters
nameattribute's name
valueattribute's value

Definition at line 116 of file mip6d-helper.cc.

void ns3::Mip6dHelper::SetBinary ( NodeContainer  nodes,
std::string  binary 
)

Definition at line 378 of file mip6d-helper.cc.

void ns3::Mip6dHelper::UseManualConfig ( NodeContainer  nodes)

Definition at line 362 of file mip6d-helper.cc.


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