feature(adapt maat): TSG_PROFILE_TRAFFIC_MIRROR adapt uuid

This commit is contained in:
luwenpeng
2024-09-25 17:46:28 +08:00
parent 3617db7201
commit 0461a12216
5 changed files with 129 additions and 136 deletions

View File

@@ -49,8 +49,6 @@ struct traffic_mirror_instance
unsigned int default_vlan_id;
struct maat* maat_feather;
int policy_table_id;
int profile_table_id;
/* DEFAULT MAC ADDRESS, IN VLAN MODE */
char default_ether_addr_src;
@@ -62,14 +60,16 @@ struct traffic_mirror_instance
struct policy_table_ex_data
{
uuid_t rule_uuid;
uuid_t profile_uuid;
unsigned int atomic_refcnt;
unsigned int enable;
unsigned int is_profile_set;
unsigned int profile_id;
};
struct profile_table_ex_data
{
uuid_t profile_uuid;
unsigned int atomic_refcnt;
unsigned int nr_targets;