Searched refs:Checksum (Results 1 – 9 of 9) sorted by relevance
/openthread-3.7.0/src/core/net/ |
D | checksum.cpp | 49 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 …]
|
D | checksum.hpp | 53 class Checksum class 113 Checksum(void) in Checksum() function in ot::Checksum
|
D | nat64_translator.cpp | 180 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()
|
D | icmp6.cpp | 138 SuccessOrExit(error = Checksum::VerifyMessageChecksum(aMessage, aMessageInfo, kProtoIcmp6)); in HandleMessage()
|
D | udp6.cpp | 469 SuccessOrExit(error = Checksum::VerifyMessageChecksum(aMessage, aMessageInfo, kProtoUdp)); in HandleMessage()
|
D | tcp6.cpp | 655 SuccessOrExit(error = Checksum::VerifyMessageChecksum(aMessage, aMessageInfo, kProtoTcp)); in HandleMessage()
|
D | ip6.cpp | 470 … Checksum::UpdateMessageChecksum(aMessage, header.GetSource(), header.GetDestination(), aIpProto); in SendDatagram()
|
/openthread-3.7.0/tests/unit/ |
D | test_checksum.cpp | 215 …Checksum::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() 283 … Checksum::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/ |
D | message.hpp | 269 friend class Checksum;
|