Home
last modified time | relevance | path

Searched refs:GetId (Results 1 – 20 of 20) sorted by relevance

/openthread-latest/tests/nexus/
Dtest_dtls.cpp84 VerifyOrQuit(node->GetId() < kMaxNodes); in HandleReceive()
86 Log(" node%u: HandleReceive(aLength:%u)", node->GetId(), aLength); in HandleReceive()
88 sDtlsLastReceive[node->GetId()].Clear(); in HandleReceive()
92 SuccessOrQuit(sDtlsLastReceive[node->GetId()].PushBack(*aBuf)); in HandleReceive()
101 VerifyOrQuit(node->GetId() < kMaxNodes); in HandleConnectEvent()
102 sDtlsEvent[node->GetId()] = aEvent; in HandleConnectEvent()
104 Log(" node%u: HandleConnectEvent(%s)", node->GetId(), ConnectEventToString(aEvent)); in HandleConnectEvent()
112 VerifyOrQuit(node->GetId() < kMaxNodes); in HandleAutoClose()
113 sDtlsAutoClosed[node->GetId()] = true; in HandleAutoClose()
115 Log(" node%u: HandleAutoClose()", node->GetId()); in HandleAutoClose()
[all …]
/openthread-latest/tests/unit/
Dtest_linked_list.cpp68 uint16_t GetId(void) const { return mId; } in GetId() function
106 VerifyOrQuit(aList->ContainsMatching(argEntry->GetId())); in VerifyLinkedListContent()
114 VerifyOrQuit(aList->FindMatchingWithPrev(prev, argEntry->GetId()) == argEntry); in VerifyLinkedListContent()
180 VerifyOrQuit(list.FindMatchingWithPrev(prev, c.GetId()) == &c); in TestLinkedList()
184 VerifyOrQuit(list.FindMatchingWithPrev(prev, a.GetId()) == &a); in TestLinkedList()
186 VerifyOrQuit(list.FindMatchingWithPrev(prev, kAlphaType, b.GetId()) == &b); in TestLinkedList()
188 …VerifyOrQuit(list.FindMatchingWithPrev(prev, e.GetId()) == nullptr, "succeeded for a missing entry… in TestLinkedList()
243 VerifyOrQuit(list.RemoveMatching(c.GetId()) == &c); in TestLinkedList()
246 VerifyOrQuit(list.RemoveMatching(c.GetId()) == nullptr, "succeeded for missing entry"); in TestLinkedList()
249 VerifyOrQuit(list.RemoveMatching(d.GetId()) == &d); in TestLinkedList()
[all …]
/openthread-latest/tests/nexus/platform/
Dnexus_node.hpp75 uint32_t GetId(void) { return GetInstance().GetId(); } in GetId() function in ot::Nexus::Node
Dnexus_misc.cpp146 printf("%03u ", aActiveNode->GetInstance().GetId()); in LogVarArgs()
Dnexus_radio.cpp56 uint32_t nodeId = AsNode(aInstance).GetInstance().GetId(); in otPlatRadioGetIeeeEui64()
/openthread-latest/src/core/api/
Djoiner_api.cpp65 return &AsCoreType(aInstance).Get<MeshCoP::Joiner>().GetId(); in otJoinerGetId()
Dborder_agent_api.cpp48 return AsCoreType(aInstance).Get<MeshCoP::BorderAgent>().GetId(AsCoreType(aId)); in otBorderAgentGetId()
Dinstance_api.cpp81 uint32_t otInstanceGetId(otInstance *aInstance) { return AsCoreType(aInstance).GetId(); } in otInstanceGetId()
Dcommissioner_api.cpp52 return AsCoreType(aInstance).Get<MeshCoP::Commissioner>().GetId(); in otCommissionerGetId()
/openthread-latest/src/core/meshcop/
Djoiner.hpp133 const Mac::ExtAddress &GetId(void) const { return mId; } in GetId() function in ot::MeshCoP::Joiner
Dborder_agent.hpp124 Error GetId(Id &aId);
Dcommissioner.hpp134 const char *GetId(void) const { return mCommissionerId; } in GetId() function in ot::MeshCoP::Commissioner
Dborder_agent.cpp71 Error BorderAgent::GetId(Id &aId) in GetId() function in ot::MeshCoP::BorderAgent
/openthread-latest/src/core/net/
Dicmp6.hpp163 uint16_t GetId(void) const { return BigEndian::HostSwap16(mData.m16[0]); } in GetId() function in ot::Ip6::Icmp::Header
Dsrp_server.cpp391 …LogInfo("Handler result of SRP update (id = %lu) is received: %s", ToUlong(update->GetId()), Error… in HandleServiceUpdateResult()
1435 LogInfo("SRP update handler is notified (updatedId = %lu)", ToUlong(update->GetId())); in InformUpdateHandlerOrCommit()
1436 …mServiceUpdateHandler.Invoke(update->GetId(), &aHost, static_cast<uint32_t>(kDefaultEventsHandlerT… in InformUpdateHandlerOrCommit()
1706 LogInfo("Outstanding service update timeout (updateId = %lu)", ToUlong(update->GetId())); in HandleOutstandingUpdatesTimer()
Dsrp_server.hpp881 ServiceUpdateId GetId(void) const { return mId; } in GetId() function in ot::Srp::Server::UpdateMetadata
/openthread-latest/src/core/mac/
Dmac_header_ie.hpp78 …uint16_t GetId(void) const { return (LittleEndian::HostSwap16(mFields.m16) & kIdMask) >> kIdOffset… in GetId() function in ot::Mac::HeaderIe
Dmac_frame.cpp1063 if (ie->GetId() == Termination2Ie::kHeaderIeId) in FindPayloadIndex()
1132 if (ie->GetId() == aIeId) in GetHeaderIe()
1161 if (ie->GetId() == VendorIeHeader::kHeaderIeId) in GetThreadIe()
/openthread-latest/src/core/utils/
Dping_sender.cpp197 VerifyOrExit(aIcmpHeader.GetId() == mIdentifier); in HandleIcmpReceive()
/openthread-latest/src/core/instance/
Dinstance.hpp256 uint32_t GetId(void) const { return mId; } in GetId() function in ot::Instance