15 #ifndef __included_vxlan_gbp_packet_h__ 16 #define __included_vxlan_gbp_packet_h__ 1 88 #define VXLAN_GBP_FLAGS_G 0x80 89 #define VXLAN_GBP_FLAGS_I 0x08 91 #define foreach_vxlan_gbp_gpflags \ 99 #define _(n,f) VXLAN_GBP_GPFLAGS_##f = n, 107 u32 vni_reserved_host_byte_order;
109 vni_reserved_host_byte_order = clib_net_to_host_u32 (h->
vni_reserved);
110 return vni_reserved_host_byte_order >> 8;
116 u16 sclass_host_byte_order;
118 sclass_host_byte_order = clib_net_to_host_u16 (h->
sclass);
119 return sclass_host_byte_order;
static void vxlan_gbp_set_header(vxlan_gbp_header_t *h, u32 vni)
#define VXLAN_GBP_FLAGS_I
#define foreach_vxlan_gbp_gpflags
#define VXLAN_GBP_FLAGS_G
static u8 vxlan_gbp_get_flags(vxlan_gbp_header_t *h)
static u16 vxlan_gbp_get_sclass(vxlan_gbp_header_t *h)
static u32 vxlan_gbp_get_vni(vxlan_gbp_header_t *h)
static u8 vxlan_gbp_get_gpflags(vxlan_gbp_header_t *h)