Searched refs:VXLAN_VNI_MASK (Results 1 – 3 of 3) sorted by relevance
40 #define VXLAN_VNI_MASK bpf_htonl((VXLAN_N_VID - 1) << 8) macro213 vxlan_hdr->vx_vni = bpf_htonl((VXLAN_VNI & VXLAN_VNI_MASK) << 8); in __encap_ipv4()343 vxlan_hdr->vx_vni = bpf_htonl((VXLAN_VNI & VXLAN_VNI_MASK) << 8); in __encap_ipv6()
35 #define VXLAN_VNI_MASK cpu_to_be32(VXLAN_VID_MASK << 8) macro410 return (__force __be32)((__force u32)(vni_field & VXLAN_VNI_MASK) << 8); in vxlan_vni()
1572 unparsed->vx_vni &= VXLAN_VNI_MASK; in vxlan_remcsum()1693 unparsed.vx_vni &= ~VXLAN_VNI_MASK; in vxlan_rcv()