2022-06-20 08:30:45 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
option java_multiple_files = false;
|
|
|
|
option java_package = "com.yuandian.dataflow.proto.msgtype";
|
|
|
|
option go_package = "../grpc-gen;grpcgen";
|
|
|
|
|
|
|
|
|
|
|
|
package dataflow;
|
|
|
|
|
|
|
|
message AppFlow {
|
2022-06-29 01:45:17 +00:00
|
|
|
int32 table_id = 1; //编号17
|
|
|
|
uint32 src_ip = 2
|
|
|
|
uint32 src_port = 3;
|
|
|
|
uint32 dst_ip = 4;
|
|
|
|
uint32 dst_port = 5
|
|
|
|
uint32 s_tv_sec = 6;
|
|
|
|
uint32 s_tv_usec = 7;
|
|
|
|
uint32 l_tv_sec = 8;
|
|
|
|
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 output_bytes = 15;
|
|
|
|
string protocol = 16;
|
|
|
|
uint32 app_id = 17;
|
|
|
|
uint32 app_group_id = 18;
|
|
|
|
uint32 probe_id = 19;
|
|
|
|
uint32 app_style = 20;
|
|
|
|
uint32 time_flag = 21;
|
2022-06-20 08:30:45 +00:00
|
|
|
int32 vlan_id = 22;
|
2022-06-29 01:45:17 +00:00
|
|
|
int32 mpls_label = 23;
|
2022-06-20 08:30:45 +00:00
|
|
|
int32 tos = 24;
|
|
|
|
}
|