35 lines
829 B
Protocol Buffer
35 lines
829 B
Protocol Buffer
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 {
|
|
int32 table_id = 1;
|
|
int32 src_ip = 2;
|
|
int32 src_port = 3;
|
|
int32 dst_ip = 4;
|
|
int32 dst_port = 5;
|
|
int32 start_tv_sec = 6;
|
|
int32 start_tv_usec = 7;
|
|
int32 last_tv_sec = 8;
|
|
int32 last_tv_usec = 9;
|
|
int32 end_tv_sec = 10;
|
|
int32 end_tv_usec = 11;
|
|
int32 input_packets = 12;
|
|
int32 output_packets = 13;
|
|
int32 input_bytes = 14;
|
|
int32 output_bytes = 15;
|
|
string protocaol = 16;
|
|
int32 app_id = 17;
|
|
int32 app_group_id = 18;
|
|
int32 probe_if = 19;
|
|
int32 app_style = 20;
|
|
int32 time_flag = 21;
|
|
int32 vlan_id = 22;
|
|
int32 mpls_lable = 23;
|
|
int32 tos = 24;
|
|
} |