commit | 6855f6cdfee8c479f1e0ae440ce87a91ff41a708 | [log] [tgz] |
---|---|---|
author | Ole Troan <ot@cisco.com> | Sat Apr 09 03:16:30 2016 +0200 |
committer | Dave Wallace <dwallacelf@gmail.com> | Wed Apr 20 16:50:29 2016 +0000 |
tree | e438e21c8107a675dc3a3141c6af6ba0ab458992 | |
parent | 633951c3d8dc1640813b4778f3e35463d08f3795 [diff] [blame] |
Python-API: Inital commit of Python bindings for the VPP API. See: https://wiki.fd.io/view/VPP/Python_API Change-Id: If135fc32208c7031787e1935b399d930e0e1ea1f Signed-off-by: Ole Troan <ot@cisco.com>
diff --git a/vlib-api/vlibmemory/api.h b/vlib-api/vlibmemory/api.h index 117bf43..516d321 100644 --- a/vlib-api/vlibmemory/api.h +++ b/vlib-api/vlibmemory/api.h
@@ -86,6 +86,13 @@ } vl_shmem_hdr_t; +/* Note that the size of the structure is 16 bytes, with 4 bytes of padding after data[0]. */ +typedef struct msgbuf_ { + unix_shared_memory_queue_t *q; + u32 data_len; + u8 data[0]; +} msgbuf_t; + #define VL_SHM_VERSION 2 #define VL_API_EPOCH_MASK 0xFF