summaryrefslogtreecommitdiffstats
path: root/src/vlib/buffer.h
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2017-02-27 11:29:20 +0100
committerNeale Ranns <nranns@cisco.com>2017-02-27 12:27:43 +0000
commitff542707733102b2573dca2496ea427b3dba3b10 (patch)
treedf4267e0a6111dd95bc17f6c787ad882c685fec4 /src/vlib/buffer.h
parent39f9d8bd226ab5aa366f181a5cbf7c873f599e06 (diff)
vlib: add VLIB_BUFFER_EXT_HDR_VALID flag
Change-Id: If56c66dd12eded1cc997087de5fd1b975766c4e2 Signed-off-by: Damjan Marion <damarion@cisco.com>
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 fffb50c8fe5..8ea79502455 100644
--- a/src/vlib/buffer.h
+++ b/src/vlib/buffer.h
@@ -77,6 +77,7 @@ typedef struct
<br> VLIB_BUFFER_REPL_FAIL: packet replication failure
<br> VLIB_BUFFER_RECYCLE: as it says
<br> VLIB_BUFFER_FLOW_REPORT: buffer is a flow report,
+ <br> VLIB_BUFFER_EXT_HDR_VALID: buffer contains valid external buffer manager header,
set to avoid adding it to a flow report
<br> VLIB_BUFFER_FLAG_USER(n): user-defined bit N
*/
@@ -88,6 +89,7 @@ typedef struct
#define VLIB_BUFFER_REPL_FAIL (1 << 4)
#define VLIB_BUFFER_RECYCLE (1 << 5)
#define VLIB_BUFFER_FLOW_REPORT (1 << 6)
+#define VLIB_BUFFER_EXT_HDR_VALID (1 << 7)
/* User defined buffer flags. */
#define LOG2_VLIB_BUFFER_FLAG_USER(n) (32 - (n))