summaryrefslogtreecommitdiff
path: root/src/ir_mctrl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir_mctrl.h')
-rw-r--r--src/ir_mctrl.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/ir_mctrl.h b/src/ir_mctrl.h
index 3c1a25c..d409d51 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 50
+#define MAX_TIME_LEN 30
#define HTABLE_DATA_LEN 512
#define MCTRL_CONF_FILE "./conf/mctrl.conf"
@@ -24,13 +24,16 @@
#define DNAT_POLICY_TABLE "IR_DNAT_POLICY"
#define SLEEP_TIME 43200
-#define TIME_OUT 1800
-#define MAX_THREAD_NUM 1
+#define TIME_OUT 30
+#define MAX_THREAD_NUM 1
//nominee_type
#define STATIC_NOMINEE_INFO 1
#define DYNAMIC_NOMINEE_INFO 2
-#define D_POLICY_INFO 3
+#define DNAT_POLICY_INFO 3
+#define NOMINEE_INFO 4
+#define INTERCEPT_INFO 5
+#define CANDIDATE_INFO 6
//htable flag
#define S_OR_D_ORIGIN_FLAG 8