Searched refs:vxh (Results 1 – 1 of 1) sorted by relevance
2256 struct vxlan_header *vxh; in vxlan_encap_header() local2269 vxh = &hdr->vxlh_hdr; in vxlan_encap_header()2270 vxh->vxlh_flags = htonl(VXLAN_HDR_FLAGS_VALID_VNI); in vxlan_encap_header()2271 vxh->vxlh_vni = htonl(sc->vxl_vni << VXLAN_HDR_VNI_SHIFT); in vxlan_encap_header()2460 struct vxlan_header *vxh, vxlanhdr; in vxlan_rcv_udp_packet() local2474 vxh = &vxlanhdr; in vxlan_rcv_udp_packet()2476 vxh = mtodo(m, offset); in vxlan_rcv_udp_packet()2484 if (vxh->vxlh_flags != htonl(VXLAN_HDR_FLAGS_VALID_VNI) || in vxlan_rcv_udp_packet()2485 vxh->vxlh_vni & ~htonl(VXLAN_VNI_MASK)) in vxlan_rcv_udp_packet()2488 vni = ntohl(vxh->vxlh_vni) >> VXLAN_HDR_VNI_SHIFT; in vxlan_rcv_udp_packet()