A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
manet-routing-compare.cc File Reference
#include "ns3/aodv-module.h"
#include "ns3/applications-module.h"
#include "ns3/core-module.h"
#include "ns3/dsdv-module.h"
#include "ns3/dsr-module.h"
#include "ns3/flow-monitor-module.h"
#include "ns3/internet-module.h"
#include "ns3/mobility-module.h"
#include "ns3/network-module.h"
#include "ns3/olsr-module.h"
#include "ns3/yans-wifi-helper.h"
#include <fstream>
#include <iostream>
+ Include dependency graph for manet-routing-compare.cc:

Go to the source code of this file.

Classes

class  RoutingExperiment
 Routing experiment class. More...
 

Functions

static std::string PrintReceivedPacket (Ptr< Socket > socket, Ptr< Packet > packet, Address senderAddress)
 

Function Documentation

◆ PrintReceivedPacket()

static std::string PrintReceivedPacket ( Ptr< Socket socket,
Ptr< Packet packet,
Address  senderAddress 
)
inlinestatic

Definition at line 143 of file manet-routing-compare.cc.

References ns3::InetSocketAddress::ConvertFrom(), ns3::InetSocketAddress::GetIpv4(), ns3::Time::GetSeconds(), ns3::InetSocketAddress::IsMatchingType(), and ns3::Simulator::Now().

Referenced by RoutingExperiment::ReceivePacket().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: