A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
olsr-hna.cc File Reference
#include "ns3/core-module.h"
#include "ns3/csma-module.h"
#include "ns3/internet-module.h"
#include "ns3/mobility-module.h"
#include "ns3/network-module.h"
#include "ns3/olsr-helper.h"
#include "ns3/olsr-routing-protocol.h"
#include "ns3/yans-wifi-helper.h"
#include <fstream>
#include <iostream>
#include <string>
#include <vector>
+ Include dependency graph for olsr-hna.cc:

Go to the source code of this file.

Functions

static void GenerateTraffic (Ptr< Socket > socket, uint32_t pktSize, uint32_t pktCount, Time pktInterval)
 
void ReceivePacket (Ptr< Socket > socket)
 

Function Documentation

◆ GenerateTraffic()

static void GenerateTraffic ( Ptr< Socket > socket,
uint32_t pktSize,
uint32_t pktCount,
Time pktInterval )
static

Definition at line 66 of file olsr-hna.cc.

References ns3::Create(), GenerateTraffic(), pktSize, and ns3::Simulator::Schedule().

Referenced by GenerateTraffic().

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

◆ ReceivePacket()

void ReceivePacket ( Ptr< Socket > socket)

Definition at line 60 of file olsr-hna.cc.

References NS_LOG_UNCOND.