Searched refs:IpHeader (Results 1 – 2 of 2) sorted by relevance
63 static bool IsTcpKeyFrame(struct IpHeader *ipHeader, uint32_t len) in IsTcpKeyFrame()74 if (len < sizeof(struct IpHeader)) { in IsTcpKeyFrame()78 if ((len - sizeof(struct IpHeader)) < sizeof(struct TcpHeader)) { in IsTcpKeyFrame()96 struct IpHeader *ipHeader = NULL; in IpProcessFunc()103 if (len < sizeof(struct IpHeader)) { in IpProcessFunc()107 ipHeader = (struct IpHeader *)buff; in IpProcessFunc()119 if ((len - sizeof(struct IpHeader)) < sizeof(struct UdpHeader)) { in IpProcessFunc()124 …((ntohs(ipHeader->fragInfo) & 0x1FFF) == 0) && IsDhcpPort(udpHdr, len - sizeof(struct IpHeader))) { in IpProcessFunc()
351 struct IpHeader { struct