Searched refs:SetChecksum (Results 1 – 10 of 10) sorted by relevance
231 aHeader.SetChecksum(0); in UpdateIp4HeaderChecksum()233 aHeader.SetChecksum(~checksum.GetValue()); in UpdateIp4HeaderChecksum()
381 void SetChecksum(uint16_t aChecksum) { mHeaderChecksum = HostSwap16(aChecksum); } in SetChecksum() function in ot::Ip4::Header623 void SetChecksum(uint16_t aChecksum) { mChecksum = HostSwap16(aChecksum); } in SetChecksum() function in ot::Ip4::Icmp::Header
167 void SetChecksum(uint16_t aChecksum) { mChecksum = HostSwap16(aChecksum); } in SetChecksum() function in ot::Ip6::Icmp::Header
402 void SetChecksum(uint16_t aChecksum) { mChecksum = HostSwap16(aChecksum); } in SetChecksum() function in ot::Ip6::Udp::Header
493 void SetChecksum(uint16_t aChecksum) { mChecksum = HostSwap16(aChecksum); } in SetChecksum() function in ot::Ip6::Nd::RouterAdvertMessage::Header
464 udpHeader.SetChecksum(0); in SendDatagram()
194 udpHeader.SetChecksum(0); in TestUdpMessageChecksum()262 icmp6Header.SetChecksum(0); in TestIcmp6MessageChecksum()391 udpHeader.SetChecksum(0); in TestUdp4MessageChecksum()
189 mUdpHeader.SetChecksum(aChecksum); in SetUDPHeader()
1004 aUdpHeader.SetChecksum(checksum); in DecompressUdpHeader()
1256 mRouterAdvertHeader.SetChecksum(0); in UpdateRouterAdvertHeader()