ns2 Network Simulator      C++ Class Hierarchy of version ns-snapshot-20040722
Home |  Source Code |  Manual |  FAQ |  Mailing List Archive |  Search |  Download | 


Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

ns-2/dsr/dsragent.cc File Reference

#include <assert.h>
#include <math.h>
#include <stdio.h>
#include <signal.h>
#include <float.h>
#include <object.h>
#include <agent.h>
#include <trace.h>
#include <packet.h>
#include <scheduler.h>
#include <random.h>
#include <mac.h>
#include <ll.h>
#include <cmu-trace.h>
#include "path.h"
#include "srpacket.h"
#include "routecache.h"
#include "requesttable.h"
#include "dsragent.h"

Compounds

class  DSRAgentClass

Defines

#define NEW_SALVAGE_LOGIC

Functions

bool BackOffTest (Entry *e, Time time)
GratReplyHoldDownFindGratHoldDown (GratReplyHoldDown *hd, int sz, Path &query)
void XmitFailureCallback (Packet *pkt, void *data)
void XmitFlowFailureCallback (Packet *pkt, void *data)

Variables

int dsr_salvage_max_attempts = 15
int dsr_salvage_max_requests = 1
bool dsr_salvage_allow_propagating = 0
const bool dsragent_enable_flowstate = true
const bool dsragent_prefer_default_flow = true
const bool dsragent_prefer_shorter_over_default = true
const bool dsragent_always_reestablish = true
const int min_adv_interval = 5
const int default_flow_timeout = 60
const int verbose = 0
const int verbose_srr = 0
const int verbose_ssalv = 1
Time arp_timeout = 30.0e-3
Time rt_rq_period = 0.5
Time rt_rq_max_period = 10.0
Time grat_hold_down_time = 1.0
Time max_err_hold = 1.0
bool dsragent_snoop_forwarded_errors = true
bool dsragent_snoop_source_routes = true
bool dsragent_reply_only_to_first_rtreq = false
bool dsragent_propagate_last_error = true
bool dsragent_send_grat_replies = true
bool dsragent_salvage_with_cache = true
bool dsragent_use_tap = true
bool dsragent_reply_from_cache_on_propagating = true
bool dsragent_ring_zero_search = true
bool dsragent_dont_salvage_bad_replies = true
bool dsragent_require_bi_routes = true
DSRAgentClass class_DSRAgent
int64_t dsr_tap = 0
int64_t dsr_tap_skip = 0

Define Documentation

#define NEW_SALVAGE_LOGIC
 


Function Documentation

bool BackOffTest Entry   e,
Time    time
[static]
 

GratReplyHoldDown* FindGratHoldDown GratReplyHoldDown   hd,
int    sz,
Path   query
[static]
 

void XmitFailureCallback Packet   pkt,
void *    data
 

void XmitFlowFailureCallback Packet   pkt,
void *    data
 


Variable Documentation

Time arp_timeout = 30.0e-3
 

DSRAgentClass class_DSRAgent [static]
 

const int default_flow_timeout = 60 [static]
 

bool dsr_salvage_allow_propagating = 0 [static]
 

int dsr_salvage_max_attempts = 15 [static]
 

int dsr_salvage_max_requests = 1 [static]
 

int64_t dsr_tap = 0
 

int64_t dsr_tap_skip = 0
 

const bool dsragent_always_reestablish = true [static]
 

bool dsragent_dont_salvage_bad_replies = true
 

const bool dsragent_enable_flowstate = true [static]
 

const bool dsragent_prefer_default_flow = true [static]
 

const bool dsragent_prefer_shorter_over_default = true [static]
 

bool dsragent_propagate_last_error = true
 

bool dsragent_reply_from_cache_on_propagating = true
 

bool dsragent_reply_only_to_first_rtreq = false
 

bool dsragent_require_bi_routes = true
 

bool dsragent_ring_zero_search = true
 

bool dsragent_salvage_with_cache = true
 

bool dsragent_send_grat_replies = true
 

bool dsragent_snoop_forwarded_errors = true
 

bool dsragent_snoop_source_routes = true
 

bool dsragent_use_tap = true
 

Time grat_hold_down_time = 1.0
 

Time max_err_hold = 1.0
 

const int min_adv_interval = 5 [static]
 

Time rt_rq_max_period = 10.0
 

Time rt_rq_period = 0.5
 

const int verbose = 0 [static]
 

const int verbose_srr = 0 [static]
 

const int verbose_ssalv = 1 [static]
 


This document is generated by doxygen.