From 81cfa9cf388a742bad0d71ba1c92debb04c6cdba Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Thu, 4 Jul 2019 14:12:50 +0000 Subject: vxlan-gbp: Decap ignores reserved bits Type: fix from the draft: 3. Backward Compatibility VXLAN [RFC7348] requires reserved fields to be set to zero on transmit and ignored on receive. Change-Id: I98544907894f1a6eba9595a37c3c88322905630e Signed-off-by: Neale Ranns --- src/vnet/vxlan-gbp/vxlan_gbp_packet.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/vnet/vxlan-gbp/vxlan_gbp_packet.h') diff --git a/src/vnet/vxlan-gbp/vxlan_gbp_packet.h b/src/vnet/vxlan-gbp/vxlan_gbp_packet.h index 58fe00323b0..e655b333b89 100644 --- a/src/vnet/vxlan-gbp/vxlan_gbp_packet.h +++ b/src/vnet/vxlan-gbp/vxlan_gbp_packet.h @@ -104,6 +104,8 @@ typedef enum #undef _ } __attribute__ ((packed)) vxlan_gbp_flags_t; +#define VXLAN_GBP_FLAGS_GI (VXLAN_GBP_FLAGS_G|VXLAN_GBP_FLAGS_I) + #define foreach_vxlan_gbp_gpflags \ _ (0x40, D) \ _ (0x20, E) \ -- cgit 1.2.3-korg