From be2d536f87e996ba0067af0ea5fab6dd45d20822 Mon Sep 17 00:00:00 2001 From: Rajesh Goel Date: Sun, 6 Oct 2019 13:17:36 +0530 Subject: mpls: support fragmentation of mpls output packet Type: fix Signed-off-by: Rajesh Goel Change-Id: Ie4372c5cf58ab215cdec5ce56f8a994daaba2844 (cherry picked from commit d6f1c9c5141c177a14d011a514e392a9357398fb) --- src/vnet/buffer.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/vnet/buffer.h') 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 -- cgit 1.2.3-korg