#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 ASYM_LINK 1 |
| #define C_CONSTANT .0625f |
Referenced by olsr::utl::Vtime::operator float(), and olsr::utl::Vtime::Vtime().
| #define HELLO_MESSAGE 1 |
Referenced by olsr::msg::HELLOMessage::dump(), and olsr::msg::Message::parse().
| #define HIGHEST_LINK LOST_LINK |
| #define HIGHEST_NEIGH MPR_NEIGH |
| #define HNA_MESSAGE 4 |
Referenced by olsr::msg::HNAMessage::dump(), and olsr::msg::Message::parse().
| #define LOST_LINK 3 |
| #define LOWEST_LINK UNSPEC_LINK |
| #define LOWEST_NEIGH NOT_NEIGH |
| #define MID_MESSAGE 3 |
Referenced by olsr::msg::MIDMessage::dump(), and olsr::msg::Message::parse().
| #define MPR_NEIGH 2 |
Referenced by olsr::msg::HELLOMessage::dump(), and olsr::msg::HELLOMessage::parse().
| #define NOT_NEIGH 0 |
Referenced by olsr::msg::HELLOMessage::dump(), and olsr::msg::HELLOMessage::parse().
| #define OLSR_PORT_NUMBER 698 |
Referenced by olsr::net::RealInterface::RealInterface(), and olsr::sys::Socket::sendto_bcast().
| #define QOLYESTER_CST_CONSTANTS_HH 1 |
| #define RTPROT_OLSR 15 |
Referenced by olsr::sys::internal::RoutingSocket::add_local_route(), olsr::sys::internal::RoutingSocket::add_remote_route(), olsr::sys::internal::RoutingSocket::remove_local_route(), olsr::sys::internal::RoutingSocket::remove_old_routes(), and olsr::sys::internal::RoutingSocket::remove_remote_route().
| #define SYM_LINK 2 |
| #define SYM_NEIGH 1 |
Referenced by olsr::msg::HELLOMessage::dump(), and olsr::msg::HELLOMessage::parse().
| #define TC_MESSAGE 2 |
Referenced by olsr::msg::TCMessage::dump(), and olsr::msg::Message::parse().
| #define UNSPEC_LINK 0 |
Referenced by olsr::msg::HELLOMessage::dump(), and olsr::msg::HELLOMessage::parse().
| #define VIRTUAL_MTU 1500 |
Referenced by olsr::sys::UnixSocket::receive().
| #define VIRTUAL_SOCKNAME "/tmp/qolsrd.switch" |
| #define WILL_ALWAYS 7 |
Referenced by olsr::alg::mprselection(), and olsr::utl::parse_args().
| #define WILL_DEFAULT 3 |
Referenced by olsr::utl::parse_args(), and olsr::set::CoherenceProxy::update_graph().
| #define WILL_HIGH 6 |
Referenced by olsr::utl::parse_args().
| #define WILL_LOW 1 |
Referenced by olsr::utl::parse_args().
| #define WILL_NEVER 0 |
Referenced by olsr::alg::mprselection(), and olsr::utl::parse_args().
1.5.6