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

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 49 of file topology-example-sim.cc.