15 #ifndef __included_vxlan_packet_h__ 16 #define __included_vxlan_packet_h__ 1 49 #define VXLAN_FLAGS_VALID_HOST_BYTE_ORDER (1<<27) 50 #define VXLAN_FLAGS_VALID_NET_BYTE_ORDER (clib_host_to_net_u32(1<<27)) 54 u32 vni_reserved_host_byte_order;
56 vni_reserved_host_byte_order = clib_net_to_host_u32 (h->
vni_reserved);
57 return vni_reserved_host_byte_order >> 8;
#define VXLAN_FLAGS_VALID_NET_BYTE_ORDER
static u32 vnet_get_vni(vxlan_header_t *h)
static void vnet_set_vni_and_flags(vxlan_header_t *h, u32 vni)