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/vpp-api/client/client.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/vpp-api/client/client.c')
-rw-r--r-- | src/vpp-api/client/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vpp-api/client/client.c b/src/vpp-api/client/client.c index 6c922dbe2e8..68269bb9b55 100644 --- a/src/vpp-api/client/client.c +++ b/src/vpp-api/client/client.c @@ -507,7 +507,7 @@ typedef VL_API_PACKED(struct _vl_api_header { u32 client_index; }) vl_api_header_t; -static unsigned int +static u32 vac_client_index (void) { return (api_main.my_client_index); |