A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
sixlowpan-nd-test-utils.cc File Reference
#include "sixlowpan-nd-test-utils.h"
#include <algorithm>
#include <iomanip>
#include <regex>
#include <sstream>
#include <vector>
Include dependency graph for sixlowpan-nd-test-utils.cc:

Go to the source code of this file.

Namespaces

namespace  ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.

Functions

std::string ns3::GenerateBindingTableOutput (uint32_t numNodes, Time time)
 Generate expected binding table output for a star topology.
std::string ns3::GenerateNdiscCacheOutput (uint32_t numNodes, Time time)
 Generate expected NDisc cache output for a star topology.
std::string ns3::GenerateRoutingTableOutput (uint32_t numNodes, Time time)
 Generate expected routing table output for a star topology.
static std::string ns3::GlobalAddr (uint32_t i)
 Global unicast address for leaf node index i.
static std::string ns3::LinkLocalAddr (uint32_t i)
 Link-local address for leaf node index i.
static std::string ns3::LLAddr (uint32_t i)
 Link-layer address for leaf node index i.
static std::string ns3::NodeHeader (uint32_t nodeId, Time time, const std::string &protocol)
 Format a node/time/protocol header line as printed by ns-3 routing helpers.
std::string ns3::NormalizeNdiscCacheStates (const std::string &ndiscOutput)
 Replace STALE with REACHABLE in an NDisc cache output string.
std::string ns3::SortRoutingTableString (std::string routingTable)
 Sort the host-route entries in node 0's routing table block numerically.