A Discrete-Event Network Simulator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
manet-routing-compare.cc File Reference
#include <fstream>
#include <iostream>
#include "ns3/core-module.h"
#include "ns3/network-module.h"
#include "ns3/internet-module.h"
#include "ns3/mobility-module.h"
#include "ns3/wifi-module.h"
#include "ns3/aodv-module.h"
#include "ns3/olsr-module.h"
#include "ns3/dsdv-module.h"
#include "ns3/dsr-module.h"
#include "ns3/applications-module.h"
+ Include dependency graph for manet-routing-compare.cc:

Go to the source code of this file.


class  RoutingExperiment


int main (int argc, char *argv[])
static std::string PrintReceivedPacket (Ptr< Socket > socket, Ptr< Packet > packet)

Function Documentation

int main ( int  argc,
char *  argv[] 

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

References RoutingExperiment::CommandSetup(), experiment(), and RoutingExperiment::Run().

+ Here is the call graph for this function:

static std::string PrintReceivedPacket ( Ptr< Socket socket,
Ptr< Packet packet 

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

References ns3::SocketAddressTag::GetAddress(), ns3::Node::GetId(), ns3::InetSocketAddress::GetIpv4(), ns3::Socket::GetNode(), ns3::Time::GetSeconds(), ns3::Now(), and ns3::Packet::PeekPacketTag().

Referenced by RoutingExperiment::ReceivePacket().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: