X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fsession%2Fapplication.h;h=afe738f199cdc89229747fd99e7a88fe1a46e877;hb=b384b543313b6b47a277c903e9d4fcd4343054fa;hp=94a4e2582983c548675183da62317aed134fa301;hpb=a2ff7b8cfc829ffbb6d5de7534efb51f7cba9cf3;p=vpp.git diff --git a/src/vnet/session/application.h b/src/vnet/session/application.h index 94a4e258298..afe738f199c 100644 --- a/src/vnet/session/application.h +++ b/src/vnet/session/application.h @@ -30,8 +30,8 @@ typedef enum typedef struct _stream_session_cb_vft { /** Notify server of new segment */ - int (*add_segment_callback) (u32 api_client_index, const u8 * seg_name, - u32 seg_size); + int (*add_segment_callback) (u32 api_client_index, + const ssvm_private_t * ssvm_seg); /** Notify server of newly accepted session */ int (*session_accept_callback) (stream_session_t * new_session); @@ -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,7 +97,7 @@ 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;