修改自检配置项2、增加读自检多条拦截策略
This commit is contained in:
@@ -17,6 +17,8 @@
|
||||
|
||||
#define MAX_STRING_LEN 32
|
||||
|
||||
#define TSG_DIAGNOSE_POLICY_CNT 32
|
||||
|
||||
enum intercept_error{
|
||||
INTERCEPT_ERROR_ASYM_ROUTING = -1,
|
||||
INTERCEPT_ERROR_NO_SYN = -2,
|
||||
@@ -192,6 +194,11 @@ struct tuple2stream_htable_value{
|
||||
int reversed;
|
||||
};
|
||||
|
||||
struct security_policy_shunt_tsg_diagnose{
|
||||
int id_arr[TSG_DIAGNOSE_POLICY_CNT];
|
||||
int id_num;
|
||||
};
|
||||
|
||||
struct kni_handle{
|
||||
struct kni_marsio_handle *marsio_handle;
|
||||
struct kni_tun_handle *tun_handle;
|
||||
@@ -207,8 +214,9 @@ struct kni_handle{
|
||||
enum kni_deploy_mode deploy_mode;
|
||||
char src_mac_addr[6];
|
||||
char dst_mac_addr[6];
|
||||
int tsg_diagnose_enable;
|
||||
int *arr_last_tfe_dispatch_index;
|
||||
int secpolicyid_evenflow_self_check;
|
||||
struct security_policy_shunt_tsg_diagnose secpolicyid_shunt_tsg_diagnose;
|
||||
MESA_htable_handle sslinfo2bypass_htable;
|
||||
int pxy_tcp_option_enable; //for proxy tcp option enable
|
||||
int pxy_tcp_option_enable_override;
|
||||
|
||||
Reference in New Issue
Block a user