summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorluwenpeng <[email protected]>2022-04-24 14:24:09 +0800
committerluwenpeng <[email protected]>2022-05-31 17:38:42 +0800
commitf7ea81dad82720fa7a4bdbb9da72ab2373342b16 (patch)
tree67a10229766eb5cd22176a9262b7ed23c5c03230 /common
parent6d75cbe60bfc94f951aff6bc46213f883eafc3e1 (diff)
TSG-10254 eBPF支持二元组分流
TSG-10527 eBPF支持四元组分流 TSG-10369 KNI多线程在TAP模式下支持eBPF分流
Diffstat (limited to 'common')
-rw-r--r--common/include/kni_utils.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/include/kni_utils.h b/common/include/kni_utils.h
index 52b3c87..5f74339 100644
--- a/common/include/kni_utils.h
+++ b/common/include/kni_utils.h
@@ -14,7 +14,7 @@
#include "MESA/field_stat2.h"
#include "MESA/Maat_rule.h"
#include "MESA/Maat_command.h"
-#include "mrtunnat.h"
+//#include "mrtunnat.h"
#include <sys/ioctl.h>
#include <netinet/ip6.h>
#include <net/if.h>
@@ -184,9 +184,9 @@ enum kni_ipv6hdr_parse_error{
KNI_IPV6HDR_PARSE_ERROR_INVALID_TYPE = -3,
};
-
-enum kni_deploy_mode{
- KNI_DEPLOY_MODE_TUN = 0,
+enum kni_deploy_mode
+{
+ KNI_DEPLOY_MODE_TAP = 0,
KNI_DEPLOY_MODE_NORMAL = 1,
};