VCL-LDPRELOAD: Fix CID179207
[vpp.git] / src / vcl / vppcom.h
index 6260bdc..45ff116 100644 (file)
@@ -72,7 +72,7 @@ typedef enum
 typedef enum
 {
   VPPCOM_ATTR_GET_NREAD,
-  VPPCOM_ATTR_PEEK_NREAD,
+  VPPCOM_ATTR_GET_NWRITE,
   VPPCOM_ATTR_GET_FLAGS,
   VPPCOM_ATTR_SET_FLAGS,
   VPPCOM_ATTR_GET_LCL_ADDR,
@@ -103,6 +103,10 @@ vppcom_retval_str (int retval)
       st = "VPPCOM_EAGAIN";
       break;
 
+    case VPPCOM_ENOMEM:
+      st = "VPPCOM_ENOMEM";
+      break;
+
     case VPPCOM_EINVAL:
       st = "VPPCOM_EINVAL";
       break;
@@ -147,7 +151,7 @@ extern int vppcom_session_bind (uint32_t session_index, vppcom_endpt_t * ep);
 extern int vppcom_session_listen (uint32_t session_index, uint32_t q_len);
 extern int vppcom_session_accept (uint32_t session_index,
                                  vppcom_endpt_t * client_ep,
-                                 double wait_for_time);
+                                 uint32_t flags, double wait_for_time);
 
 extern int vppcom_session_connect (uint32_t session_index,
                                   vppcom_endpt_t * server_ep);