summaryrefslogtreecommitdiffstats
path: root/src/vnet/buffer.h
diff options
context:
space:
mode:
authorRajesh Goel <rajegoel@cisco.com>2019-10-06 13:17:36 +0530
committerAndrew Yourtchenko <ayourtch@gmail.com>2019-10-22 11:15:17 +0000
commitbe2d536f87e996ba0067af0ea5fab6dd45d20822 (patch)
treec8f564fe9283e7addb0895de153a96ceadfe470b /src/vnet/buffer.h
parentd3b170254bc41495cca90c6bfe77ffb02aaa661a (diff)
mpls: support fragmentation of mpls output packet
Type: fix Signed-off-by: Rajesh Goel <rajegoel@cisco.com> Change-Id: Ie4372c5cf58ab215cdec5ce56f8a994daaba2844 (cherry picked from commit d6f1c9c5141c177a14d011a514e392a9357398fb)
Diffstat (limited to 'src/vnet/buffer.h')
-rw-r--r--src/vnet/buffer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vnet/buffer.h b/src/vnet/buffer.h
index 5a3bc3fc279..413d721222d 100644
--- a/src/vnet/buffer.h
+++ b/src/vnet/buffer.h
@@ -221,8 +221,12 @@ typedef struct
u8 ttl;
u8 exp;
u8 first;
+ u8 pyld_proto:3; /* dpo_proto_t */
+ u8 rsvd:5;
/* Rewrite length */
u32 save_rewrite_length;
+ /* Save the mpls header length including all label stack */
+ u8 mpls_hdr_length;
/*
* BIER - the number of bytes in the header.
* the len field in the header is not authoritative. It's the