proto/AppFlow.proto

38 lines
864 B
Protocol Buffer
Raw 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 AppFlow {
2022-06-29 01:45:17 +00:00
int32 table_id = 1; //编号17
2022-06-30 03:41:01 +00:00
uint32 src_ip = 2;
2022-06-29 01:45:17 +00:00
uint32 src_port = 3;
uint32 dst_ip = 4;
2022-06-30 03:41:01 +00:00
uint32 dst_port = 5;
2022-06-29 01:45:17 +00:00
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;
2022-06-30 03:41:01 +00:00
}