X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvcl%2Fvcl_locked.h;h=fa3a2735eb707960bdfbb6f500d1f443c5e3dc2a;hb=69b7599e4b061a8996205f0304232ede84cb70d4;hp=7cfb3bdc5227fe3f49e30797471d0e3c57e229cc;hpb=a3a489691d7f2813702fae2d915120743b860d62;p=vpp.git diff --git a/src/vcl/vcl_locked.h b/src/vcl/vcl_locked.h index 7cfb3bdc522..fa3a2735eb7 100644 --- a/src/vcl/vcl_locked.h +++ b/src/vcl/vcl_locked.h @@ -21,10 +21,12 @@ #include #define VLS_INVALID_HANDLE ((int)-1) +#define VLS_WORKER_RPC_TIMEOUT 3 /* timeout to wait rpc response. */ typedef int vls_handle_t; vls_handle_t vls_create (uint8_t proto, uint8_t is_nonblocking); +int vls_shutdown (vls_handle_t vlsh, int how); int vls_close (vls_handle_t vlsh); int vls_bind (vls_handle_t vlsh, vppcom_endpt_t * ep); int vls_listen (vls_handle_t vlsh, int q_len);