aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/buffer.h
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2019-06-20 12:18:31 -0700
committerJohn Lo <loj@cisco.com>2019-06-21 00:57:08 +0000
commit07beadedea9b23d97e41b3090590326c18151c66 (patch)
treef0e126d5ff5947d85cdc390e26e0cee8ebb8ef1b /src/vnet/buffer.h
parent2a688c0120274c075f960feffa74e825b55e78d0 (diff)
tcp: add option to pass opaque to next node
Type:feature Change-Id: I0b72954a6ae6a05abe0761cb4f227072863f127b Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/buffer.h')
-rw-r--r--src/vnet/buffer.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/vnet/buffer.h b/src/vnet/buffer.h
index 812fe7478c0..324c903db73 100644
--- a/src/vnet/buffer.h
+++ b/src/vnet/buffer.h
@@ -327,7 +327,11 @@ typedef struct
struct
{
u32 connection_index;
- u32 seq_number;
+ union
+ {
+ u32 seq_number;
+ u32 next_node_opaque;
+ };
u32 seq_end;
u32 ack_number;
u16 hdr_offset; /**< offset relative to ip hdr */