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 BacktrackingFlow {
|
|
|
|
|
|
2022-06-29 01:45:17 +00:00
|
|
|
|
int32 table_id = 1; //编号20
|
2022-07-28 06:49:21 +00:00
|
|
|
|
int64 mac_src = 2; //源MAC
|
|
|
|
|
int64 mac_dst = 3; //目标MAC
|
|
|
|
|
IPAddress ip_src = 4; //源IP
|
|
|
|
|
IPAddress ip_dst = 5; //目标IP
|
|
|
|
|
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
|
|
|
|
|
uint64 bytes = 12; //字节总数
|
|
|
|
|
uint64 packets = 13; //数据包总数
|
|
|
|
|
uint64 tcp_sp = 14; //TCP同步包数
|
|
|
|
|
uint64 tcp_scpn = 15; //TCP同步确认包数
|
|
|
|
|
uint64 tcp_srp = 16; //TCP同步重置包数
|
2022-07-12 07:15:21 +00:00
|
|
|
|
uint32 app_id = 17;
|
|
|
|
|
uint32 app_group_id = 18;
|
|
|
|
|
int32 mpls_label = 19;
|
|
|
|
|
}
|