X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvcl%2Fvppcom.h;h=19a01c798b5988e067a449233d244a5bee09c6fc;hb=2a1783fd6ae7e17c994010fca414c180eb48bc40;hp=d956b5f93f7aef339b39f3059a223bbbaf10d34f;hpb=04ae8273f64a4f5a771da9b056bcccd1ebf9c7d9;p=vpp.git diff --git a/src/vcl/vppcom.h b/src/vcl/vppcom.h index d956b5f93f7..19a01c798b5 100644 --- a/src/vcl/vppcom.h +++ b/src/vcl/vppcom.h @@ -53,6 +53,7 @@ extern "C" VPPCOM_PROTO_TLS, VPPCOM_PROTO_QUIC, VPPCOM_PROTO_DTLS, + VPPCOM_PROTO_SRTP, } vppcom_proto_t; typedef enum @@ -97,7 +98,9 @@ typedef enum VPPCOM_ECONNREFUSED = -ECONNREFUSED, VPPCOM_ETIMEDOUT = -ETIMEDOUT, VPPCOM_EEXIST = -EEXIST, - VPPCOM_ENOPROTOOPT = -ENOPROTOOPT + VPPCOM_ENOPROTOOPT = -ENOPROTOOPT, + VPPCOM_EPIPE = -EPIPE, + VPPCOM_ENOENT = -ENOENT, } vppcom_error_t; typedef enum @@ -136,13 +139,12 @@ typedef enum VPPCOM_ATTR_SET_TCP_KEEPINTVL, VPPCOM_ATTR_GET_TCP_USER_MSS, VPPCOM_ATTR_SET_TCP_USER_MSS, - VPPCOM_ATTR_SET_SHUT, - VPPCOM_ATTR_GET_SHUT, VPPCOM_ATTR_SET_CONNECTED, VPPCOM_ATTR_SET_CKPAIR, VPPCOM_ATTR_SET_VRF, VPPCOM_ATTR_GET_VRF, VPPCOM_ATTR_GET_DOMAIN, + VPPCOM_ATTR_SET_ENDPT_EXT_CFG, } vppcom_attr_op_t; typedef struct _vcl_poll @@ -171,6 +173,7 @@ extern int vppcom_app_create (const char *app_name); extern void vppcom_app_destroy (void); extern int vppcom_session_create (uint8_t proto, uint8_t is_nonblocking); +extern int vppcom_session_shutdown (uint32_t session_handle, int how); extern int vppcom_session_close (uint32_t session_handle); extern int vppcom_session_bind (uint32_t session_handle, vppcom_endpt_t * ep); extern int vppcom_session_listen (uint32_t session_handle, uint32_t q_len);