Click test suite. More...
#include "ns3/click-internet-stack-helper.h"
#include "ns3/ipv4-click-routing.h"
#include "ns3/ipv4-l3-protocol.h"
#include "ns3/log.h"
#include "ns3/node.h"
#include "ns3/simple-net-device.h"
#include "ns3/test.h"
#include <click/simclick.h>
#include <string>
Go to the source code of this file.
Classes | |
class | ClickIfidFromNameTest |
Click interface ID from name test. More... | |
class | ClickIfidFromNameTestSuite |
Click interface ID from name test. More... | |
class | ClickIpMacAddressFromNameTest |
Click IP MAC address from name test. More... | |
class | ClickTrivialTest |
Click trivial test. More... | |
Functions | |
static void | AddClickInternetStack (Ptr< Node > node) |
Add Click Internet stack. More... | |
static void | AddNetworkDevice (Ptr< Node > node, Mac48Address macaddr, Ipv4Address ipv4addr, Ipv4Mask ipv4mask) |
Add network device. More... | |
Variables | |
static ClickIfidFromNameTestSuite | g_ipv4ClickRoutingTestSuite |
Static variable for test initialization. More... | |
Click test suite.
Definition in file ipv4-click-routing-test.cc.
Add Click Internet stack.
node | Node. |
Definition at line 45 of file ipv4-click-routing-test.cc.
References nsclick-simple-lan::internet.
Referenced by ClickIfidFromNameTest::DoRun(), ClickIpMacAddressFromNameTest::DoRun(), and ClickTrivialTest::DoRun().
|
static |
Add network device.
node | Node. |
macaddr | MAC address. |
ipv4addr | IPv4 address. |
ipv4mask | IPv4 mask. |
Definition at line 61 of file ipv4-click-routing-test.cc.
References ns3::Node::AddDevice(), ns3::Object::GetObject(), and nsclick-simple-lan::ipv4.
Referenced by ClickIfidFromNameTest::DoRun(), ClickIpMacAddressFromNameTest::DoRun(), and ClickTrivialTest::DoRun().
|
static |
Static variable for test initialization.
Definition at line 255 of file ipv4-click-routing-test.cc.