Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
session: add support for memfd segments
[vpp.git]
/
src
/
vnet
/
session
/
application.h
diff --git
a/src/vnet/session/application.h
b/src/vnet/session/application.h
index
2892bc5
..
afe738f
100644
(file)
--- 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 */
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);
/** 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 */
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
/*
* Callbacks: shoulder-taps for the server/client