proto/BacktrackingFlow.proto
2022-06-20 16:30:45 +08:00

32 lines
1.1 KiB
Protocol Buffer
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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
}