A Discrete-Event Network Simulator
API
click-internet-stack-helper.cc File Reference
#include "click-internet-stack-helper.h"
#include "ns3/arp-l3-protocol.h"
#include "ns3/assert.h"
#include "ns3/callback.h"
#include "ns3/config.h"
#include "ns3/core-config.h"
#include "ns3/ipv4-click-routing.h"
#include "ns3/ipv4-l3-click-protocol.h"
#include "ns3/ipv4.h"
#include "ns3/log.h"
#include "ns3/names.h"
#include "ns3/net-device.h"
#include "ns3/node.h"
#include "ns3/object.h"
#include "ns3/packet-socket-factory.h"
#include "ns3/simulator.h"
#include "ns3/string.h"
#include "ns3/trace-helper.h"
#include <limits>
#include <map>
+ Include dependency graph for click-internet-stack-helper.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_CONTEXT
 

Typedefs

typedef std::map< InterfacePairIpv4, Ptr< PcapFileWrapper > > ns3::InterfaceFileMapIpv4
 Ipv4/interface and Pcap file wrapper container. More...
 
typedef std::pair< Ptr< Ipv4 >, uint32_t > ns3::InterfacePairIpv4
 Ipv4/interface pair. More...
 
typedef std::map< InterfacePairIpv4, Ptr< OutputStreamWrapper > > ns3::InterfaceStreamMapIpv4
 Ipv4/interface and output stream container. More...
 

Functions

static void ns3::Ipv4L3ProtocolDropSinkWithContext (Ptr< OutputStreamWrapper > stream, std::string context, const Ipv4Header &header, Ptr< const Packet > packet, Ipv4L3Protocol::DropReason reason, Ptr< Ipv4 > ipv4, uint32_t interface)
 Packet dropped callback with context. More...
 
static void ns3::Ipv4L3ProtocolDropSinkWithoutContext (Ptr< OutputStreamWrapper > stream, const Ipv4Header &header, Ptr< const Packet > packet, Ipv4L3Protocol::DropReason reason, Ptr< Ipv4 > ipv4, uint32_t interface)
 Packet dropped callback without context. More...
 
static void ns3::Ipv4L3ProtocolRxTxSink (Ptr< const Packet > p, Ptr< Ipv4 > ipv4, uint32_t interface)
 IPv4 Rx / Tx packet callback. More...
 

Variables

static InterfaceFileMapIpv4 ns3::g_interfaceFileMapIpv4
 A mapping of Ipv4/interface pairs to pcap files. More...
 
static InterfaceStreamMapIpv4 ns3::g_interfaceStreamMapIpv4
 A mapping of Ipv4/interface pairs to ascii streams. More...
 

Macro Definition Documentation

◆ INTERFACE_CONTEXT

#define INTERFACE_CONTEXT

Definition at line 50 of file click-internet-stack-helper.cc.