syntax = "proto3"; option java_multiple_files = false; option java_package = "com.yuandian.dataflow.proto.msgtype"; option go_package = "../grpc-gen;grpcgen"; package dataflow; message BacktrackingFlow { int32 table_id = 1; int64 mac_src = 2; //源MAC 8 int64 mac_dst = 3; //目的MAC 8 int64 ip_src = 4; //源IP 8 int64 ip_dst = 5; //目的IP 8 int32 port_src = 6; //源端口,如果没有,为-1 int32 port_dst = 7; //目标端口,如果没有,为-1 int32 l3_proto = 8; //第三层协议ID,如果没有,为-1 int32 l4_proto = 9; //第四层协议ID,如果没有,为-1 int32 tos = 10; //Tos,如果没有,为-1 int32 vlan_id = 11; //vlan ID,如果没有,为-1 int64 bytes = 12; // 8 字节总数 int64 packets = 13; // 8 数据包总数 int64 tcp_sp = 14; // 8 tcp同步包数 int64 tcp_scpn = 15;// 8 tcp同步确认包数 int64 tcp_srp = 16; // 8 tcp同步重置包数 int32 app_id = 17; // 4 appID int32 app_group_id = 18;// 4 app组ID int32 mpls_label = 19;// 4 }