aboutsummaryrefslogtreecommitdiffstats
path: root/src/vlib/buffer.h
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2017-03-01 11:38:02 -0500
committerDamjan Marion <damarion@cisco.com>2017-03-01 19:06:42 +0100
commitf869028740aaebeb0375077d4d84fa07a17fff1a (patch)
tree3621af03394a4875e135175c3d23e82b6883f0fd /src/vlib/buffer.h
parentb3bb10101ceffec1df0624c785acbd40858870ec (diff)
Fix buffer template copy
Change-Id: If451c9cb68719fc816999b0330b9be3a0169176a Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/vlib/buffer.h')
-rw-r--r--src/vlib/buffer.h2
1 files changed, 2 insertions, 0 deletions
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.