X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvcl%2Fvppcom.h;h=f2fca09b51295c1948466e5faa107c2d6a2a0d52;hb=30e79c2e388a98160a3660f4f03103890c9b1b7c;hp=641946be55a4a1c0485c7dc20bea4cff89ab9365;hpb=3c1cf2c1716f436e5da4a106dd2b9a3df5d3a4a3;p=vpp.git diff --git a/src/vcl/vppcom.h b/src/vcl/vppcom.h index 641946be55a..f2fca09b512 100644 --- a/src/vcl/vppcom.h +++ b/src/vcl/vppcom.h @@ -97,6 +97,8 @@ typedef struct vppcom_endpt_t_ uint16_t port; } vppcom_endpt_t; +typedef uint32_t vcl_session_handle_t; + typedef enum { VPPCOM_OK = 0, @@ -277,7 +279,8 @@ extern int vppcom_session_sendto (uint32_t session_handle, void *buffer, extern int vppcom_poll (vcl_poll_t * vp, uint32_t n_sids, double wait_for_time); extern int vppcom_mq_epoll_fd (void); -extern int vppcom_session_index (uint32_t session_handle); +extern int vppcom_session_index (vcl_session_handle_t session_handle); +extern int vppcom_session_worker (vcl_session_handle_t session_handle); extern int vppcom_session_handle (uint32_t session_index); extern int vppcom_session_read_segments (uint32_t session_handle,