diff options
author | Ole Troan <ot@cisco.com> | 2018-08-02 11:58:12 +0200 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2018-10-02 21:10:20 +0000 |
commit | 94495f2a6a68ac2202b7715ce09620f1ba6fe673 (patch) | |
tree | b87604a42f7cacedff6c82f7d8fc68adc8348a5f /src/vlibmemory/vlib_api.c | |
parent | 84db4087fa38b8d4c62cbb0787d600950638034c (diff) |
PAPI: Use UNIX domain sockets instead of shared memory
Adds support for running the API purely across Unix domain sockets.
Usage: vpp = VPP(use_socket=True)
Change-Id: Iafc1301e03dd3edc3f4d702dd6c0b98d3b50b69e
Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'src/vlibmemory/vlib_api.c')
-rw-r--r-- | src/vlibmemory/vlib_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vlibmemory/vlib_api.c b/src/vlibmemory/vlib_api.c index 65fa34bcc63..15a0ba82f12 100644 --- a/src/vlibmemory/vlib_api.c +++ b/src/vlibmemory/vlib_api.c @@ -165,8 +165,8 @@ vl_api_api_versions_t_handler (vl_api_api_versions_t * mp) vl_api_send_msg (reg, (u8 *) rmp); } -#define foreach_vlib_api_msg \ -_(GET_FIRST_MSG_ID, get_first_msg_id) \ +#define foreach_vlib_api_msg \ +_(GET_FIRST_MSG_ID, get_first_msg_id) \ _(API_VERSIONS, api_versions) /* |