]> git.proxmox.com Git - mirror_frr.git/blobdiff - bgpd/bgp_flowspec_private.h
Merge pull request #5686 from qlyoung/fix-bgp-fqdn-capability-leak
[mirror_frr.git] / bgpd / bgp_flowspec_private.h
index 4f086a9f7b02956f00da2d1500128b90804dbe6c..dede4e03d3a4c42aabc66da660486241f0d2d48d 100644 (file)
 #define FLOWSPEC_TRAFFIC_ACTION_SAMPLE         0
 #define FLOWSPEC_TRAFFIC_ACTION_DISTRIBUTE     1
 
+/* Flow Spec Component Types */
+#define NUM_OF_FLOWSPEC_MATCH_TYPES            12
+#define FLOWSPEC_DEST_PREFIX           1
+#define FLOWSPEC_SRC_PREFIX            2
+#define FLOWSPEC_IP_PROTOCOL           3
+#define FLOWSPEC_PORT                  4
+#define FLOWSPEC_DEST_PORT             5
+#define FLOWSPEC_SRC_PORT              6
+#define FLOWSPEC_ICMP_TYPE             7
+#define FLOWSPEC_ICMP_CODE             8
+#define FLOWSPEC_TCP_FLAGS             9
+#define FLOWSPEC_PKT_LEN               10
+#define FLOWSPEC_DSCP                  11
+#define FLOWSPEC_FRAGMENT              12
+
 #endif /* _FRR_BGP_FLOWSPEC_PRIVATE_H */