diff options
author | Rajesh Goel <rajegoel@cisco.com> | 2019-10-06 13:17:36 +0530 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2019-10-09 09:20:51 +0000 |
commit | d6f1c9c5141c177a14d011a514e392a9357398fb (patch) | |
tree | c4a08dd88f69035ae659301980a97fe83923f85a /src/vnet/buffer.h | |
parent | ab96454e3aba8e60094e773a39e9d28f50d7192e (diff) |
mpls: support fragmentation of mpls output packet
Type: fix
Signed-off-by: Rajesh Goel <rajegoel@cisco.com>
Change-Id: Ie4372c5cf58ab215cdec5ce56f8a994daaba2844
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 708e399047d..d160ae8c9af 100644 --- a/src/vnet/buffer.h +++ b/src/vnet/buffer.h @@ -246,8 +246,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 |