api: refactor vlibmemory
[vpp.git] / src / vnet / session / application.h
index b985213..fd6454f 100644 (file)
@@ -72,7 +72,7 @@ typedef struct _application
   u32 ns_index;
 
   /** Application listens for events on this svm queue */
-  unix_shared_memory_queue_t *event_queue;
+  svm_queue_t *event_queue;
 
   /*
    * Callbacks: shoulder-taps for the server/client
@@ -97,12 +97,13 @@ typedef struct _application
   u8 first_segment_manager_in_use;
 
   /** Segment manager properties. Shared by all segment managers */
-  segment_manager_properties_t sm_properties;
+  u32 sm_properties;
 
   u16 proxied_transports;
 } application_t;
 
 #define APP_INVALID_INDEX ((u32)~0)
+#define APP_DROP_INDEX (((u32)~0) - 1)
 #define APP_NS_INVALID_INDEX ((u32)~0)
 #define APP_INVALID_SEGMENT_MANAGER_INDEX ((u32) ~0)