diff options
Diffstat (limited to 'src/ir_mctrl.h')
| -rw-r--r-- | src/ir_mctrl.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/ir_mctrl.h b/src/ir_mctrl.h index ac60fcc..6a42a98 100644 --- a/src/ir_mctrl.h +++ b/src/ir_mctrl.h @@ -10,7 +10,7 @@ #define MAX_PORT_LEN 6 #define MAX_PATH_LEN 64 #define MAX_TABLE_NAME_LEN 64 -#define MAX_TIME_LEN 30 +#define MAX_TIME_LEN 40 #define HTABLE_DATA_LEN 512 #define MCTRL_CONF_FILE "./conf/mctrl.conf" @@ -24,11 +24,12 @@ #define CANDIDATE_TABLE_NAME "IR_CANDIDATE_IP" #define SLEEP_TIME 43200 -#define TIME_OUT 30 -#define MAX_THREAD_NUM 1 +#define TIME_OUT 1800 +#define MAX_THREAD_NUM 1 #define DNAT_NUMBER 500000000 #define SNAT_DYNAMIC_NUMBER 1000000000 + //table flag #define STATIC_NOMINEE_FLAG 1 #define DYNAMIC_NOMINEE_FLAG 2 @@ -64,14 +65,14 @@ struct IR_MCTRL_INFO int version; }; -struct mctrl_glocal_info +struct MCTRL_GLOCAL_INFO { void *logger_handle; Maat_feather_t d_feather; Maat_feather_t s_feather; Maat_feather_t n_feather; Maat_feather_t i_feather; - MESA_htable_handle s_d_htable; + MESA_htable_handle mctrl_htable_handle; int update_type_s; int update_type_d; int update_type_dp; |
