A Discrete-Event Network Simulator
API
topology-example-sim.cc File Reference
#include "ns3/applications-module.h"
#include "ns3/core-module.h"
#include "ns3/internet-module.h"
#include "ns3/network-module.h"
#include "ns3/nix-vector-helper.h"
#include "ns3/point-to-point-module.h"
#include "ns3/topology-read-module.h"
#include <ctime>
#include <list>
#include <sstream>
+ Include dependency graph for topology-example-sim.cc:

Go to the source code of this file.

Functions

static void SinkRx (Ptr< const Packet > p, const Address &ad)
 Print the TTL of received packet. More...
 

Function Documentation

◆ SinkRx()

static void SinkRx ( Ptr< const Packet p,
const Address ad 
)
static

Print the TTL of received packet.

Parameters
preceived packet
adsender address

Definition at line 60 of file topology-example-sim.cc.

References nsclick-simple-lan::ipv4, and ns3::Packet::PeekHeader().

+ Here is the call graph for this function: