ikev2: add option to disable NAT traversal
[vpp.git] / src / plugins / memif / private.h
index a938b85..187888d 100644 (file)
@@ -123,6 +123,7 @@ typedef struct
   u16 last_head;
   u16 last_tail;
   u32 *buffers;
+  u8 buffer_pool_index;
 
   /* interrupts */
   int int_fd;
@@ -224,9 +225,9 @@ typedef struct
   memif_copy_op_t *copy_ops;
   u32 *buffers;
 
+  memif_desc_t desc_template;
   /* buffer template */
   vlib_buffer_t buffer_template;
-  memif_desc_t desc_template;
 } memif_per_thread_data_t;
 
 typedef struct
@@ -254,7 +255,7 @@ extern memif_main_t memif_main;
 extern vnet_device_class_t memif_device_class;
 extern vlib_node_registration_t memif_input_node;
 
-enum
+typedef enum
 {
   MEMIF_PROCESS_EVENT_START = 1,
   MEMIF_PROCESS_EVENT_STOP = 2,