A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
csma-ping.cc File Reference
#include <iostream>
#include <fstream>
#include <string>
#include <cassert>
#include "ns3/core-module.h"
#include "ns3/network-module.h"
#include "ns3/csma-module.h"
#include "ns3/applications-module.h"
#include "ns3/internet-module.h"
+ Include dependency graph for csma-ping.cc:

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 
static void PingRtt (std::string context, Time rtt)
 
static void SinkRx (Ptr< const Packet > p, const Address &ad)
 

Function Documentation

static void PingRtt ( std::string  context,
Time  rtt 
)
static

Definition at line 46 of file csma-ping.cc.

Referenced by main().

+ Here is the caller graph for this function:

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

Definition at line 41 of file csma-ping.cc.

Referenced by main().

+ Here is the caller graph for this function: