sock api: add infra for bootstrapping shm clients
[vpp.git] / src / vlibmemory / memclnt.api
index 6d6a1fe..20a73f2 100644 (file)
@@ -183,6 +183,23 @@ define memfd_segment_create_reply
   u32 master_fd;
 };
 
+/*
+ * Initialize shm api over socket api
+ */
+define sock_init_shm {
+    u32 client_index;
+    u32 context;
+    u32 requested_size;
+    u8 nitems;
+    u64 configs[nitems];
+};
+
+define sock_init_shm_reply {
+    u32 client_index;
+    u32 context;
+    i32 retval;
+};
+
 /*
  * Memory client ping / response
  * Only sent on inactive connections