TSG-13938 tsg-service-chaining-engine区分mirror和steering并更新fieldstat计数

This commit is contained in:
luwenpeng
2023-02-27 14:37:31 +08:00
parent 586fb056a6
commit 92af3e1fee
5 changed files with 226 additions and 55 deletions

View File

@@ -40,8 +40,9 @@ struct global_metrics
struct throughput_metrics mirroring_tx; // 累计值
struct throughput_metrics mirroring_rx_drop; // 累计值
struct throughput_metrics keepalive_packet_rx; // 累计值
struct throughput_metrics control_packet_rx; // 累计值
struct throughput_metrics downlink_keepalive_packet_rx; // 累计值
struct throughput_metrics uplink_keepalive_packet_rx; // 累计值
struct throughput_metrics control_packet_rx; // 累计值
uint64_t control_packet_opening_num; // 累计值
uint64_t control_packet_active_num; // 累计值
@@ -58,7 +59,7 @@ struct global_metrics
struct global_metrics_config config;
screen_stat_handle_t fs_handle;
int fs_id[32];
int fs_id[128];
};
struct global_metrics *global_metrics_create(const char *profile);