aboutsummaryrefslogtreecommitdiffstats
path: root/src/vlibmemory/socket_api.h
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2018-08-03 02:50:43 -0700
committerDave Barach <openvpp@barachs.net>2018-08-04 16:00:32 +0000
commit466f289c27f290a2764a82f57f5c20d080227ead (patch)
treef37fd2763c95e3139d57423d06ae993453dc382c /src/vlibmemory/socket_api.h
parente7a9b3d2545c00689fe7547e7d807fe4a9b3365d (diff)
socket api: multiple fds in one msg
Change-Id: I77a6e092a42290eed7201ad4a62e0d00ef997d2b Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vlibmemory/socket_api.h')
-rw-r--r--src/vlibmemory/socket_api.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vlibmemory/socket_api.h b/src/vlibmemory/socket_api.h
index d12b427a6a4..86fd600edbb 100644
--- a/src/vlibmemory/socket_api.h
+++ b/src/vlibmemory/socket_api.h
@@ -77,8 +77,8 @@ void vl_socket_process_api_msg (clib_file_t * uf, vl_api_registration_t * rp,
i8 * input_v);
void vl_sock_api_dump_clients (vlib_main_t * vm, api_main_t * am);
clib_error_t *vl_sock_api_init (vlib_main_t * vm);
-clib_error_t *vl_sock_api_send_fd_msg (int socket_fd, int fd_to_share);
-clib_error_t *vl_sock_api_recv_fd_msg (int socket_fd, int *fd_to_share,
+clib_error_t *vl_sock_api_send_fd_msg (int socket_fd, int fds[], int n_fds);
+clib_error_t *vl_sock_api_recv_fd_msg (int socket_fd, int fds[], int n_fds,
u32 wait);
#endif /* SRC_VLIBMEMORY_SOCKET_API_H_ */