summaryrefslogtreecommitdiffstats
path: root/vlib-api/vlibmemory/api.h
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2016-12-02 13:31:25 -0500
committerDamjan Marion <dmarion.lists@gmail.com>2016-12-05 09:19:43 +0000
commit072f8debf21c786ab785ed623229935e0a6cddb6 (patch)
treebf50847f3f54f9fd1dbc2ad630b85e96160bd004 /vlib-api/vlibmemory/api.h
parente3371afc8a90177eef331cf609ddd89c9413aeb5 (diff)
Variable-message-length tracing support, VPP-370
Clean up several message handlers which spuriously depended on having a vlib_main_t * pointer passed as a second argument. That definitely doesn't happen when replaying an api trace... Change-Id: Id4cf9745f770933566cb13698ee779333ee35d79 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'vlib-api/vlibmemory/api.h')
-rw-r--r--vlib-api/vlibmemory/api.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/vlib-api/vlibmemory/api.h b/vlib-api/vlibmemory/api.h
index 825891cf9ed..f1f8bb736b0 100644
--- a/vlib-api/vlibmemory/api.h
+++ b/vlib-api/vlibmemory/api.h
@@ -88,14 +88,6 @@ typedef struct vl_shmem_hdr_
} 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