ip: use main heap for mtrie, part 2 (remove args)
[vpp.git] / src / vnet / ip / ip4.h
index 6e13cc8..cb78bfb 100644 (file)
@@ -42,6 +42,7 @@
 
 #include <vnet/ip/ip4_packet.h>
 #include <vnet/ip/lookup.h>
+#include <vnet/ip/ip_interface.h>
 #include <vnet/buffer.h>
 #include <vnet/feature/feature.h>
 #include <vnet/ip/icmp46_packet.h>
@@ -163,12 +164,6 @@ typedef struct ip4_main_t
     u8 pad[2];
   } host_config;
 
-  /** Heapsize for the Mtries */
-  uword mtrie_heap_size;
-
-  /** The memory heap for the mtries */
-  void *mtrie_mheap;
-
   /** ARP throttling */
   throttle_t arp_throttle;