From f869028740aaebeb0375077d4d84fa07a17fff1a Mon Sep 17 00:00:00 2001 From: Dave Barach Date: Wed, 1 Mar 2017 11:38:02 -0500 Subject: Fix buffer template copy Change-Id: If451c9cb68719fc816999b0330b9be3a0169176a Signed-off-by: Dave Barach --- src/vlib/buffer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/vlib/buffer.h') diff --git a/src/vlib/buffer.h b/src/vlib/buffer.h index b4015b302c3..1f723f3b677 100644 --- a/src/vlib/buffer.h +++ b/src/vlib/buffer.h @@ -61,6 +61,7 @@ typedef struct { CLIB_CACHE_LINE_ALIGN_MARK (cacheline0); + STRUCT_MARK (template_start); /* Offset within data[] that we are currently processing. If negative current header points into predata area. */ i16 current_data; /**< signed offset in data[], pre_data[] @@ -103,6 +104,7 @@ typedef struct /**< Only valid for first buffer in chain. Current length plus total length given here give total number of bytes in buffer chain. */ + STRUCT_MARK (template_end); u32 next_buffer; /**< Next buffer for this linked-list of buffers. Only valid if VLIB_BUFFER_NEXT_PRESENT flag is set. -- cgit 1.2.3-korg