proto/BussFlowExternal.proto

44 lines
1.1 KiB
Protocol Buffer
Raw Permalink Normal View History

2022-06-20 08:30:45 +00:00
syntax = "proto3";
2022-07-04 05:42:09 +00:00
import "Base.proto" ;
2022-06-20 08:30:45 +00:00
option java_multiple_files = false;
option java_package = "com.yuandian.dataflow.proto.msgtype";
option go_package = "../grpc-gen;grpcgen";
package dataflow;
message BussFlowExternal {
2022-06-29 01:45:17 +00:00
int32 table_id = 1; //编号25
uint32 msg_type = 2;
uint32 msg_version = 3;
uint32 msg_seq = 4;
uint32 msg_len = 5;
uint64 src_mac = 6;
uint64 dst_mac = 7;
2022-07-04 05:42:09 +00:00
IPAddress request_ip = 8;
2022-06-29 01:45:17 +00:00
uint32 request_port = 9;
2022-07-04 05:42:09 +00:00
IPAddress response_ip = 10;
2022-06-29 01:45:17 +00:00
uint32 response_port = 11;
uint32 probeif = 12;
uint32 protocol = 13;
uint32 start_time_tv_sec = 14;
uint32 start_time_tv_usec = 15;
uint32 end_time_tv_sec = 16;
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;
string busi_code = 24;
string sessionid = 25;
string req_data = 26;
string res_data = 27;
string busi_msg = 28;
string busi_key_msg = 29;
string busi_detail_msg = 30;
string remain_data = 31;
2022-06-20 08:30:45 +00:00
}