Move classify_table_index under the union
[vpp.git] / vnet / vnet / ip / lookup.h
index 4286935..ba242ef 100644 (file)
@@ -129,11 +129,16 @@ typedef struct {
   i16 explicit_fib_index;
   u16 mcast_group_index;  
 
-  /* When classifying, start here */
-  u16 classify_table_index;
   /* Highest possible perf subgraph arc interposition, e.g. for ip6 ioam */
   u16 saved_lookup_next_index;
 
+  union {
+    /* IP_LOOKUP_NEXT_CLASSIFY only */
+    struct {
+      u16 table_index;
+    } classify;
+  };
+
   STRUCT_MARK(signature_end);
 
   /* Number of FIB entries sharing this adjacency */