Home
last modified time | relevance | path

Searched refs:kProtoIcmp (Results 1 – 5 of 5) sorted by relevance

/openthread-3.6.0/tests/unit/
Dtest_ip4_header.cpp79 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()
Dtest_checksum.cpp442 Checksum::UpdateMessageChecksum(*message, source, dest, Ip4::kProtoIcmp); in TestIcmp4MessageChecksum()
/openthread-3.6.0/src/core/net/
Dchecksum.cpp133 if (aIpProto != Ip4::kProtoIcmp) in Calculate()
221 case Ip4::kProtoIcmp: in UpdateMessageChecksum()
Dnat64_translator.cpp168 ip4Header.SetProtocol(Ip4::kProtoIcmp); in TranslateFromIp6()
262 case Ip4::kProtoIcmp: in TranslateToIp6()
627 case Ip4::kProtoIcmp: in Count4To6Packet()
Dip4_types.hpp700 static constexpr uint8_t kProtoIcmp = 1; ///< ICMP for IPv4 variable