summaryrefslogtreecommitdiffstats
path: root/src/vnet/session/session.api
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/session/session.api')
-rw-r--r--src/vnet/session/session.api68
1 files changed, 7 insertions, 61 deletions
diff --git a/src/vnet/session/session.api b/src/vnet/session/session.api
index e207e46f686..4aef09da2a8 100644
--- a/src/vnet/session/session.api
+++ b/src/vnet/session/session.api
@@ -49,26 +49,17 @@ define application_attach_reply {
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
*/
- define application_detach {
+autoreply define application_detach {
u32 client_index;
u32 context;
};
- /** \brief detach reply
- @param context - sender context, to match reply w/ request
- @param retval - return code for the request
-*/
-define application_detach_reply {
- u32 context;
- i32 retval;
-};
-
/** \brief vpp->client, please map an additional shared memory segment
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
@param segment_name -
*/
-define map_another_segment {
+autoreply define map_another_segment {
u32 client_index;
u32 context;
u32 segment_size;
@@ -83,7 +74,7 @@ define map_another_segment {
"tcp://::/0/80" [ipv6] etc.
@param options - socket options, fifo sizes, etc.
*/
-define bind_uri {
+autoreply define bind_uri {
u32 client_index;
u32 context;
u32 accept_cookie;
@@ -97,7 +88,7 @@ define bind_uri {
"tcp://::/0/80" [ipv6], etc.
@param options - socket options, fifo sizes, etc.
*/
-define unbind_uri {
+autoreply define unbind_uri {
u32 client_index;
u32 context;
u8 uri[128];
@@ -122,24 +113,6 @@ define connect_uri {
u64 options[16];
};
-/** \brief Bind reply
- @param context - sender context, to match reply w/ request
- @param retval - return code for the request
-*/
-define bind_uri_reply {
- u32 context;
- i32 retval;
-};
-
-/** \brief unbind reply
- @param context - sender context, to match reply w/ request
- @param retval - return code for the request
-*/
-define unbind_uri_reply {
- u32 context;
- i32 retval;
-};
-
/** \brief vpp->client, connect reply
@param context - sender context, to match reply w/ request
@param retval - return code for the request
@@ -165,15 +138,6 @@ define connect_uri_reply {
u8 segment_name[128];
};
-/** \brief client->vpp
- @param context - sender context, to match reply w/ request
- @param retval - return code for the request
-*/
-define map_another_segment_reply {
- u32 context;
- i32 retval;
-};
-
/** \brief vpp->client, accept this session
@param context - sender context, to match reply w/ request
@param listener_handle - tells client which listener this pertains to
@@ -290,7 +254,7 @@ define bind_sock {
@param context - sender context, to match reply w/ request
@param handle - bind handle obtained from bind reply
*/
-define unbind_sock {
+autoreply define unbind_sock {
u32 client_index;
u32 context;
u64 handle;
@@ -339,15 +303,6 @@ define bind_sock_reply {
u8 segment_name[128];
};
-/** \brief unbind reply
- @param context - sender context, to match reply w/ request
- @param retval - return code for the request
-*/
-define unbind_sock_reply {
- u32 context;
- i32 retval;
-};
-
/** \brief vpp/server->client, connect reply
@param context - sender context, to match reply w/ request
@param retval - return code for the request
@@ -378,23 +333,14 @@ define connect_sock_reply {
@param context - sender context, to match reply w/ request
@param is_enable - disable session layer if 0, enable otherwise
*/
-define session_enable_disable {
+autoreply define session_enable_disable {
u32 client_index;
u32 context;
u8 is_enable;
};
-/** \brief Reply for session enable/disable
- @param context - returned sender context, to match reply w/ request
- @param retval - return code
-*/
-define session_enable_disable_reply {
- u32 context;
- i32 retval;
-};
-
/*
* Local Variables:
* eval: (c-set-style "gnu")
* End:
- */ \ No newline at end of file
+ */