diff options
author | Damjan Marion <damarion@cisco.com> | 2017-01-25 14:18:03 +0100 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2017-02-28 21:12:48 +0000 |
commit | c47ed032c6d036a9f942fc9ced48874fad55b48c (patch) | |
tree | f983e46b265200797648f9d5ec6be51b659a41e5 /src/vlib/buffer.h | |
parent | 05472b625fc401f1514a148f7122e6c3c571765a (diff) |
vlib: add buffer cloning support
Change-Id: I50070611af15b2b4cc29664a8bee4f821ac3c835
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vlib/buffer.h')
-rw-r--r-- | src/vlib/buffer.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vlib/buffer.h b/src/vlib/buffer.h index 8ea79502455..b4015b302c3 100644 --- a/src/vlib/buffer.h +++ b/src/vlib/buffer.h @@ -119,7 +119,9 @@ typedef struct feature node */ - u8 dont_waste_me[3]; /**< Available space in the (precious) + u8 n_add_refs; /**< Number of additional references to this buffer. */ + + u8 dont_waste_me[2]; /**< Available space in the (precious) first 32 octets of buffer metadata Before allocating any of it, discussion required! */ |