A Discrete-Event Network Simulator
API
Classes | Macros | Variables
olsr-routing-protocol-test-suite.cc File Reference
#include "ns3/test.h"
#include "ns3/olsr-routing-protocol.h"
#include "ns3/ipv4-header.h"

Go to the source code of this file.

Classes

class  OlsrMprTestCase
 Testcase for MPR computation mechanism. More...
 
class  OlsrProtocolTestSuite
 OLSR protocol test suite. More...
 

Macros

#define OLSR_WILL_ALWAYS   7
 Willingness for forwarding packets from other nodes: always. More...
 
#define OLSR_WILL_DEFAULT   3
 Willingness for forwarding packets from other nodes: medium. More...
 
#define OLSR_WILL_HIGH   6
 Willingness for forwarding packets from other nodes: high. More...
 
#define OLSR_WILL_LOW   1
 Willingness for forwarding packets from other nodes: low. More...
 
#define OLSR_WILL_NEVER   0
 Willingness for forwarding packets from other nodes: never. More...
 

Variables

static OlsrProtocolTestSuite g_olsrProtocolTestSuite
 Static variable for test initialization. More...
 

Macro Definition Documentation

◆ OLSR_WILL_ALWAYS

#define OLSR_WILL_ALWAYS   7

Willingness for forwarding packets from other nodes: always.

Definition at line 44 of file olsr-routing-protocol-test-suite.cc.

Referenced by OlsrMprTestCase::DoRun().

◆ OLSR_WILL_DEFAULT

#define OLSR_WILL_DEFAULT   3

Willingness for forwarding packets from other nodes: medium.

Definition at line 40 of file olsr-routing-protocol-test-suite.cc.

Referenced by OlsrMprTestCase::DoRun().

◆ OLSR_WILL_HIGH

#define OLSR_WILL_HIGH   6

Willingness for forwarding packets from other nodes: high.

Definition at line 42 of file olsr-routing-protocol-test-suite.cc.

◆ OLSR_WILL_LOW

#define OLSR_WILL_LOW   1

Willingness for forwarding packets from other nodes: low.

Definition at line 38 of file olsr-routing-protocol-test-suite.cc.

◆ OLSR_WILL_NEVER

#define OLSR_WILL_NEVER   0

Willingness for forwarding packets from other nodes: never.

Definition at line 36 of file olsr-routing-protocol-test-suite.cc.

Referenced by OlsrMprTestCase::DoRun().

Variable Documentation

◆ g_olsrProtocolTestSuite

OlsrProtocolTestSuite g_olsrProtocolTestSuite
static

Static variable for test initialization.

Definition at line 199 of file olsr-routing-protocol-test-suite.cc.