X-Git-Url: https://gerrit.fd.io/r/gitweb?p=vpp.git;a=blobdiff_plain;f=src%2Fvlibapi%2Fapi_helper_macros.h;h=2334042597824e0b091b79c80ce03a3f6ea3721e;hp=fc9374f8a26a987579331c7ab9e4e80cb19ea91b;hb=e86a8edd3c14fb41ace2a12efd17bc7772bf623f;hpb=4363ad6c96b5641fca1b16c5a6ec22e2364adcfd 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" */