diff options
author | Rajesh Goel <rajegoel@cisco.com> | 2019-10-06 13:17:36 +0530 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2019-10-22 11:15:17 +0000 |
commit | be2d536f87e996ba0067af0ea5fab6dd45d20822 (patch) | |
tree | c8f564fe9283e7addb0895de153a96ceadfe470b /src/vnet/buffer.h | |
parent | d3b170254bc41495cca90c6bfe77ffb02aaa661a (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.h | 4 |
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 |