64 lines
1.5 KiB
Protocol Buffer
64 lines
1.5 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 BussFlowDb {
|
|
|
|
int32 table_id = 1; //编号24
|
|
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;
|
|
string dbname = 22;
|
|
uint32 request_ip = 23;
|
|
uint32 request_port = 24;
|
|
uint32 response_ip = 25;
|
|
uint32 response_port = 26;
|
|
int64 status = 27;
|
|
int64 server_translate_time = 28;
|
|
int64 client_translate_time = 29;
|
|
int64 server_response_time = 30;
|
|
uint32 server_response_start_time_tv_sec = 31;
|
|
uint32 server_response_start_time_tv_usec = 32;
|
|
uint32 server_response_end_time_tv_sec = 33;
|
|
uint32 server_response_end_time_tv_usec = 34;
|
|
uint32 start_time_tv_sec = 35;
|
|
uint32 start_time_tv_usec = 36;
|
|
uint32 end_time_tv_sec = 37;
|
|
uint32 end_time_tv_usec = 38;
|
|
int32 is_uncomplete = 39;
|
|
uint32 time_flag = 40;
|
|
uint32 sql_len = 41;
|
|
uint32 detail_msg_len = 42;
|
|
uint32 req_len = 43;
|
|
uint32 res_len = 44;
|
|
uint32 reserved_len = 45;
|
|
string sql = 46;
|
|
string bussiness_detail_mesg = 47;
|
|
string req_data = 48;
|
|
string res_data = 49;
|
|
string reserved = 50;
|
|
|
|
} |