Home
last modified time | relevance | path

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

/openthread-3.5.0/tests/unit/
Dtest_ip6_header.cpp80 VerifyOrQuit(header.GetHopLimit() == 0); in TestIp6Header()
94 VerifyOrQuit(header.GetHopLimit() == kHopLimit); in TestIp6Header()
/openthread-3.5.0/src/core/net/
Dsocket.hpp156 uint8_t GetHopLimit(void) const { return mHopLimit; } in GetHopLimit() function in ot::Ip6::MessageInfo
Dip6.cpp438 if (aMessageInfo.GetHopLimit() != 0 || aMessageInfo.ShouldAllowZeroHopLimit()) in SendDatagram()
440 header.SetHopLimit(aMessageInfo.GetHopLimit()); in SendDatagram()
785 messageInfo.SetHopLimit(header.GetHopLimit()); in SendIcmpError()
1138 messageInfo.SetHopLimit(header.GetHopLimit()); in HandleDatagram()
1245 header.SetHopLimit(header.GetHopLimit() - 1); in HandleDatagram()
1248 VerifyOrExit(header.GetHopLimit() > 0, error = kErrorDrop); in HandleDatagram()
1250 hopLimit = header.GetHopLimit(); in HandleDatagram()
Dip6_headers.hpp265 uint8_t GetHopLimit(void) const { return mHopLimit; } in GetHopLimit() function in ot::Ip6::Header
Dnat64_translator.cpp154 ip4Header.SetTtl(ip6Header.GetHopLimit()); in TranslateFromIp6()
/openthread-3.5.0/src/core/utils/
Dping_sender.cpp211 reply.mHopLimit = aMessageInfo.GetHopLimit(); in HandleIcmpReceive()
/openthread-3.5.0/src/core/thread/
Dlowpan.cpp326 switch (ip6Header.GetHopLimit()) in Compress()
341 SuccessOrExit(error = aFrameBuilder.AppendUint8(ip6Header.GetHopLimit())); in Compress()
Dmle.cpp2462 VerifyOrExit(aMessageInfo.GetHopLimit() == kMleHopLimit, error = kErrorParse); in HandleUdpReceive()
/openthread-3.5.0/src/core/coap/
Dcoap.cpp331 metadata.mHopLimit = aMessageInfo.GetHopLimit(); in SendMessage()