#include "ipv4-click-routing.h"
#include "ipv4-l3-click-protocol.h"
#include "ns3/ipv4-interface.h"
#include "ns3/log.h"
#include "ns3/mac48-address.h"
#include "ns3/node.h"
#include "ns3/random-variable-stream.h"
#include "ns3/simulator.h"
#include <click/simclick.h>
#include <cstdarg>
#include <cstdlib>
#include <map>
#include <string>
Go to the source code of this file.
Namespaces | |
namespace | ns3 |
Every class exported by the ns3 library is enclosed in the ns3 namespace. | |
Macros | |
#define | INTERFACE_ID_FIRST 1 |
#define | INTERFACE_ID_FIRST_DROP 33 |
#define | INTERFACE_ID_KERNELTAP 0 |
Functions | |
int | simclick_sim_command (simclick_node_t *simnode, int cmd,...) |
int | simclick_sim_send (simclick_node_t *simnode, int ifid, int type, const unsigned char *data, int len, simclick_simpacketinfo *pinfo) |
static int | simstrlcpy (char *buf, int len, const std::string &s) |
#define INTERFACE_ID_FIRST 1 |
Definition at line 33 of file ipv4-click-routing.cc.
Referenced by ns3::Ipv4ClickRouting::GetInterfaceId().
#define INTERFACE_ID_FIRST_DROP 33 |
Definition at line 34 of file ipv4-click-routing.cc.
Referenced by ns3::Ipv4ClickRouting::GetInterfaceId().
#define INTERFACE_ID_KERNELTAP 0 |
Definition at line 32 of file ipv4-click-routing.cc.
int simclick_sim_command | ( | simclick_node_t * | simnode, |
int | cmd, | ||
... ) |
Definition at line 635 of file ipv4-click-routing.cc.
References ns3::Ipv4ClickRouting::GetClickInstanceFromSimNode(), ns3::Simulator::Now(), NS_LOG_DEBUG, and simstrlcpy().
Referenced by ClickIfidFromNameTest::DoRun(), ClickIpMacAddressFromNameTest::DoRun(), and ClickTrivialTest::DoRun().
int simclick_sim_send | ( | simclick_node_t * | simnode, |
int | ifid, | ||
int | type, | ||
const unsigned char * | data, | ||
int | len, | ||
simclick_simpacketinfo * | pinfo ) |
Definition at line 609 of file ipv4-click-routing.cc.
References data, ns3::Ipv4ClickRouting::GetClickInstanceFromSimNode(), ns3::Simulator::Now(), NS_LOG_DEBUG, and ns3::Time::S.
|
static |
Definition at line 589 of file ipv4-click-routing.cc.
Referenced by simclick_sim_command().