Searched refs:kProtoIcmp (Results 1 – 5 of 5) sorted by relevance
79 header.SetProtocol(Ip4::kProtoIcmp); in TestIp4Header()85 VerifyOrQuit(header.GetProtocol() == kProtoIcmp); in TestIp4Header()94 VerifyOrQuit(headerBytes[Header::kProtocolOffset] == kProtoIcmp, "kProtocol is incorrect"); in TestIp4Header()120 VerifyOrQuit(headerBytes[Header::kProtocolOffset] == kProtoIcmp, "kProtocol is incorrect"); in TestIp4Header()
442 Checksum::UpdateMessageChecksum(*message, source, dest, Ip4::kProtoIcmp); in TestIcmp4MessageChecksum()
133 if (aIpProto != Ip4::kProtoIcmp) in Calculate()221 case Ip4::kProtoIcmp: in UpdateMessageChecksum()
168 ip4Header.SetProtocol(Ip4::kProtoIcmp); in TranslateFromIp6()262 case Ip4::kProtoIcmp: in TranslateToIp6()627 case Ip4::kProtoIcmp: in Count4To6Packet()
700 static constexpr uint8_t kProtoIcmp = 1; ///< ICMP for IPv4 variable