Home
last modified time | relevance | path

Searched refs:aTimestamp (Results 1 – 8 of 8) sorted by relevance

/openthread-3.7.0/src/core/net/
Dsntp_client.hpp166 void SetReferenceTimestampSeconds(uint32_t aTimestamp) in SetReferenceTimestampSeconds() argument
168 mReferenceTimestampSeconds = BigEndian::HostSwap32(aTimestamp); in SetReferenceTimestampSeconds()
181 void SetOriginateTimestampSeconds(uint32_t aTimestamp) in SetOriginateTimestampSeconds() argument
183 mOriginateTimestampSeconds = BigEndian::HostSwap32(aTimestamp); in SetOriginateTimestampSeconds()
196 void SetReceiveTimestampSeconds(uint32_t aTimestamp) in SetReceiveTimestampSeconds() argument
198 mReceiveTimestampSeconds = BigEndian::HostSwap32(aTimestamp); in SetReceiveTimestampSeconds()
208 void SetTransmitTimestampSeconds(uint32_t aTimestamp) in SetTransmitTimestampSeconds() argument
210 mTransmitTimestampSeconds = BigEndian::HostSwap32(aTimestamp); in SetTransmitTimestampSeconds()
/openthread-3.7.0/src/core/meshcop/
Ddataset.hpp514 Error ReadTimestamp(Type aType, Timestamp &aTimestamp) const;
528 Error WriteTimestamp(Type aType, const Timestamp &aTimestamp);
840 template <> inline void Dataset::Info::Get<Dataset::kActiveTimestamp>(Timestamp &aTimestamp) const in Get()
842 aTimestamp.SetFrom(mActiveTimestamp); in Get()
845 template <> inline void Dataset::Info::Get<Dataset::kPendingTimestamp>(Timestamp &aTimestamp) const in Get()
847 aTimestamp.SetFrom(mPendingTimestamp); in Get()
850 template <> inline void Dataset::Info::Set<Dataset::kActiveTimestamp>(const Timestamp &aTimestamp) in Set() argument
853 aTimestamp.ConvertTo(mActiveTimestamp); in Set()
856 template <> inline void Dataset::Info::Set<Dataset::kPendingTimestamp>(const Timestamp &aTimestamp) in Set() argument
859 aTimestamp.ConvertTo(mPendingTimestamp); in Set()
Ddataset.cpp528 Error Dataset::ReadTimestamp(Type aType, Timestamp &aTimestamp) const in ReadTimestamp()
539 aTimestamp = tlv->ReadValueAs<ActiveTimestampTlv>(); in ReadTimestamp()
545 Error Dataset::WriteTimestamp(Type aType, const Timestamp &aTimestamp) in WriteTimestamp() argument
547 return WriteTlv(TimestampTlvFor(aType), &aTimestamp, sizeof(Timestamp)); in WriteTimestamp()
Ddataset_manager.hpp180 …Error Save(const Timestamp &aTimestamp, const Message &aMessage, uint16_t aOffset, uint16_t aLengt…
Ddataset_manager.cpp270 Error DatasetManager::Save(const Timestamp &aTimestamp, const Message &aMessage, uint16_t aOffset, … in Save() argument
278 SuccessOrExit(error = dataset.WriteTimestamp(mType, aTimestamp)); in Save()
/openthread-3.7.0/src/core/utils/
Dotns.cpp61 uint32_t aTimestamp, in EmitPingRequest() argument
65 …EmitStatus("ping_request=%s,%d,%lu", aPeerAddress.ToString().AsCString(), aPingLength, aTimestamp); in EmitPingRequest()
68 …Reply(const Ip6::Address &aPeerAddress, uint16_t aPingLength, uint32_t aTimestamp, uint8_t aHopLim… in EmitPingReply() argument
70 …ping_reply=%s,%u,%lu,%d", aPeerAddress.ToString().AsCString(), aPingLength, aTimestamp, aHopLimit); in EmitPingReply()
Dotns.hpp105 uint32_t aTimestamp,
119 uint32_t aTimestamp,
/openthread-3.7.0/src/core/common/
Dmessage.hpp1097 void SetTimestamp(TimeMilli aTimestamp) { GetMetadata().mTimestamp = aTimestamp; } in SetTimestamp() argument