summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoryangwei <[email protected]>2023-08-04 20:58:43 +0800
committeryangwei <[email protected]>2023-08-04 20:58:43 +0800
commitcaf538bd503a37965a525623357d869e7451cdfc (patch)
tree89f379fe5acf9d0d6595e7da48fc5d4a1edf8909 /include
parent8efcbf4ab132d8bae84c5e2cf5c7b58f1da33fb0 (diff)
✨ feat(tcp flow stat): 增加c2s和s2c syn计数
Diffstat (limited to 'include')
-rw-r--r--include/public/stream_inc/stream_control.h2
-rw-r--r--include/public/stream_inc/stream_project.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/public/stream_inc/stream_control.h b/include/public/stream_inc/stream_control.h
index db4dc79..ab84604 100644
--- a/include/public/stream_inc/stream_control.h
+++ b/include/public/stream_inc/stream_control.h
@@ -52,6 +52,8 @@ enum MESA_stream_opt{
MSO_STREAM_SET_DATAMETA_TRACE_ID,
MSO_STREAM_C2S_RAWPKT_HDR,
MSO_STREAM_S2C_RAWPKT_HDR,
+ MSO_STREAM_C2S_SYN_NUM,
+ MSO_STREAM_S2C_SYN_NUM,
__MSO_MAX,
};
diff --git a/include/public/stream_inc/stream_project.h b/include/public/stream_inc/stream_project.h
index 0194e7e..5d0b9f2 100644
--- a/include/public/stream_inc/stream_project.h
+++ b/include/public/stream_inc/stream_project.h
@@ -77,6 +77,8 @@ struct tcp_flow_stat
UINT64 C2S_seq_gap_loss_cnt;
UINT64 S2C_seq_gap_loss_cnt;
+ UINT32 C2S_syn_pkt;
+ UINT32 S2C_syn_pkt;
};
struct udp_flow_stat