Lines Matching refs:UdpDhcpPacket
204 struct UdpDhcpPacket udpPackets;
226 udpPackets.udp.check = GetCheckSum((uint16_t *)&udpPackets, sizeof(struct UdpDhcpPacket));
304 int CheckUdpPacket(struct UdpDhcpPacket *pPacket, const int totLen)
311 if (totLen > (int)sizeof(struct UdpDhcpPacket)) {
313 (int)sizeof(struct UdpDhcpPacket));
345 int CheckPacketIpSum(struct UdpDhcpPacket *pPacket, const int bytes)
367 int CheckPacketUdpSum(struct UdpDhcpPacket *pPacket, const int bytes)
403 struct UdpDhcpPacket udpPackets;
404 if (memset_s(&udpPackets, sizeof(struct UdpDhcpPacket), 0, sizeof(struct UdpDhcpPacket)) != EOK) {
407 int nBytes = read(rawFd, &udpPackets, sizeof(struct UdpDhcpPacket));