From a1400cecb8d8b423e83bd584e59fa817b8a243d9 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Wed, 15 Sep 2021 09:02:08 -0700 Subject: misc: api move continued Move control ping and change dependencies from vpe.api_types to memclnt.api_types Type: refactor Signed-off-by: Florin Coras Change-Id: I9f8bc442e28738c48d64d1f6794082c8c4f5725b --- src/vlibmemory/vlib.api | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'src/vlibmemory/vlib.api') diff --git a/src/vlibmemory/vlib.api b/src/vlibmemory/vlib.api index 5e8ba47ba7d..c017fc7919a 100644 --- a/src/vlibmemory/vlib.api +++ b/src/vlibmemory/vlib.api @@ -243,6 +243,30 @@ define get_f64_increment_by_one_reply f64 f64_value; }; +/** \brief Control ping from client to api server request + @param client_index - opaque cookie to identify the sender + @param context - sender context, to match reply w/ request +*/ +define control_ping +{ + u32 client_index; + u32 context; +}; + +/** \brief Control ping from the client to the server response + @param client_index - opaque cookie to identify the sender + @param context - sender context, to match reply w/ request + @param retval - return code for the request + @param vpe_pid - the pid of the vpe, returned by the server +*/ +define control_ping_reply +{ + u32 context; + i32 retval; + u32 client_index; + u32 vpe_pid; +}; + /* * Local Variables: * eval: (c-set-style "gnu") -- cgit 1.2.3-korg