summaryrefslogtreecommitdiffstats
path: root/src/vlibapi/api_helper_macros.h
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2018-01-05 03:20:25 -0800
committerDave Barach <openvpp@barachs.net>2018-01-09 18:33:08 +0000
commite86a8edd3c14fb41ace2a12efd17bc7772bf623f (patch)
tree480219864cadd743fdb95c21379aeaf88a985e23 /src/vlibapi/api_helper_macros.h
parent4363ad6c96b5641fca1b16c5a6ec22e2364adcfd (diff)
api: refactor vlibmemory
- separate client/server code for both memory and socket apis - separate memory api code from generic vlib api code - move unix_shared_memory_fifo to svm and rename to svm_fifo_t - overall declutter Change-Id: I90cdd98ff74d0787d58825b914b0f1eafcfa4dc2 Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vlibapi/api_helper_macros.h')
-rw-r--r--src/vlibapi/api_helper_macros.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vlibapi/api_helper_macros.h b/src/vlibapi/api_helper_macros.h
index fc9374f8a26..23340425978 100644
--- a/src/vlibapi/api_helper_macros.h
+++ b/src/vlibapi/api_helper_macros.h
@@ -40,7 +40,7 @@ do { \
rmp->context = mp->context; \
rmp->retval = ntohl(rv); \
\
- vl_msg_api_send (rp, (u8 *)rmp); \
+ vl_api_send_msg (rp, (u8 *)rmp); \
} while(0);
#define REPLY_MACRO2(t, body) \
@@ -56,7 +56,7 @@ do { \
rmp->context = mp->context; \
rmp->retval = ntohl(rv); \
do {body;} while (0); \
- vl_msg_api_send (rp, (u8 *)rmp); \
+ vl_api_send_msg (rp, (u8 *)rmp); \
} while(0);
#define REPLY_MACRO3(t, n, body) \
@@ -72,7 +72,7 @@ do { \
rmp->context = mp->context; \
rmp->retval = ntohl(rv); \
do {body;} while (0); \
- vl_msg_api_send (rp, (u8 *)rmp); \
+ vl_api_send_msg (rp, (u8 *)rmp); \
} while(0);
#define REPLY_MACRO4(t, n, body) \
@@ -103,7 +103,7 @@ do { \
rmp->retval = ntohl(rv); \
if (!is_error) \
do {body;} while (0); \
- vl_msg_api_send (rp, (u8 *)rmp); \
+ vl_api_send_msg (rp, (u8 *)rmp); \
} while(0);
/* "trust, but verify" */