A Discrete-Event Network Simulator
API
ipv4-click-routing.cc File Reference
#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>
+ Include dependency graph for ipv4-click-routing.cc:

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)
 

Macro Definition Documentation

◆ INTERFACE_ID_FIRST

#define INTERFACE_ID_FIRST   1

Definition at line 44 of file ipv4-click-routing.cc.

◆ INTERFACE_ID_FIRST_DROP

#define INTERFACE_ID_FIRST_DROP   33

Definition at line 45 of file ipv4-click-routing.cc.

◆ INTERFACE_ID_KERNELTAP

#define INTERFACE_ID_KERNELTAP   0

Definition at line 43 of file ipv4-click-routing.cc.

Function Documentation

◆ simclick_sim_command()

◆ simclick_sim_send()

int simclick_sim_send ( simclick_node_t simnode,
int  ifid,
int  type,
const unsigned char *  data,
int  len,
simclick_simpacketinfo *  pinfo 
)

◆ simstrlcpy()

static int simstrlcpy ( char *  buf,
int  len,
const std::string &  s 
)
static

Definition at line 600 of file ipv4-click-routing.cc.

Referenced by simclick_sim_command().

+ Here is the caller graph for this function: