#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"
Go to the source code of this file.
Classes | |
class | RoutingExperiment |
Functions | |
int | main (int argc, char *argv[]) |
NS_LOG_COMPONENT_DEFINE ("manet-routing-compare") | |
static std::string | PrintReceivedPacket (Ptr< Socket > socket, Ptr< Packet > packet) |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 201 of file manet-routing-compare.cc.
References RoutingExperiment::CommandSetup(), experiment(), and RoutingExperiment::Run().
NS_LOG_COMPONENT_DEFINE | ( | "manet-routing-compare" | ) |
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().