Lines Matching refs:pUdpHdr
146 PCRTNETUDP pUdpHdr = (PCRTNETUDP)((uint32_t *)pIpHdr + pIpHdr->ip_hl);
148 pHdrs->pUdp = pUdpHdr;
151 if (RT_BE2H_U16(pUdpHdr->uh_dport) != uDstPort)
157 size_t offUdpHdr = (uintptr_t)pUdpHdr - (uintptr_t)pEthHdr;
160 if (!RTNetIPv4IsUDPValid(pIpHdr, pUdpHdr, pUdpHdr + 1, cbFrame - offUdpHdr, true /*fChecksum*/))
163 && !pUdpHdr->uh_sum)
168 if (!RTNetIPv4IsUDPSizeValid(pIpHdr, pUdpHdr, cbFrame - offUdpHdr))
176 *pcb = pUdpHdr->uh_ulen - sizeof(*pUdpHdr);
177 return (void *)(pUdpHdr + 1);