A Discrete-Event Network Simulator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
nms-p2p-nix.cc File Reference
#include <cstdlib>
#include <sys/time.h>
#include <fstream>
#include "ns3/core-module.h"
#include "ns3/internet-module.h"
#include "ns3/network-module.h"
#include "ns3/point-to-point-module.h"
#include "ns3/applications-module.h"
#include "ns3/onoff-application.h"
#include "ns3/packet-sink.h"
#include "ns3/simulator.h"
#include "ns3/ipv4-static-routing-helper.h"
#include "ns3/ipv4-list-routing-helper.h"
#include "ns3/ipv4-nix-vector-helper.h"
+ Include dependency graph for nms-p2p-nix.cc:

Go to the source code of this file.


class  Array2D< T >
class  Array3D< T >


#define TIMER_DIFF(_t1, _t2)   (TIMER_SECONDS (_t1)-TIMER_SECONDS (_t2))
#define TIMER_NOW(_t)   gettimeofday (&_t,NULL);
#define TIMER_SECONDS(_t)   ((double)(_t).tv_sec + (_t).tv_usec*1e-6)


typedef struct timeval TIMER_TYPE


int main (int argc, char *argv[])
 NS_LOG_COMPONENT_DEFINE ("CampusNetworkModel")
void Progress ()

Macro Definition Documentation

#define TIMER_DIFF (   _t1,

Definition at line 56 of file nms-p2p-nix.cc.

Referenced by main().

#define TIMER_NOW (   _t)    gettimeofday (&_t,NULL);

Definition at line 54 of file nms-p2p-nix.cc.

Referenced by main().

#define TIMER_SECONDS (   _t)    ((double)(_t).tv_sec + (_t).tv_usec*1e-6)

Definition at line 55 of file nms-p2p-nix.cc.

Typedef Documentation

typedef struct timeval TIMER_TYPE

Definition at line 53 of file nms-p2p-nix.cc.

Function Documentation

NS_LOG_COMPONENT_DEFINE ( "CampusNetworkModel"  )
void Progress ( )

Definition at line 60 of file nms-p2p-nix.cc.

References ns3::Simulator::Schedule().

Referenced by main().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: