From d792d9c01e60656cbfe1b0f1fd6a9b125f5dab0c Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Sat, 21 Oct 2017 10:53:20 -0700 Subject: BIER - see draft-ietf-bier-mpls-encapsulation-10 - midpoint, head and tail functions - supported payload protocols; IPv4 and IPv6 only. Change-Id: I59d7363bb6fdfdce8e4016a68a9c8f5a5e5791cb Signed-off-by: Neale Ranns --- src/vnet/buffer.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/vnet/buffer.h') diff --git a/src/vnet/buffer.h b/src/vnet/buffer.h index 045328816cd..6518fb67016 100644 --- a/src/vnet/buffer.h +++ b/src/vnet/buffer.h @@ -88,6 +88,8 @@ _(ipsec) \ _(map) \ _(map_t) \ _(ip_frag) \ +_(mpls) \ +_(bier) \ _(tcp) /* @@ -165,6 +167,16 @@ typedef struct u8 first; } mpls; + /* + * BIER - the nubmer of bytes in the header. + * the len field inthe header is not authoritative. It's the + * value in the table that counts. + */ + struct + { + u8 n_bytes; + } bier; + /* ip4-in-ip6 softwire termination, only valid there */ struct { -- cgit 1.2.3-korg