diff --git a/ApmBaseDataFlow.proto b/ApmBaseDataFlow.proto index ccd393b..f272d5a 100644 --- a/ApmBaseDataFlow.proto +++ b/ApmBaseDataFlow.proto @@ -37,14 +37,14 @@ message ApmBaseDataFlow { uint32 time_flag = 23; uint32 end_tm_tv_sec = 24; uint32 end_tm_tv_usec = 25; - uint32 respon_num = 26; + uint32 respon_num = 26; //总响应数 uint32 cs_window = 27; uint32 sc_window = 28; uint32 cs_reset = 29; uint32 sc_reset = 30; uint32 cs_retran = 31; uint32 sc_retran = 32; - uint32 conn_setup_tm = 33; + uint32 conn_setup_tm = 33; //会话建立时间【三次握手时间】 uint32 new_session = 34; uint32 cs_alert = 35; uint32 sc_alert = 36; diff --git a/AppFlow.proto b/AppFlow.proto index a04e2b9..482d4dd 100644 --- a/AppFlow.proto +++ b/AppFlow.proto @@ -21,13 +21,13 @@ message AppFlow { uint32 l_tv_usec = 9; uint32 e_tv_sec = 10; uint32 e_tv_usec = 11; - uint32 input_packets = 12; - uint32 output_packets = 13; - uint32 input_bytes = 14; + uint32 input_packets = 12; //< input packets (dst->src) + uint32 output_packets = 13 //< output packets (src->dst) + uint32 input_bytes = 14; //< input bytes (dst->src) uint32 output_bytes = 15; - bytes protocol = 16; + bytes protocol = 16; //< protocol uint32 app_id = 17; - uint32 app_group_id = 18; + uint32 app_group_id = 18; //< application group idectification uint32 probe_if = 19; uint32 app_style = 20; uint32 time_flag = 21; diff --git a/BacktrackingFlow.proto b/BacktrackingFlow.proto index 872341d..ca2ab69 100644 --- a/BacktrackingFlow.proto +++ b/BacktrackingFlow.proto @@ -12,21 +12,21 @@ package dataflow; message BacktrackingFlow { int32 table_id = 1; //编号20 - int64 mac_src = 2; - int64 mac_dst = 3; - IPAddress ip_src = 4; - IPAddress ip_dst = 5; - int32 port_src = 6; - int32 port_dst = 7; - int32 l3_proto = 8; - int32 l4_proto = 9; - int32 tos = 10; - int32 vlan_id = 11; - uint64 bytes = 12; - uint64 packets = 13; - uint64 tcp_sp = 14; - uint64 tcp_scpn = 15; - uint64 tcp_srp = 16; + int64 mac_src = 2; //源MAC + int64 mac_dst = 3; //目标MAC + IPAddress ip_src = 4; //源IP + IPAddress ip_dst = 5; //目标IP + int32 port_src = 6; //源端口,如果没有,为-1 + int32 port_dst = 7; //目标端口,如果没有,为-1 + int32 l3_proto = 8; //第三层协议ID,如果没有,为-1 + int32 l4_proto = 9; //第四层协议ID,如果没有,为-1 + int32 tos = 10; //Tos,一个字节,如果没有,为-1 + int32 vlan_id = 11; //vlan ID,如果没有,为-1 + uint64 bytes = 12; //字节总数 + uint64 packets = 13; //数据包总数 + uint64 tcp_sp = 14; //TCP同步包数 + uint64 tcp_scpn = 15; //TCP同步确认包数 + uint64 tcp_srp = 16; //TCP同步重置包数 uint32 app_id = 17; uint32 app_group_id = 18; int32 mpls_label = 19; diff --git a/BussFlowExternal.proto b/BussFlowExternal.proto index 38f7702..f647766 100644 --- a/BussFlowExternal.proto +++ b/BussFlowExternal.proto @@ -29,10 +29,10 @@ message BussFlowExternal { uint32 end_time_tv_usec = 17; uint32 req_len = 18; uint32 res_len = 19; - uint32 busi_msg_len = 20; - uint32 key_msg_len = 21; - uint32 detail_msg_len = 22; - uint32 remain_len = 23; + uint32 busi_msg_len = 20; //bussiness resouce data length + uint32 key_msg_len = 21; // sub bussiness resouce data length + uint32 detail_msg_len = 22; //parents bussiness data length + uint32 remain_len = 23; //reserve data length bytes busi_code = 24; bytes sessionid = 25; bytes req_data = 26; diff --git a/QoeFlow.proto b/QoeFlow.proto index 99c8782..47eeb40 100644 --- a/QoeFlow.proto +++ b/QoeFlow.proto @@ -17,37 +17,37 @@ message QoeFlow { uint32 s_tv_usec = 5; uint32 l_tv_sec = 6; uint32 l_tv_usec = 7; - uint32 dst2_respon_num = 8; - uint32 dst2_fast = 9; - uint32 dst2_fast_expected = 10; - uint32 dst2_expected_degrated = 11; - uint32 dst2_degrated_service = 12; - uint32 dst2_service_availability = 13; - uint32 dst2_respon_timeout = 14; - uint32 dst2_respon_success = 15; - uint32 dst2_respon_fail = 16; - uint32 dst2_respin_peek = 17; - uint32 dst2_respon_average = 18; - uint32 cs_window = 19; - uint32 sc_window = 20; - uint32 cs_reset = 21; - uint32 sc_reset = 22; - uint32 cs_retran = 23; - uint32 sc_retran = 24; + uint32 dst2_respon_num = 8; //< response number (dst->src) + uint32 dst2_fast = 9; //< fast response (dst->src) + uint32 dst2_fast_expected = 10; //< fast expected (dst->src) + uint32 dst2_expected_degrated = 11; //< expected degrated (dst->src) + uint32 dst2_degrated_service = 12; //< degrated service (dst->src) + uint32 dst2_service_availability = 13; //< service availability (dst->src) + uint32 dst2_respon_timeout = 14; //< response timeout (dst->src) + uint32 dst2_respon_success = 15; //< response success (dst->src) + uint32 dst2_respon_fail = 16; //< response fail (dst->src) + uint32 dst2_respin_peek = 17; //< response peek time (dst->src) ms + uint32 dst2_respon_average = 18; //< response average time(dst->src) ms + uint32 cs_window = 19; //< cs window event + uint32 sc_window = 20; //< sc window event; + uint32 cs_reset = 21; //< cs reset + uint32 sc_reset = 22; //< sc reset + uint32 cs_retran = 23; //< cs retran + uint32 sc_retran = 24; //< sc retran uint32 app_id = 25; - uint32 app_group_id = 26; + uint32 app_group_id = 26; //< application id uint32 probe_if = 27; uint32 app_style = 28; uint32 time_flag = 29; - uint32 conn_setup_tm = 30; - uint32 data_transfer_tm = 31; - uint32 retrans_delay_tm = 32; - uint32 network_inbound = 33; - uint32 network_outbound = 34; - uint32 new_session = 35; - uint32 user_events = 36; - uint32 server_events = 37; - uint32 conn_setup_peek = 38; + uint32 conn_setup_tm = 30; //连接建立时间 + uint32 data_transfer_tm = 31; //数据传输时间 + uint32 retrans_delay_tm = 32; //数据重传时延 + uint32 network_inbound = 33; //网络响应时间(客户端->服务器) + uint32 network_outbound = 34; //网络响应时间(服务器->客户端) + uint32 new_session = 35; //新会话数 + uint32 user_events = 36; //用户事件 + uint32 server_events = 37; //服务事件 + uint32 conn_setup_peek = 38; //连接建立时间峰值 int32 vlan_id = 39; } \ No newline at end of file