00001 // Copyright (C) 2003-2006 Laboratoire de Recherche en Informatique 00002 00003 // This file is part of Qolyester. 00004 00005 // Qolyester is free software; you can redistribute it and/or 00006 // modify it under the terms of the GNU General Public License 00007 // as published by the Free Software Foundation; either version 2 00008 // of the License, or (at your option) any later version. 00009 00010 // Qolyester is distributed in the hope that it will be useful, 00011 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 // GNU General Public License for more details. 00014 00015 // You should have received a copy of the GNU General Public License 00016 // along with this program; if not, write to the Free Software 00017 // Foundation, Inc., 51 Franklin Street, Fifth Floor, 00018 // Boston, MA 02110-1301, USA. 00019 00020 #ifndef QOLYESTER_DAEMON_CST_PARAMS_HH 00021 # define QOLYESTER_DAEMON_CST_PARAMS_HH 1 00022 00023 # include "cst/constants.hh" 00024 00025 namespace olsr { 00026 00027 namespace cst { 00028 00029 # ifdef QOLYESTER_ENABLE_LINKHYS 00030 extern float hyst_threshold_high; 00031 extern float hyst_threshold_low; 00032 extern float hyst_scaling; 00033 # endif 00034 00035 extern timeval_t hello_interval; 00036 extern timeval_t refresh_interval; 00037 extern timeval_t tc_interval; 00038 00039 extern float hello_grace; 00040 00041 # ifdef QOLYESTER_ENABLE_MID 00042 extern timeval_t mid_interval; 00043 extern timeval_t mid_hold_time; 00044 # endif 00045 00046 # ifdef QOLYESTER_ENABLE_HNA 00047 extern timeval_t hna_interval; 00048 extern timeval_t hna_hold_time; 00049 # endif 00050 00051 extern timeval_t neighb_hold_time; 00052 extern timeval_t top_hold_time; 00053 extern timeval_t dup_hold_time; 00054 00055 extern timeval_t maxjitter; 00056 extern timeval_t dump_interval; 00057 00058 extern unsigned queue_size; 00059 00060 } // namespace cst 00061 00062 extern TCRedundancy tc_redundancy; 00063 extern unsigned willingness; 00064 00065 # ifdef QOLYESTER_ENABLE_MPRRED 00066 extern unsigned mprcoverage; 00067 # endif 00068 00069 } // namespace olsr 00070 00071 #endif // QOLYESTER_DAEMON_CST_PARAMS_HH