A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
internet-stack-helper.cc File Reference
#include "ns3/assert.h"
#include "ns3/log.h"
#include "ns3/object.h"
#include "ns3/names.h"
#include "ns3/ipv4.h"
#include "ns3/ipv6.h"
#include "ns3/packet-socket-factory.h"
#include "ns3/config.h"
#include "ns3/simulator.h"
#include "ns3/string.h"
#include "ns3/net-device.h"
#include "ns3/callback.h"
#include "ns3/node.h"
#include "ns3/node-list.h"
#include "ns3/core-config.h"
#include "ns3/arp-l3-protocol.h"
#include "internet-stack-helper.h"
#include "ns3/ipv4-global-routing.h"
#include "ns3/ipv4-list-routing-helper.h"
#include "ns3/ipv4-static-routing-helper.h"
#include "ns3/ipv4-global-routing-helper.h"
#include "ns3/ipv6-list-routing-helper.h"
#include "ns3/ipv6-static-routing-helper.h"
#include "ns3/ipv6-extension.h"
#include "ns3/ipv6-extension-demux.h"
#include "ns3/ipv6-extension-header.h"
#include "ns3/icmpv6-l4-protocol.h"
#include "ns3/global-router-interface.h"
#include <limits>
#include <map>
+ Include dependency graph for 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::map
< InterfacePairIpv6, Ptr
< PcapFileWrapper > > 
ns3::InterfaceFileMapIpv6
 Ipv6/interface and Pcap file wrapper container. More...
 
typedef std::pair< Ptr< Ipv4 >
, uint32_t > 
ns3::InterfacePairIpv4
 Ipv4/interface pair. More...
 
typedef std::pair< Ptr< Ipv6 >
, uint32_t > 
ns3::InterfacePairIpv6
 Ipv6/interface pair. More...
 
typedef std::map
< InterfacePairIpv4, Ptr
< OutputStreamWrapper > > 
ns3::InterfaceStreamMapIpv4
 Ipv4/interface and output stream container. More...
 
typedef std::map
< InterfacePairIpv6, Ptr
< OutputStreamWrapper > > 
ns3::InterfaceStreamMapIpv6
 Ipv6/interface and output stream container. More...
 

Functions

static void ns3::Ipv4L3ProtocolDropSinkWithContext (Ptr< OutputStreamWrapper > stream, std::string context, Ipv4Header const &header, Ptr< const Packet > packet, Ipv4L3Protocol::DropReason reason, Ptr< Ipv4 > ipv4, uint32_t interface)
 Sync function for IPv4 dropped packet - Ascii output. More...
 
static void ns3::Ipv4L3ProtocolDropSinkWithoutContext (Ptr< OutputStreamWrapper > stream, Ipv4Header const &header, Ptr< const Packet > packet, Ipv4L3Protocol::DropReason reason, Ptr< Ipv4 > ipv4, uint32_t interface)
 Sync function for IPv4 dropped packet - Ascii output. More...
 
static void ns3::Ipv4L3ProtocolRxSinkWithContext (Ptr< OutputStreamWrapper > stream, std::string context, Ptr< const Packet > packet, Ptr< Ipv4 > ipv4, uint32_t interface)
 Sync function for IPv4 received packet - Ascii output. More...
 
static void ns3::Ipv4L3ProtocolRxSinkWithoutContext (Ptr< OutputStreamWrapper > stream, Ptr< const Packet > packet, Ptr< Ipv4 > ipv4, uint32_t interface)
 Sync function for IPv4 received packet - Ascii output. More...
 
static void ns3::Ipv4L3ProtocolRxTxSink (Ptr< const Packet > p, Ptr< Ipv4 > ipv4, uint32_t interface)
 Sync function for IPv4 packet - Pcap output. More...
 
static void ns3::Ipv4L3ProtocolTxSinkWithContext (Ptr< OutputStreamWrapper > stream, std::string context, Ptr< const Packet > packet, Ptr< Ipv4 > ipv4, uint32_t interface)
 Sync function for IPv4 transmitted packet - Ascii output. More...
 
static void ns3::Ipv4L3ProtocolTxSinkWithoutContext (Ptr< OutputStreamWrapper > stream, Ptr< const Packet > packet, Ptr< Ipv4 > ipv4, uint32_t interface)
 Sync function for IPv4 transmitted packet - Ascii output. More...
 
static void ns3::Ipv6L3ProtocolDropSinkWithContext (Ptr< OutputStreamWrapper > stream, std::string context, Ipv6Header const &header, Ptr< const Packet > packet, Ipv6L3Protocol::DropReason reason, Ptr< Ipv6 > ipv6, uint32_t interface)
 Sync function for IPv6 dropped packet - Ascii output. More...
 
static void ns3::Ipv6L3ProtocolDropSinkWithoutContext (Ptr< OutputStreamWrapper > stream, Ipv6Header const &header, Ptr< const Packet > packet, Ipv6L3Protocol::DropReason reason, Ptr< Ipv6 > ipv6, uint32_t interface)
 Sync function for IPv6 dropped packet - Ascii output. More...
 
static void ns3::Ipv6L3ProtocolRxSinkWithContext (Ptr< OutputStreamWrapper > stream, std::string context, Ptr< const Packet > packet, Ptr< Ipv6 > ipv6, uint32_t interface)
 Sync function for IPv6 received packet - Ascii output. More...
 
static void ns3::Ipv6L3ProtocolRxSinkWithoutContext (Ptr< OutputStreamWrapper > stream, Ptr< const Packet > packet, Ptr< Ipv6 > ipv6, uint32_t interface)
 Sync function for IPv6 received packet - Ascii output. More...
 
static void ns3::Ipv6L3ProtocolRxTxSink (Ptr< const Packet > p, Ptr< Ipv6 > ipv6, uint32_t interface)
 Sync function for IPv6 packet - Pcap output. More...
 
static void ns3::Ipv6L3ProtocolTxSinkWithContext (Ptr< OutputStreamWrapper > stream, std::string context, Ptr< const Packet > packet, Ptr< Ipv6 > ipv6, uint32_t interface)
 Sync function for IPv6 transmitted packet - Ascii output. More...
 
static void ns3::Ipv6L3ProtocolTxSinkWithoutContext (Ptr< OutputStreamWrapper > stream, Ptr< const Packet > packet, Ptr< Ipv6 > ipv6, uint32_t interface)
 Sync function for IPv6 transmitted packet - Ascii output. More...
 

Variables

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

Macro Definition Documentation

#define INTERFACE_CONTEXT

Definition at line 194 of file internet-stack-helper.cc.