summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorfumingwei <[email protected]>2020-09-23 17:31:42 +0800
committerfumingwei <[email protected]>2020-09-23 17:31:42 +0800
commita59d3a1eef45cfe17b972414ea0bc4d7f96b4fb2 (patch)
treee665c4c59586ddafbbfa5d664e64b9f5eaaa26e9 /common
parent9a48841641d8fe0d4f372ee3498a7d1a08d16b3b (diff)
1、增加判断是否是syn建立连接判断 2、增加version信息通过nm -d 显示
Diffstat (limited to 'common')
-rw-r--r--common/include/kni_utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/include/kni_utils.h b/common/include/kni_utils.h
index da1ad6c..8255f9b 100644
--- a/common/include/kni_utils.h
+++ b/common/include/kni_utils.h
@@ -71,6 +71,9 @@ struct kni_tcpopt_info{
#define KNI_FS_LINE_MAX 256
enum kni_field{
KNI_FIELD_BYP_INTCPERR,
+ //intercept error link mode
+ KNI_FIELD_INTCPERR_GET_LINK_MODE_ERR,
+ KNI_FIELD_INTCPERR_NOT_LINK_MODE_BYSYN,
//intercept error
KNI_FIELD_INTCPERR_ASYM_ROUTING,
KNI_FIELD_INTCPERR_NO_SYN,