TSG-13684 tsg-service-chaining-engine使用VLAN封装Packet并执行Traffic Mirroring

This commit is contained in:
luwenpeng
2023-10-18 10:08:10 +08:00
parent 18561bc4fe
commit 0753e8018c
57 changed files with 1784 additions and 1175 deletions

View File

@@ -26,13 +26,17 @@ struct device_metrics
struct throughput_metrics nf_rx; // 累计值
struct throughput_metrics nf_tx; // 累计值
struct throughput_metrics endpoint_rx; // 累计值
struct throughput_metrics endpoint_tx; // 累计值
struct throughput_metrics endpoint_drop; // 累计值
struct throughput_metrics endpoint_vxlan_rx; // 累计值
struct throughput_metrics endpoint_vxlan_tx; // 累计值
struct throughput_metrics endpoint_vxlan_drop; // 累计值
struct throughput_metrics endpoint_vlan_rx; // 累计值
struct throughput_metrics endpoint_vlan_tx; // 累计值
struct throughput_metrics endpoint_vlan_drop; // 累计值
};
// raw_pkt_metrics 不包含 g_vxlan 所占的字节
struct raw_pkt_metrics
// data_pkt_metrics 不包含 g_vxlan 所占的字节
struct data_pkt_metrics
{
struct throughput_metrics mirr_bypass; // 累计值
struct throughput_metrics mirr_block; // 累计值
@@ -85,7 +89,7 @@ struct sf_session_metrics
struct thread_metrics
{
struct device_metrics device;
struct raw_pkt_metrics raw_pkt;
struct data_pkt_metrics data_pkt;
struct ctrl_pkt_metrics ctrl_pkt;
struct keepalived_pkt_metrics kee_pkt;
@@ -96,7 +100,7 @@ struct thread_metrics
struct global_metrics
{
struct device_metrics device;
struct raw_pkt_metrics raw_pkt;
struct data_pkt_metrics data_pkt;
struct ctrl_pkt_metrics ctrl_pkt;
struct keepalived_pkt_metrics kee_pkt;