Home
last modified time | relevance | path

Searched refs:activeTimestamp (Results 1 – 4 of 4) sorted by relevance

/openthread-2.7.6/src/core/meshcop/
Ddataset_manager_ftd.cpp84 ActiveTimestampTlv activeTimestamp; in HandleSet() local
92 activeTimestamp.SetLength(0); in HandleSet()
112 if (Tlv::FindTlv(aMessage, activeTimestamp) != kErrorNone) in HandleSet()
117 VerifyOrExit(activeTimestamp.IsValid()); in HandleSet()
125 timestamp = (type == Tlv::kActiveTimestamp) ? static_cast<Timestamp *>(&activeTimestamp) in HandleSet()
172 …erifyOrExit(localActiveTimestamp == nullptr || localActiveTimestamp->Compare(activeTimestamp) > 0); in HandleSet()
243 Get<PendingDataset>().ApplyActiveDataset(activeTimestamp, aMessage); in HandleSet()
Djoiner_router.cpp344 ActiveTimestampTlv activeTimestamp; in PrepareJoinerEntrustMessage() local
345 activeTimestamp.Init(); in PrepareJoinerEntrustMessage()
346 SuccessOrExit(error = activeTimestamp.AppendTo(*message)); in PrepareJoinerEntrustMessage()
/openthread-2.7.6/src/core/thread/
Dmle.cpp2478 ActiveTimestampTlv activeTimestamp; in SendAnnounce() local
2494 activeTimestamp.Init(); in SendAnnounce()
2495 activeTimestamp.SetSeconds(0); in SendAnnounce()
2496 activeTimestamp.SetTicks(0); in SendAnnounce()
2497 activeTimestamp.SetAuthoritative(true); in SendAnnounce()
2499 SuccessOrExit(error = activeTimestamp.AppendTo(*message)); in SendAnnounce()
3104 ActiveTimestampTlv activeTimestamp; in HandleLeaderData() local
3134 if (Tlv::FindTlv(aMessage, activeTimestamp) == kErrorNone) in HandleLeaderData()
3138 VerifyOrExit(activeTimestamp.IsValid(), error = kErrorParse); in HandleLeaderData()
3143 if (!IsLeader() && ((timestamp == nullptr) || (timestamp->Compare(activeTimestamp) != 0)) && in HandleLeaderData()
[all …]
Dmle_router.cpp2204 ActiveTimestampTlv activeTimestamp; in HandleChildIdRequest() local
2253 activeTimestamp.SetLength(0); in HandleChildIdRequest()
2255 if (Tlv::FindTlv(aMessage, activeTimestamp) == kErrorNone) in HandleChildIdRequest()
2257 VerifyOrExit(activeTimestamp.IsValid(), error = kErrorParse); in HandleChildIdRequest()
2320 …if (activeTimestamp.GetLength() == 0 || Get<MeshCoP::ActiveDataset>().Compare(activeTimestamp) != … in HandleChildIdRequest()
2705 ActiveTimestampTlv activeTimestamp; in HandleDataRequest() local
2719 activeTimestamp.SetLength(0); in HandleDataRequest()
2721 if (Tlv::FindTlv(aMessage, activeTimestamp) == kErrorNone) in HandleDataRequest()
2723 VerifyOrExit(activeTimestamp.IsValid(), error = kErrorParse); in HandleDataRequest()
2738 if (activeTimestamp.GetLength() == 0 || Get<MeshCoP::ActiveDataset>().Compare(activeTimestamp)) in HandleDataRequest()