proto/AppFlow.proto
2022-07-07 10:26:04 +08:00

38 lines
870 B
Protocol Buffer

syntax = "proto3";
import "Base.proto" ;
option java_multiple_files = false;
option java_package = "com.yuandian.dataflow.proto.msgtype";
option go_package = "../grpc-gen;grpcgen";
package dataflow;
message AppFlow {
int32 table_id = 1; //编号17
IPAddress src_ip = 2;
uint32 src_port = 3;
IPAddress 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_if = 19;
uint32 app_style = 20;
uint32 time_flag = 21;
int32 vlan_id = 22;
int32 mpls_label = 23;
int32 tos = 24;
}