NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
ns3::ndn::ScenarioHelper::RouteInfo Struct Reference

Route information for addRoutes method. More...

#include <ndn-scenario-helper.hpp>

Collaboration diagram for ns3::ndn::ScenarioHelper::RouteInfo:

Public Attributes

std::string node1
std::string node2
Name prefix
int32_t metric

Detailed Description

Route information for addRoutes method.

It is preferred to use initializer list to indirectly pass RouteInfo's to addRoutes method.

Definition at line 72 of file ndn-scenario-helper.hpp.

Member Data Documentation

◆ node1

std::string ns3::ndn::ScenarioHelper::RouteInfo::node1

Definition at line 74 of file ndn-scenario-helper.hpp.

◆ node2

std::string ns3::ndn::ScenarioHelper::RouteInfo::node2

Definition at line 75 of file ndn-scenario-helper.hpp.

◆ prefix

Name ns3::ndn::ScenarioHelper::RouteInfo::prefix

Definition at line 76 of file ndn-scenario-helper.hpp.

◆ metric

int32_t ns3::ndn::ScenarioHelper::RouteInfo::metric

Definition at line 77 of file ndn-scenario-helper.hpp.

The documentation for this struct was generated from the following file: