ofp-util: Allow decoding of Open Flow 1.1 & 1.2 Table Statistics Request Messages
[openvswitch] / include / openflow / openflow-1.2.h
index 0a73ed17bb6b87b20618a597af3fa4499b3adee2..64bc9937480b4f1c2d878a6c4172c586bfd38ff1 100644 (file)
@@ -106,8 +106,13 @@ enum oxm12_ofb_match_fields {
     OFPXMT12_OFB_IPV6_ND_TLL,    /* Target link-layer for ND. */
     OFPXMT12_OFB_MPLS_LABEL,     /* MPLS label. */
     OFPXMT12_OFB_MPLS_TC,        /* MPLS TC. */
+
+    /* End Marker */
+    OFPXMT12_OFB_MAX,
 };
 
+#define OFPXMT12_MASK ((1ULL << OFPXMT12_OFB_MAX) - 1)
+
 /* OXM implementation makes use of NXM as they are the same format
  * with different field definitions
  */