Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
"autoreply" flag: autogenerate standard xxx_reply_t messages
[vpp.git]
/
src
/
vlibmemory
/
memory_vlib.c
diff --git
a/src/vlibmemory/memory_vlib.c
b/src/vlibmemory/memory_vlib.c
index
7a536ee
..
43574de
100644
(file)
--- a/
src/vlibmemory/memory_vlib.c
+++ b/
src/vlibmemory/memory_vlib.c
@@
-1275,7
+1275,7
@@
VLIB_CLI_COMMAND (cli_show_api_plugin_command, static) = {
static void
vl_api_rpc_call_t_handler (vl_api_rpc_call_t * mp)
{
static void
vl_api_rpc_call_t_handler (vl_api_rpc_call_t * mp)
{
- vl_api_rpc_reply_t *rmp;
+ vl_api_rpc_
call_
reply_t *rmp;
int (*fp) (void *);
i32 rv = 0;
vlib_main_t *vm = vlib_get_main ();
int (*fp) (void *);
i32 rv = 0;
vlib_main_t *vm = vlib_get_main ();
@@
-1305,7
+1305,7
@@
vl_api_rpc_call_t_handler (vl_api_rpc_call_t * mp)
if (q)
{
rmp = vl_msg_api_alloc_as_if_client (sizeof (*rmp));
if (q)
{
rmp = vl_msg_api_alloc_as_if_client (sizeof (*rmp));
- rmp->_vl_msg_id = ntohs (VL_API_RPC_REPLY);
+ rmp->_vl_msg_id = ntohs (VL_API_RPC_
CALL_
REPLY);
rmp->context = mp->context;
rmp->retval = rv;
vl_msg_api_send_shmem (q, (u8 *) & rmp);
rmp->context = mp->context;
rmp->retval = rv;
vl_msg_api_send_shmem (q, (u8 *) & rmp);
@@
-1318,7
+1318,7
@@
vl_api_rpc_call_t_handler (vl_api_rpc_call_t * mp)
}
static void
}
static void
-vl_api_rpc_
reply_t_handler (vl_api_rpc
_reply_t * mp)
+vl_api_rpc_
call_reply_t_handler (vl_api_rpc_call
_reply_t * mp)
{
clib_warning ("unimplemented");
}
{
clib_warning ("unimplemented");
}
@@
-1415,7
+1415,7
@@
vl_api_trace_plugin_msg_ids_t_handler (vl_api_trace_plugin_msg_ids_t * mp)
#define foreach_rpc_api_msg \
_(RPC_CALL,rpc_call) \
#define foreach_rpc_api_msg \
_(RPC_CALL,rpc_call) \
-_(RPC_
REPLY,rpc
_reply)
+_(RPC_
CALL_REPLY,rpc_call
_reply)
#define foreach_plugin_trace_msg \
_(TRACE_PLUGIN_MSG_IDS,trace_plugin_msg_ids)
#define foreach_plugin_trace_msg \
_(TRACE_PLUGIN_MSG_IDS,trace_plugin_msg_ids)