Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

constants.hh File Reference

#include "config.hh"
#include "utl/timeval.hh"
#include "cst/params.hh"

Go to the source code of this file.

Namespaces

namespace  olsr
namespace  olsr::cst

Defines

#define QOLYESTER_CST_CONSTANTS_HH   1
#define OLSR_PORT_NUMBER   698
#define C_CONSTANT   .0625f
#define RTPROT_OLSR   15
#define WILL_NEVER   0
#define WILL_LOW   1
#define WILL_DEFAULT   3
#define WILL_HIGH   6
#define WILL_ALWAYS   7
#define UNSPEC_LINK   0
#define ASYM_LINK   1
#define SYM_LINK   2
#define LOST_LINK   3
#define LOWEST_LINK   UNSPEC_LINK
#define HIGHEST_LINK   LOST_LINK
#define NOT_NEIGH   0
#define SYM_NEIGH   1
#define MPR_NEIGH   2
#define LOWEST_NEIGH   NOT_NEIGH
#define HIGHEST_NEIGH   MPR_NEIGH
#define HELLO_MESSAGE   1
#define TC_MESSAGE   2
#define MID_MESSAGE   3
#define HNA_MESSAGE   4
#define VIRTUAL_MTU   1500
#define VIRTUAL_SOCKNAME   "/tmp/qolsrd.switch"

Variables

const timeval_t def_hello_interval = 2000
const timeval_t def_refresh_interval = 2000
const timeval_t def_tc_interval = 5000
const timeval_t def_neighb_hold_time = def_refresh_interval * 3
const timeval_t def_top_hold_time = def_tc_interval * 3
const timeval_t def_dup_hold_time = 30000
const timeval_t def_maxjitter = def_hello_interval / 4
const timeval_t def_gc_interval = 5000
const timeval_t def_dump_interval = 1000
const unsigned def_willingness = QOLYESTER_DEFAULT_WILLINGNESS


Define Documentation

#define ASYM_LINK   1
 

#define C_CONSTANT   .0625f
 

#define HELLO_MESSAGE   1
 

#define HIGHEST_LINK   LOST_LINK
 

#define HIGHEST_NEIGH   MPR_NEIGH
 

#define HNA_MESSAGE   4
 

#define LOST_LINK   3
 

#define LOWEST_LINK   UNSPEC_LINK
 

#define LOWEST_NEIGH   NOT_NEIGH
 

#define MID_MESSAGE   3
 

#define MPR_NEIGH   2
 

#define NOT_NEIGH   0
 

#define OLSR_PORT_NUMBER   698
 

#define QOLYESTER_CST_CONSTANTS_HH   1
 

#define RTPROT_OLSR   15
 

#define SYM_LINK   2
 

#define SYM_NEIGH   1
 

#define TC_MESSAGE   2
 

#define UNSPEC_LINK   0
 

#define VIRTUAL_MTU   1500
 

#define VIRTUAL_SOCKNAME   "/tmp/qolsrd.switch"
 

#define WILL_ALWAYS   7
 

#define WILL_DEFAULT   3
 

#define WILL_HIGH   6
 

#define WILL_LOW   1
 

#define WILL_NEVER   0
 


Variable Documentation

const timeval_t olsr::cst::def_dump_interval = 1000
 

const timeval_t olsr::cst::def_dup_hold_time = 30000
 

const timeval_t olsr::cst::def_gc_interval = 5000
 

const timeval_t olsr::cst::def_hello_interval = 2000
 

const timeval_t olsr::cst::def_maxjitter = def_hello_interval / 4
 

const timeval_t olsr::cst::def_neighb_hold_time = def_refresh_interval * 3
 

const timeval_t olsr::cst::def_refresh_interval = 2000
 

const timeval_t olsr::cst::def_tc_interval = 5000
 

const timeval_t olsr::cst::def_top_hold_time = def_tc_interval * 3
 

const unsigned olsr::def_willingness = QOLYESTER_DEFAULT_WILLINGNESS
 


Generated on Thu Jul 28 21:21:49 2005 for Qolyester daemon by  doxygen 1.4.1