Home
last modified time | relevance | path

Searched refs:VXLAN_VNI_MASK (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dtest_tc_tunnel.c37 #define VXLAN_VNI_MASK bpf_htonl((VXLAN_N_VID - 1) << 8) macro
210 vxlan_hdr->vx_vni = bpf_htonl((VXLAN_VNI & VXLAN_VNI_MASK) << 8); in __encap_ipv4()
340 vxlan_hdr->vx_vni = bpf_htonl((VXLAN_VNI & VXLAN_VNI_MASK) << 8); in __encap_ipv6()
/linux-6.6.21/include/net/
Dvxlan.h35 #define VXLAN_VNI_MASK cpu_to_be32(VXLAN_VID_MASK << 8) macro
409 return (__force __be32)((__force u32)(vni_field & VXLAN_VNI_MASK) << 8); in vxlan_vni()
/linux-6.6.21/drivers/net/vxlan/
Dvxlan_core.c1569 unparsed->vx_vni &= VXLAN_VNI_MASK; in vxlan_remcsum()
1688 unparsed.vx_vni &= ~VXLAN_VNI_MASK; in vxlan_rcv()