A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
internet-stack-helper.cc File Reference
#include "internet-stack-helper.h"
#include "ipv4-global-routing-helper.h"
#include "ipv4-list-routing-helper.h"
#include "ipv4-static-routing-helper.h"
#include "ipv6-static-routing-helper.h"
#include "ns3/arp-l3-protocol.h"
#include "ns3/assert.h"
#include "ns3/callback.h"
#include "ns3/config.h"
#include "ns3/global-router-interface.h"
#include "ns3/icmpv6-l4-protocol.h"
#include "ns3/ipv4-global-routing.h"
#include "ns3/ipv4.h"
#include "ns3/ipv6-extension-demux.h"
#include "ns3/ipv6-extension-header.h"
#include "ns3/ipv6-extension.h"
#include "ns3/ipv6.h"
#include "ns3/log.h"
#include "ns3/names.h"
#include "ns3/net-device.h"
#include "ns3/node-list.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/traffic-control-layer.h"
#include <limits>
#include <map>
+ Include dependency graph for 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< InterfacePairIpv6, Ptr< PcapFileWrapper > > ns3::InterfaceFileMapIpv6
 Ipv6/interface and Pcap file wrapper container.
 
typedef std::pair< uint32_t, uint32_tns3::InterfacePairIpv6
 Ipv6/interface pair.
 
typedef std::map< InterfacePairIpv6, Ptr< OutputStreamWrapper > > ns3::InterfaceStreamMapIpv6
 Ipv6/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)
 Sync function for IPv4 dropped packet - Ascii output.
 
static void ns3::Ipv4L3ProtocolDropSinkWithoutContext (Ptr< OutputStreamWrapper > stream, const Ipv4Header &header, Ptr< const Packet > packet, Ipv4L3Protocol::DropReason reason, Ptr< Ipv4 > ipv4, uint32_t interface)
 Sync function for IPv4 dropped packet - Ascii output.
 
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.
 
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.
 
static void ns3::Ipv4L3ProtocolRxTxSink (Ptr< const Packet > p, Ptr< Ipv4 > ipv4, uint32_t interface)
 Sync function for IPv4 packet - Pcap output.
 
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.
 
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.
 
static void ns3::Ipv6L3ProtocolDropSinkWithContext (Ptr< OutputStreamWrapper > stream, std::string context, const Ipv6Header &header, Ptr< const Packet > packet, Ipv6L3Protocol::DropReason reason, Ptr< Ipv6 > ipv6, uint32_t interface)
 Sync function for IPv6 dropped packet - Ascii output.
 
static void ns3::Ipv6L3ProtocolDropSinkWithoutContext (Ptr< OutputStreamWrapper > stream, const Ipv6Header &header, Ptr< const Packet > packet, Ipv6L3Protocol::DropReason reason, Ptr< Ipv6 > ipv6, uint32_t interface)
 Sync function for IPv6 dropped packet - Ascii output.
 
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.
 
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.
 
static void ns3::Ipv6L3ProtocolRxTxSink (Ptr< const Packet > p, Ptr< Ipv6 > ipv6, uint32_t interface)
 Sync function for IPv6 packet - Pcap output.
 
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.
 
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.
 

Variables

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

Macro Definition Documentation

◆ INTERFACE_CONTEXT

#define INTERFACE_CONTEXT

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