Home
last modified time | relevance | path

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

/openthread-latest/tests/unit/
Dtest_ip6_header.cpp78 VerifyOrQuit(header.GetHopLimit() == 0); in TestIp6Header()
92 VerifyOrQuit(header.GetHopLimit() == kHopLimit); in TestIp6Header()
/openthread-latest/src/core/net/
Dsocket.hpp142 uint8_t GetHopLimit(void) const { return mHopLimit; } in GetHopLimit() function in ot::Ip6::MessageInfo
Dip6.cpp428 if (aMessageInfo.GetHopLimit() != 0 || aMessageInfo.ShouldAllowZeroHopLimit()) in SendDatagram()
430 header.SetHopLimit(aMessageInfo.GetHopLimit()); in SendDatagram()
771 messageInfo.SetHopLimit(header.GetHopLimit()); in SendIcmpError()
878 messageInfo.SetHopLimit(aIp6Header.GetHopLimit()); in Receive()
1198 header.SetHopLimit(header.GetHopLimit() - 1); in HandleDatagram()
1201 VerifyOrExit(header.GetHopLimit() > 0, error = kErrorDrop); in HandleDatagram()
1203 aMessagePtr->Write<uint8_t>(Header::kHopLimitFieldOffset, header.GetHopLimit()); in HandleDatagram()
Dip6_headers.hpp243 uint8_t GetHopLimit(void) const { return mHopLimit; } in GetHopLimit() function in ot::Ip6::Header
Dnat64_translator.cpp150 ip4Header.SetTtl(ip6Header.GetHopLimit()); in TranslateFromIp6()
/openthread-latest/src/core/utils/
Dping_sender.cpp206 reply.mHopLimit = aMessageInfo.GetHopLimit(); in HandleIcmpReceive()
/openthread-latest/src/core/thread/
Dlowpan.cpp315 switch (ip6Header.GetHopLimit()) in Compress()
330 SuccessOrExit(error = aFrameBuilder.AppendUint8(ip6Header.GetHopLimit())); in Compress()
Dmle.cpp2367 VerifyOrExit(aMessageInfo.GetHopLimit() == kMleHopLimit, error = kErrorParse); in HandleUdpReceive()
/openthread-latest/src/core/coap/
Dcoap.cpp322 metadata.mHopLimit = aMessageInfo.GetHopLimit(); in SendMessage()