Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dtest_tc_tunnel.c40 #define VXLAN_VNI_MASK bpf_htonl((VXLAN_N_VID - 1) << 8) macro
213 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()
/linux-6.12.1/include/net/
Dvxlan.h35 #define VXLAN_VNI_MASK cpu_to_be32(VXLAN_VID_MASK << 8) macro
410 return (__force __be32)((__force u32)(vni_field & VXLAN_VNI_MASK) << 8); in vxlan_vni()
/linux-6.12.1/drivers/net/vxlan/
Dvxlan_core.c1572 unparsed->vx_vni &= VXLAN_VNI_MASK; in vxlan_remcsum()
1693 unparsed.vx_vni &= ~VXLAN_VNI_MASK; in vxlan_rcv()