proto/AppFlow.proto

38 lines
968 B
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 AppFlow {
2022-06-29 01:45:17 +00:00
int32 table_id = 1; //编号17
2022-07-12 07:15:21 +00:00
IPAddress src_ip = 2;
2022-06-29 01:45:17 +00:00
uint32 src_port = 3;
2022-07-12 07:15:21 +00:00
IPAddress 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;
2022-07-28 06:49:21 +00:00
uint32 input_packets = 12; //< input packets (dst->src)
uint32 output_packets = 13 //< output packets (src->dst)
uint32 input_bytes = 14; //< input bytes (dst->src)
2022-06-29 01:45:17 +00:00
uint32 output_bytes = 15;
2022-07-28 06:49:21 +00:00
bytes protocol = 16; //< protocol
2022-06-29 01:45:17 +00:00
uint32 app_id = 17;
uint32 app_group_id = 18;
2022-07-12 07:15:21 +00:00
uint32 probe_if = 19;
2022-06-29 01:45:17 +00:00
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
}