summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
author崔一鸣 <[email protected]>2019-06-18 17:37:43 +0800
committer崔一鸣 <[email protected]>2019-06-18 17:42:27 +0800
commit7e3ae597c4b62b96096e92255dff3abe10ce6110 (patch)
treeb7284b995e82440a682fe42c9790b14cff017163 /common
parent0da2c833fe14a9c2e58ea631a9b00835792a58a4 (diff)
修改和tfe保活功能的bug
* 修改thread_tfe_keepalive函数recv失败的处理逻辑 * bind函数放到初始化线程,防止bind失败仍然继续运行 * 增加SO_REUSEADDR选项保证SAPP挂掉后再TIME_WAIT状态下能够快速恢复 * 增加tfe状态的fs2统计
Diffstat (limited to 'common')
-rw-r--r--common/include/kni_utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/include/kni_utils.h b/common/include/kni_utils.h
index f7dc52f..bd2f447 100644
--- a/common/include/kni_utils.h
+++ b/common/include/kni_utils.h
@@ -97,6 +97,7 @@ enum kni_field{
KNI_FIELD_KEEPALIVE_REPLAY_ADD_SUCC,
KNI_FIELD_KEEPALIVE_REPLAY_ADD_FAIL,
KNI_FIELD_EXCEED_MTU,
+ KNI_FIELD_TFE_STATUS_BASE,
};
struct kni_field_stat_handle{