Home
last modified time | relevance | path

Searched refs:vxh (Results 1 – 2 of 2) sorted by relevance

/freebsd-14.2/sys/net/
H A Dif_vxlan.c2449 struct vxlan_header *vxh; in vxlan_encap_header() local
2462 vxh = &hdr->vxlh_hdr; in vxlan_encap_header()
2463 vxh->vxlh_flags = htonl(VXLAN_HDR_FLAGS_VALID_VNI); in vxlan_encap_header()
2464 vxh->vxlh_vni = htonl(sc->vxl_vni << VXLAN_HDR_VNI_SHIFT); in vxlan_encap_header()
2809 struct vxlan_header *vxh, vxlanhdr; in vxlan_rcv_udp_packet() local
2823 vxh = &vxlanhdr; in vxlan_rcv_udp_packet()
2825 vxh = mtodo(m, offset); in vxlan_rcv_udp_packet()
2833 if (vxh->vxlh_flags != htonl(VXLAN_HDR_FLAGS_VALID_VNI) || in vxlan_rcv_udp_packet()
2834 vxh->vxlh_vni & ~VXLAN_VNI_MASK) in vxlan_rcv_udp_packet()
2837 vni = ntohl(vxh->vxlh_vni) >> VXLAN_HDR_VNI_SHIFT; in vxlan_rcv_udp_packet()
/freebsd-14.2/sys/netinet/
H A Dtcp_lro.c242 const struct vxlan_header *vxh; in tcp_lro_low_level_parser() local
243 vxh = ptr; in tcp_lro_low_level_parser()
244 ptr = (uint8_t *)ptr + sizeof(*vxh); in tcp_lro_low_level_parser()
247 vxh->vxlh_vni & htonl(0xffffff00); in tcp_lro_low_level_parser()