summaryrefslogtreecommitdiffstats
path: root/src/vcl/vppcom.h
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2019-01-07 17:49:17 -0800
committerFlorin Coras <fcoras@cisco.com>2019-01-08 00:45:21 -0800
commit294afe297c74c7c9413c6bd4856e92c9bc439e7c (patch)
treef2bf582aec087073c7eaff42eeb01bb39be089a6 /src/vcl/vppcom.h
parent98311da8b42d1e97e4a6cc22cb2032ba84f08fad (diff)
vcl/ldp: select cleanup/improvements
Change-Id: I640e69388f2ab0f66ad60c5165c749f5a5a9f525 Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vcl/vppcom.h')
-rw-r--r--src/vcl/vppcom.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/vcl/vppcom.h b/src/vcl/vppcom.h
index 513947a559e..d82c9f9c58c 100644
--- a/src/vcl/vppcom.h
+++ b/src/vcl/vppcom.h
@@ -173,6 +173,8 @@ typedef struct vppcom_data_segment_
typedef vppcom_data_segment_t vppcom_data_segments_t[2];
+typedef unsigned long vcl_si_set;
+
/*
* VPPCOM Public API Functions
*/
@@ -259,10 +261,9 @@ extern int vppcom_session_write (uint32_t session_handle, void *buf,
extern int vppcom_session_write_msg (uint32_t session_handle, void *buf,
size_t n);
-extern int vppcom_select (unsigned long n_bits,
- unsigned long *read_map,
- unsigned long *write_map,
- unsigned long *except_map, double wait_for_time);
+extern int vppcom_select (int n_bits, vcl_si_set * read_map,
+ vcl_si_set * write_map, vcl_si_set * except_map,
+ double wait_for_time);
extern int vppcom_epoll_create (void);
extern int vppcom_epoll_ctl (uint32_t vep_handle, int op,