Searched refs:udpHdr (Results 1 – 1 of 1) sorted by relevance
46 static bool IsDhcpPort(struct UdpHeader *udpHdr, uint32_t len) in IsDhcpPort() argument48 if (udpHdr == NULL) { in IsDhcpPort()56 if ((ntohs(udpHdr->dest) == DHCP_UDP_SRC_PORT) || (ntohs(udpHdr->dest) == DHCP_UDP_DES_PORT)) { in IsDhcpPort()97 struct UdpHeader *udpHdr = NULL; in IpProcessFunc() local123 udpHdr = (struct UdpHeader *)(ipHeader + 1); in IpProcessFunc()124 …if (((ntohs(ipHeader->fragInfo) & 0x1FFF) == 0) && IsDhcpPort(udpHdr, len - sizeof(struct IpHeader… in IpProcessFunc()