proto/BussFlowMidd.proto
2022-06-29 09:45:17 +08:00

64 lines
1.8 KiB
Protocol Buffer

syntax = "proto3";
option java_multiple_files = false;
option java_package = "com.yuandian.dataflow.proto.msgtype";
option go_package = "../grpc-gen;grpcgen";
package dataflow;
message BussFlowMidd {
int32 table_id = 1; //编号23
uint32 msg_type = 2;
string msg_version = 3;
uint32 msg_seq = 4;
uint32 msg_len = 5;
uint64 src_mac = 6;
uint64 dst_mac = 7;
uint32 vlan_id = 8;
uint32 tos = 9;
uint32 retran_count = 10;
uint32 reset_count = 11;
uint32 zerowin_count = 12;
uint32 protocol = 13;
uint32 response_bytes = 14;
uint32 request_bytes = 15;
uint32 response_packets = 16;
uint32 request_packets = 17;
string seq_ack = 18;
uint32 recog_status = 19;
uint32 probe_if = 20;
string channel = 21;
uint32 request_ip = 22;
uint32 request_port = 23;
uint32 response_ip = 24;
uint32 response_port = 25;
uint32 start_time_tv_sec = 26;
uint32 start_time_tv_usec = 27;
uint32 end_time_tv_sec = 28;
uint32 end_time_tv_usec = 29;
uint32 deal_state = 30;
uint32 server_res_code = 31;
int64 server_translate_time = 32;
uint32 server_response_start_time_tv_sec = 33;
uint32 server_response_start_time_tv_usec = 34;
uint32 server_response_end_time_tv_sec = 35;
uint32 server_response_end_time_tv_usec = 36;
int64 server_response_time = 37;
int64 client_translate_time = 38;
int32 is_uncomplete = 39;
uint32 time_flag = 40;
uint32 detail_msg_len = 41;
uint32 key_msg_len = 42;
uint32 api_len = 43;
uint32 req_len = 44;
uint32 res_len = 45;
uint32 remain_len = 46;
string bussiness_detail_mesg = 47;
string bussiness_key_mesg = 48;
string api = 49;
string req_data = 50;
string res_data = 51;
string remain_data = 52;
}