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>
This commit is contained in:
Dave Barach
2016-12-02 13:31:25 -05:00
committed by Damjan Marion
parent e3371afc8a
commit 072f8debf2
5 changed files with 67 additions and 146 deletions

View File

@ -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