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 olsr::cst::def_hello_interval = 2000
const timeval_t olsr::cst::def_refresh_interval = 2000
const timeval_t olsr::cst::def_tc_interval = 5000
const float olsr::cst::def_hello_grace = 1.2
const timeval_t olsr::cst::def_neighb_hold_time = def_refresh_interval * 3
const timeval_t olsr::cst::def_top_hold_time = def_tc_interval * 3
const timeval_t olsr::cst::def_dup_hold_time = 30000
const timeval_t olsr::cst::def_maxjitter = def_hello_interval / 4
const timeval_t olsr::cst::def_dump_interval = 1000
const unsigned olsr::cst::def_queue_size = 10
const unsigned olsr::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


Generated on Mon Sep 10 17:02:13 2007 for Qolyester daemon by  doxygen 1.5.1