diff options
author | 2016-08-02 19:14:37 +0800 | |
---|---|---|
committer | 2016-08-02 19:14:37 +0800 | |
commit | 59d02208a630c634699f6c55d0513afc4aa9cbf1 (patch) | |
tree | ff1bd8bb5dbffe6adbc59e8747fea575f6a66a7c /nsh-plugin/nsh/nsh.api | |
parent | aec524e024e6a3f9a3a242defeab2f5c2cc62649 (diff) |
Workaround for C thread to Java thread attachment for plugins
Change-Id: Ic33c37f63a30946ee451d3223db3bd1e3043f408
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
Diffstat (limited to 'nsh-plugin/nsh/nsh.api')
-rw-r--r-- | nsh-plugin/nsh/nsh.api | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/nsh-plugin/nsh/nsh.api b/nsh-plugin/nsh/nsh.api index 01292d1..0b42b58 100644 --- a/nsh-plugin/nsh/nsh.api +++ b/nsh-plugin/nsh/nsh.api @@ -104,3 +104,25 @@ define nsh_map_details { u32 sw_if_index; u32 next_node; }; + +/** \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; +}; |