Home
last modified time | relevance | path

Searched refs:timestamp (Results 1 – 17 of 17) sorted by relevance

/openthread-latest/tests/scripts/thread-cert/
Dpcap.py90 timestamp = time.time()
91 timestamp_sec = int(timestamp)
92 timestamp_usec = int((timestamp - timestamp_sec) * 1000000)
95 def append(self, frame, timestamp=None): argument
97 if timestamp is None:
98 timestamp = self._get_timestamp()
99 pkt = self.encode_frame(frame, *timestamp)
Dnode.py2697 timestamp=None, argument
2716 if timestamp is not None:
2717 cmd = 'dataset activetimestamp %d' % timestamp
/openthread-latest/tools/harness-simulation/posix/sniffer_sim/
Dpcap_codec.py84 timestamp = time.time()
85 timestamp_sec = int(timestamp)
86 timestamp_usec = int((timestamp - timestamp_sec) * 1000000)
96 timestamp = self._get_timestamp()
97 self._write(self._encode_frame(frame, *timestamp))
/openthread-latest/src/core/utils/
Dping_sender.cpp193 uint32_t timestamp; in HandleIcmpReceive() local
199 SuccessOrExit(aMessage.Read(aMessage.GetOffset(), timestamp)); in HandleIcmpReceive()
200 timestamp = BigEndian::HostSwap32(timestamp); in HandleIcmpReceive()
203 reply.mRoundTripTime = ClampToUint16(TimerMilli::GetNow() - TimeMilli(timestamp)); in HandleIcmpReceive()
214 …Get<Utils::Otns>().EmitPingReply(aMessageInfo.GetPeerAddr(), reply.mSize, timestamp, reply.mHopLim… in HandleIcmpReceive()
/openthread-latest/third_party/mbedtls/repo/library/
Dssl_cache.c51 (int) (t - cur->timestamp) > cache->timeout) { in ssl_cache_find_entry()
171 (int) (t - cur->timestamp) > cache->timeout) { in ssl_cache_pick_writing_slot()
175 if (oldest == 0 || cur->timestamp < oldest) { in ssl_cache_pick_writing_slot()
176 oldest = cur->timestamp; in ssl_cache_pick_writing_slot()
239 cur->timestamp = t; in ssl_cache_pick_writing_slot()
/openthread-latest/third_party/mbedtls/repo/tests/scripts/
Dcheck-generated-files.sh90 # Move the original file back so that $FILE's timestamp doesn't
/openthread-latest/src/core/meshcop/
Ddataset_manager_ftd.cpp272 Timestamp timestamp; in GenerateLocal() local
274 timestamp.Clear(); in GenerateLocal()
275 IgnoreError(dataset.Write<ActiveTimestampTlv>(timestamp)); in GenerateLocal()
Ddataset_manager.cpp449 Timestamp timestamp; in SyncLocalWithLeader() local
453 …if ((pendingDataset.Read<ActiveTimestampTlv>(timestamp) == kErrorNone) && (timestamp == mLocalTime… in SyncLocalWithLeader()
/openthread-latest/third_party/mbedtls/repo/include/mbedtls/
Dssl_cache.h52 mbedtls_time_t MBEDTLS_PRIVATE(timestamp); /*!< entry timestamp */
/openthread-latest/src/cli/
DREADME_DATASET.md199 …ng the Active Operational Dataset. Then change the channel number to 12 and increase the timestamp.
379 Usage: `dataset activetimestamp [timestamp]`
381 Get active timestamp seconds. It represents a "Unix time", in number of seconds since Jan 1st, 1970.
389 Set active timestamp seconds.
654 Usage: `dataset pendingtimestamp [timestamp]`
656 Get pending timestamp seconds. It represents a "Unix time", in number of seconds since Jan 1st, 197…
664 Set pending timestamp seconds.
DREADME_HISTORY.md41 …t is older than 49 days, the entry is still tracked in the list but the timestamp is shown as `mor…
/openthread-latest/src/core/thread/
Dmle.cpp3254 MeshCoP::Timestamp timestamp; in HandleChildIdResponse() local
3271 switch (Tlv::Find<ActiveTimestampTlv>(aRxInfo.mMessage, timestamp)) in HandleChildIdResponse()
3274 error = aRxInfo.mMessage.ReadAndSaveActiveDataset(timestamp); in HandleChildIdResponse()
3292 switch (Tlv::Find<PendingTimestampTlv>(aRxInfo.mMessage, timestamp)) in HandleChildIdResponse()
3295 IgnoreError(aRxInfo.mMessage.ReadAndSavePendingDataset(timestamp)); in HandleChildIdResponse()
3655 MeshCoP::Timestamp timestamp; in HandleAnnounce() local
3668 SuccessOrExit(error = Tlv::Find<ActiveTimestampTlv>(aRxInfo.mMessage, timestamp)); in HandleAnnounce()
3673 isFromOrphan = timestamp.IsOrphanAnnounce(); in HandleAnnounce()
3674 …timestampCompare = MeshCoP::Timestamp::Compare(timestamp, Get<MeshCoP::ActiveDatasetManager>()… in HandleAnnounce()
3707 if (pendingActiveTimestamp >= timestamp) in HandleAnnounce()
[all …]
Dmle_router.cpp2080 MeshCoP::Timestamp timestamp; in HandleChildIdRequest() local
2122 switch (Tlv::Find<ActiveTimestampTlv>(aRxInfo.mMessage, timestamp)) in HandleChildIdRequest()
2125 if (timestamp == Get<MeshCoP::ActiveDatasetManager>().GetTimestamp()) in HandleChildIdRequest()
2140 switch (Tlv::Find<PendingTimestampTlv>(aRxInfo.mMessage, timestamp)) in HandleChildIdRequest()
2143 if (timestamp == Get<MeshCoP::PendingDatasetManager>().GetTimestamp()) in HandleChildIdRequest()
2598 MeshCoP::Timestamp timestamp; in HandleDataRequest() local
2606 switch (Tlv::Find<ActiveTimestampTlv>(aRxInfo.mMessage, timestamp)) in HandleDataRequest()
2609 if (timestamp == Get<MeshCoP::ActiveDatasetManager>().GetTimestamp()) in HandleDataRequest()
2624 switch (Tlv::Find<PendingTimestampTlv>(aRxInfo.mMessage, timestamp)) in HandleDataRequest()
2627 if (timestamp == Get<MeshCoP::PendingDatasetManager>().GetTimestamp()) in HandleDataRequest()
/openthread-latest/tools/gerrit/
DREADME.md59 0c07c53ce [platform] attach timestamp in promiscuous mode (#2954)
/openthread-latest/src/core/
DBUILD.gn546 "meshcop/timestamp.cpp",
547 "meshcop/timestamp.hpp",
DCMakeLists.txt169 meshcop/timestamp.cpp
/openthread-latest/third_party/mbedtls/repo/
DChangeLog4941 * Check notBefore timestamp of certificates and CRLs from the future.
5246 * Check notBefore timestamp of certificates and CRLs from the future.