A Discrete-Event Network Simulator
API
dsr-rcache.h File Reference
#include <map>
#include <stdint.h>
#include <cassert>
#include <sys/types.h>
#include <iostream>
#include <vector>
#include "ns3/simulator.h"
#include "ns3/timer.h"
#include "ns3/simple-ref-count.h"
#include "ns3/header.h"
#include "ns3/enum.h"
#include "ns3/ipv4-address.h"
#include "ns3/nstime.h"
#include "ns3/ipv4.h"
#include "ns3/ipv4-route.h"
#include "ns3/net-device.h"
#include "ns3/ipv4-l3-protocol.h"
#include "ns3/callback.h"
#include "ns3/arp-cache.h"
#include "dsr-option-header.h"
+ Include dependency graph for dsr-rcache.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ns3::dsr::DsrLinkStab
 DsrLinkStab class (DSR link stability) More...
 
class  ns3::dsr::DsrNodeStab
 DsrNodeStab class (DSR node stability) More...
 
class  ns3::dsr::DsrRouteCache
 DSR route request queue Since DSR is an on demand routing we queue requests while looking for route. More...
 
class  ns3::dsr::DsrRouteCacheEntry
 DsrRouteCacheEntry class for entries in the route cache. More...
 
struct  ns3::dsr::Link
 The route cache structure. More...
 
struct  ns3::dsr::DsrRouteCache::Neighbor
 Structure to manage neighbor state. More...
 

Namespaces

 ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 
 ns3::dsr
 

Macros

#define MAXWEIGHT   0xFFFF;
 The link cache to update all the link status, bi-link is two link for link is a struct when the weight is calculated we normalized them: 100*weight/max of Weight. More...
 

Macro Definition Documentation

◆ MAXWEIGHT

#define MAXWEIGHT   0xFFFF;

The link cache to update all the link status, bi-link is two link for link is a struct when the weight is calculated we normalized them: 100*weight/max of Weight.

Definition at line 782 of file dsr-rcache.h.

Referenced by ns3::dsr::DsrRouteCache::RebuildBestRouteTable().