Lines Matching refs:pUdpHdr
3643 PRTNETUDP pUdpHdr = (PRTNETUDP)pbProtocol;
3644 uint16_t UdpChecksum = RTNetIPv4UDPChecksum(pIpHdr, pUdpHdr, pUdpHdr + 1);
3646 if (pUdpHdr->uh_sum != UdpChecksum)
3648 pUdpHdr->uh_sum = UdpChecksum;
3707 PCRTNETUDP pUdpHdr = (PCRTNETUDP)((uint32_t *)pIpHdr + pIpHdr->ip_hl);
3708 if ( RT_BE2H_U16(pUdpHdr->uh_sport) == 67
3709 && RT_BE2H_U16(pUdpHdr->uh_dport) == 68)
3712 RT_BE2H_U16(pUdpHdr->uh_sum), RT_BE2H_U16(RTNetIPv4UDPChecksum(pIpHdr, pUdpHdr, pUdpHdr + 1))));