00001 // Copyright (C) 2003, 2004, 2005 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, Boston, MA 02110-1301, USA. 00018 00019 #ifndef QOLYESTER_DAEMON_CST_PARAMS_HH 00020 # define QOLYESTER_DAEMON_CST_PARAMS_HH 1 00021 00022 # include "cst/constants.hh" 00023 00024 namespace olsr { 00025 00026 namespace cst { 00027 00028 extern timeval_t hello_interval; 00029 extern timeval_t refresh_interval; 00030 extern timeval_t tc_interval; 00031 00032 # ifdef QOLYESTER_ENABLE_MID 00033 extern timeval_t mid_interval; 00034 extern timeval_t mid_hold_time; 00035 # endif 00036 00037 # ifdef QOLYESTER_ENABLE_HNA 00038 extern timeval_t hna_interval; 00039 extern timeval_t hna_hold_time; 00040 # endif 00041 00042 extern timeval_t neighb_hold_time; 00043 extern timeval_t top_hold_time; 00044 extern timeval_t dup_hold_time; 00045 00046 extern timeval_t maxjitter; 00047 extern timeval_t gc_interval; 00048 extern timeval_t dump_interval; 00049 00050 } // namespace cst 00051 00052 extern TCRedundancy tc_redundancy; 00053 extern unsigned willingness; 00054 00055 # ifdef QOLYESTER_ENABLE_MPRRED 00056 extern unsigned mprcoverage; 00057 # endif 00058 00059 } // namespace olsr 00060 00061 #endif // QOLYESTER_DAEMON_CST_PARAMS_HH