#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 | |
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 44 of file ipv4-click-routing.cc.
#define INTERFACE_ID_FIRST_DROP 33 |
Definition at line 45 of file ipv4-click-routing.cc.
#define INTERFACE_ID_KERNELTAP 0 |
Definition at line 43 of file ipv4-click-routing.cc.
int simclick_sim_command | ( | simclick_node_t * | simnode, |
int | cmd, | ||
... | |||
) |
Definition at line 646 of file ipv4-click-routing.cc.
References second::cmd, ns3::Ipv4ClickRouting::GetClickInstanceFromSimNode(), ns3::Ipv4ClickRouting::GetDefines(), ns3::Ipv4ClickRouting::GetInterfaceId(), ns3::Ipv4ClickRouting::GetIpAddressFromInterfaceId(), ns3::Ipv4ClickRouting::GetIpPrefixFromInterfaceId(), ns3::Ipv4ClickRouting::GetMacAddressFromInterfaceId(), ns3::Ipv4ClickRouting::GetNodeName(), ns3::Ipv4ClickRouting::GetRandomVariable(), ns3::UniformRandomVariable::GetValue(), ns3::Ipv4ClickRouting::HandleScheduleFromClick(), ns3::Ipv4ClickRouting::IsInterfaceReady(), ns3::Simulator::Now(), NS_LOG_DEBUG, ns3::Ipv4ClickRouting::SetPromisc(), 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 620 of file ipv4-click-routing.cc.
References data, ns3::Ipv4ClickRouting::GetClickInstanceFromSimNode(), ns3::Ipv4ClickRouting::HandlePacketFromClick(), ns3::Simulator::Now(), NS_LOG_DEBUG, ns3::Time::S, and check-style-clang-format::type.
|
static |
Definition at line 600 of file ipv4-click-routing.cc.
Referenced by simclick_sim_command().