Home
last modified time | relevance | path

Searched refs:Checksum (Results 1 – 9 of 9) sorted by relevance

/openthread-3.7.0/src/core/net/
Dchecksum.cpp49 void Checksum::AddUint8(uint8_t aUint8) in AddUint8()
68 void Checksum::AddUint16(uint16_t aUint16) in AddUint16()
75 void Checksum::AddData(const uint8_t *aBuffer, uint16_t aLength) in AddData()
83 void Checksum::WriteToMessage(uint16_t aOffset, Message &aMessage) const in WriteToMessage()
97 void Checksum::Calculate(const Ip6::Address &aSource, in Calculate()
123 void Checksum::Calculate(const Ip4::Address &aSource, in Calculate()
152 Error Checksum::VerifyMessageChecksum(const Message &aMessage, const Ip6::MessageInfo &aMessageInfo… in VerifyMessageChecksum()
155 Checksum checksum; in VerifyMessageChecksum()
168 void Checksum::UpdateMessageChecksum(Message &aMessage, in UpdateMessageChecksum()
174 Checksum checksum; in UpdateMessageChecksum()
[all …]
Dchecksum.hpp53 class Checksum class
113 Checksum(void) in Checksum() function in ot::Checksum
Dnat64_translator.cpp180 Checksum::UpdateMessageChecksum(aMessage, ip4Header.GetSource(), ip4Header.GetDestination(), in TranslateFromIp6()
182 Checksum::UpdateIp4HeaderChecksum(ip4Header); in TranslateFromIp6()
275 Checksum::UpdateMessageChecksum(aMessage, ip6Header.GetSource(), ip6Header.GetDestination(), in TranslateToIp6()
Dicmp6.cpp138 SuccessOrExit(error = Checksum::VerifyMessageChecksum(aMessage, aMessageInfo, kProtoIcmp6)); in HandleMessage()
Dudp6.cpp469 SuccessOrExit(error = Checksum::VerifyMessageChecksum(aMessage, aMessageInfo, kProtoUdp)); in HandleMessage()
Dtcp6.cpp655 SuccessOrExit(error = Checksum::VerifyMessageChecksum(aMessage, aMessageInfo, kProtoTcp)); in HandleMessage()
Dip6.cpp470Checksum::UpdateMessageChecksum(aMessage, header.GetSource(), header.GetDestination(), aIpProto); in SendDatagram()
/openthread-3.7.0/tests/unit/
Dtest_checksum.cpp215Checksum::UpdateMessageChecksum(*message, messageInfo.GetSockAddr(), messageInfo.GetPeerAddr(), Ip… in TestUdpMessageChecksum()
228 SuccessOrQuit(Checksum::VerifyMessageChecksum(*message, messageInfo, Ip6::kProtoUdp)); in TestUdpMessageChecksum()
234 … VerifyOrQuit(Checksum::VerifyMessageChecksum(*message, messageInfo, Ip6::kProtoUdp) != kErrorNone, in TestUdpMessageChecksum()
283Checksum::UpdateMessageChecksum(*message, messageInfo.GetSockAddr(), messageInfo.GetPeerAddr(), in TestIcmp6MessageChecksum()
297 SuccessOrQuit(Checksum::VerifyMessageChecksum(*message, messageInfo, Ip6::kProtoIcmp6)); in TestIcmp6MessageChecksum()
303 …VerifyOrQuit(Checksum::VerifyMessageChecksum(*message, messageInfo, Ip6::kProtoIcmp6) != kErrorNon… in TestIcmp6MessageChecksum()
353 Checksum::UpdateMessageChecksum(*message, sourceAddress, destAddress, Ip4::kProtoTcp); in TestTcp4MessageChecksum()
409 Checksum::UpdateMessageChecksum(*message, sourceAddress, destAddress, Ip4::kProtoUdp); in TestUdp4MessageChecksum()
444 Checksum::UpdateMessageChecksum(*message, source, dest, Ip4::kProtoIcmp); in TestIcmp4MessageChecksum()
462 Checksum checksum; in TestExampleVector()
/openthread-3.7.0/src/core/common/
Dmessage.hpp269 friend class Checksum;