Lines Matching refs:aMessage

79 void Checksum::WriteToMessage(uint16_t aOffset, Message &aMessage) const  in WriteToMessage()
90 aMessage.Write(aOffset, checksum); in WriteToMessage()
96 const Message &aMessage) in Calculate() argument
99 uint16_t length = aMessage.GetLength() - aMessage.GetOffset(); in Calculate()
110 aMessage.GetFirstChunk(aMessage.GetOffset(), length, chunk); in Calculate()
115 aMessage.GetNextChunk(length, chunk); in Calculate()
122 const Message &aMessage) in Calculate() argument
125 uint16_t length = aMessage.GetLength() - aMessage.GetOffset(); in Calculate()
139 aMessage.GetFirstChunk(aMessage.GetOffset(), length, chunk); in Calculate()
144 aMessage.GetNextChunk(length, chunk); in Calculate()
148 Error Checksum::VerifyMessageChecksum(const Message &aMessage, const Ip6::MessageInfo &aMessageInfo… in VerifyMessageChecksum() argument
152 checksum.Calculate(aMessageInfo.GetPeerAddr(), aMessageInfo.GetSockAddr(), aIpProto, aMessage); in VerifyMessageChecksum()
157 void Checksum::UpdateMessageChecksum(Message &aMessage, in UpdateMessageChecksum() argument
184 aMessage.Write<uint16_t>(aMessage.GetOffset() + headerOffset, 0); in UpdateMessageChecksum()
185 checksum.Calculate(aSource, aDestination, aIpProto, aMessage); in UpdateMessageChecksum()
186 checksum.WriteToMessage(aMessage.GetOffset() + headerOffset, aMessage); in UpdateMessageChecksum()
192 void Checksum::UpdateMessageChecksum(Message &aMessage, in UpdateMessageChecksum() argument
219 aMessage.Write<uint16_t>(aMessage.GetOffset() + headerOffset, 0); in UpdateMessageChecksum()
220 checksum.Calculate(aSource, aDestination, aIpProto, aMessage); in UpdateMessageChecksum()
221 checksum.WriteToMessage(aMessage.GetOffset() + headerOffset, aMessage); in UpdateMessageChecksum()