proto/AppFlow.proto
黄思敏 6d2dfc703c Merge branch 'master' into 'develop'
# Conflicts:
#   ApmBaseDataFlow.proto
#   AppFlow.proto
#   BacktrackingFlow.proto
#   BussFlowDb.proto
2022-07-28 07:32:03 +00:00

38 lines
968 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; //< input packets (dst->src)
uint32 output_packets = 13 //< output packets (src->dst)
uint32 input_bytes = 14; //< input bytes (dst->src)
uint32 output_bytes = 15;
bytes protocol = 16; //< protocol
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;
}