A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
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

namespace  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.
 
typedef std::pair< Ptr< Ipv4 >, uint32_tns3::InterfacePairIpv4
 Ipv4/interface pair.
 
typedef std::map< InterfacePairIpv4, Ptr< OutputStreamWrapper > > ns3::InterfaceStreamMapIpv4
 Ipv4/interface and output stream container.
 

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.
 
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.
 
static void ns3::Ipv4L3ProtocolRxTxSink (Ptr< const Packet > p, Ptr< Ipv4 > ipv4, uint32_t interface)
 IPv4 Rx / Tx packet callback.
 

Variables

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

Macro Definition Documentation

◆ INTERFACE_CONTEXT

#define INTERFACE_CONTEXT

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