| /openthread-latest/tests/unit/ |
| D | test_srp_adv_proxy.cpp | 58 #define Log(...) … macro 154 Log("otPlatDnssdRegisterService(aRequestId: %lu)", ToUlong(aRequestId)); in otPlatDnssdRegisterService() 155 Log(" hostName : %s", aService->mHostName); in otPlatDnssdRegisterService() 156 Log(" serviceInstance: %s", aService->mServiceInstance); in otPlatDnssdRegisterService() 157 Log(" serviceType : %s", aService->mServiceType); in otPlatDnssdRegisterService() 158 Log(" num sub-types : %u", aService->mSubTypeLabelsLength); in otPlatDnssdRegisterService() 162 Log(" sub-type %-4u : %s", index, aService->mSubTypeLabels[index]); in otPlatDnssdRegisterService() 165 Log(" TXT data len : %u", aService->mTxtDataLength); in otPlatDnssdRegisterService() 166 Log(" port : %u", aService->mPort); in otPlatDnssdRegisterService() 167 Log(" priority : %u", aService->mPriority); in otPlatDnssdRegisterService() [all …]
|
| D | test_dso.cpp | 53 #define Log(...) … macro 64 Log(" otPlatAlarmMilliStartAt(time:%u.%03u, dt:%u.%03u)", sAlarmTime / 1000, sAlarmTime % 1000, in otPlatAlarmMilliStartAt() 76 Log(" AdvanceTime for %u.%03u", aDuration / 1000, aDuration % 1000); in AdvanceTime() 220 Log(" ProcessRequestMessage(primaryTlv:0x%04x) on %s", aPrimaryTlvType, mName); in ProcessRequestMessage() 233 Log(" ProcessUnidirectionalMessage(primaryTlv:0x%04x) on %s", aPrimaryTlvType, mName); in ProcessUnidirectionalMessage() 253 …Log(" ProcessResponseMessage(responseTlv:0x%04x) on %s (response-Code:%u) ", aResponseTlvType, mNa… in ProcessResponseMessage() 372 Log(" otPlatDsoEnableListening(%s)", aEnable ? "true" : "false"); in otPlatDsoEnableListening() 382 Log(" otPlatDsoConnect(%s, aPeer:0x%04x)", conn.GetName(), peerSockAddr.GetPort()); in otPlatDsoConnect() 389 Log(" Server is not listening"); in otPlatDsoConnect() 397 Log(" Request rejected"); in otPlatDsoConnect() [all …]
|
| D | test_dns_client.cpp | 61 #define Log(...) … macro 179 Log("AdvanceTime for %u.%03u", aDuration / 1000, aDuration % 1000); in AdvanceTime() 308 Log("ValidateHost()"); in ValidateHost() 314 Log("Hostname: %s", name); in ValidateHost() 327 Log(" TTL: %u", aInfo.mTtl); in LogServiceInfo() 328 Log(" Port: %u", aInfo.mPort); in LogServiceInfo() 329 Log(" Weight: %u", aInfo.mWeight); in LogServiceInfo() 330 Log(" HostName: %s", aInfo.mHostNameBuffer); in LogServiceInfo() 331 Log(" HostAddr: %s", AsCoreType(&aInfo.mHostAddress).ToString().AsCString()); in LogServiceInfo() 332 Log(" TxtDataLength: %u", aInfo.mTxtDataSize); in LogServiceInfo() [all …]
|
| D | test_dnssd_discovery_proxy.cpp | 62 #define Log(...) … macro 180 Log("AdvanceTime for %u.%03u", aDuration / 1000, aDuration % 1000); in AdvanceTime() 247 Log(" TTL: %u", aInfo.mTtl); in LogServiceInfo() 248 Log(" Port: %u", aInfo.mPort); in LogServiceInfo() 249 Log(" Weight: %u", aInfo.mWeight); in LogServiceInfo() 250 Log(" HostName: %s", aInfo.mHostNameBuffer); in LogServiceInfo() 251 Log(" HostAddr: %s", AsCoreType(&aInfo.mHostAddress).ToString().AsCString()); in LogServiceInfo() 252 Log(" TxtDataLength: %u", aInfo.mTxtDataSize); in LogServiceInfo() 253 Log(" TxtDataTTL: %u", aInfo.mTxtDataTtl); in LogServiceInfo() 299 Log("BrowseCallback"); in BrowseCallback() [all …]
|
| D | test_mdns.cpp | 55 #define Log(...) … macro 59 #define Log(...) 181 …Log(" %s %s %s class:%u", mName.AsCString(), RecordTypeToString(mType), mUnicastResponse ? "Q… in ParseFrom() 357 Log(" %s", logStr.AsCString()); in ParseFrom() 629 Log(" %s", aSectionName); in ParseRecords() 648 Log(" %s id:%u qt:%u t:%u rcode:%u [q:%u ans:%u auth:%u addn:%u]", in ParseFrom() 656 Log(" Question"); in ParseFrom() 956 Log("Register callback - ResuestId:%u Error:%s", aRequestId, otThreadErrorToString(aError)); in HandleCallback() 1004 Log("Conflict callback - %s %s", aName, (aServiceType == nullptr) ? "" : aServiceType); in HandleConflict() 1126 Log("Sending query for %s %s", aName, RecordTypeToString(aRecordType)); in SendQuery() [all …]
|
| D | test_routing_manager.cpp | 52 #define Log(...) … macro 305 …Log("otPlatInfraIfSendIcmp6Nd(aDestAddr: %s, aBufferLength:%u)", AsCoreType(aDestAddress).ToString… in otPlatInfraIfSendIcmp6Nd() 319 Log(" Router Solicit message"); in otPlatInfraIfSendIcmp6Nd() 324 Log(" Router Advertisement message"); in otPlatInfraIfSendIcmp6Nd() 338 Log(" Neighbor Solicit message"); in otPlatInfraIfSendIcmp6Nd() 417 Log("AdvanceTime for %u.%03u", aDuration / 1000, aDuration % 1000); in AdvanceTime() 581 Log(" RA header - M:%u, O:%u, S:%u", raMsg.GetHeader().IsManagedAddressConfigFlagSet(), in LogRouterAdvert() 583 Log(" RA header - lifetime %u, prf:%s", raMsg.GetHeader().GetRouterLifetime(), in LogRouterAdvert() 597 Log(" PIO - %s, flags:%s%s, valid:%u, preferred:%u", prefix.ToString().AsCString(), in LogRouterAdvert() 610 Log(" RIO - %s, prf:%s, lifetime:%u", prefix.ToString().AsCString(), in LogRouterAdvert() [all …]
|
| D | test_srp_server.cpp | 57 #define Log(...) … macro 175 Log("AdvanceTime for %u.%03u", aDuration / 1000, aDuration % 1000); in AdvanceTime() 249 Log("HandleSrpServerUpdate() called with %u, timeout:%u", aId, aTimeout); in HandleSrpServerUpdate() 280 Log("HandleSrpClientCallback() called with error %s", ErrorToString(aError)); in HandleSrpClientCallback() 351 Log("ValidateHost()"); in ValidateHost() 357 Log("Hostname: %s", name); in ValidateHost() 376 …Log("--------------------------------------------------------------------------------------------"… in TestSrpServerBase() 377 Log("TestSrpServerBase"); in TestSrpServerBase() 475 Log("Disabling SRP server"); in TestSrpServerBase() 485 Log("Finalizing OT instance"); in TestSrpServerBase() [all …]
|
| D | test_tasklet.cpp | 38 #define Log(aMessage) fprintf(stderr, aMessage "\n\r") macro 49 Log(" otTaskletsSignalPending()"); in otTaskletsSignalPending() 75 Log(" HandleTask1()"); in HandleTask1() 83 Log(" HandleTask2()"); in HandleTask2() 91 Log(" HandleTask3()"); in HandleTask3() 104 Log("TestTasklet"); in TestTasklet() 123 Log("Posting a single task"); in TestTasklet() 144 Log("Posting multiple tasks"); in TestTasklet() 174 Log("Posting the same task multiple times"); in TestTasklet() 211 Log("Task posting itself from its handler"); in TestTasklet() [all …]
|
| /openthread-latest/tests/nexus/ |
| D | test_large_network.cpp | 79 Log("Starting %u nodes simultaneously", kNumNodes); in Test() 98 Log("+----------+----------+----------+----------+----------+"); in Test() 99 Log("| Leader | Router | Child | Detached | Disabled |"); in Test() 100 Log("+----------+----------+----------+----------+----------+"); in Test() 105 … Log("| %8u | %8u | %8u | %8u | %8u |", roleStats[Mle::kRoleLeader], roleStats[Mle::kRoleRouter], in Test() 118 Log("========================================================="); in Test() 119 Log("All nodes are now part of the same partition"); in Test() 120 Log("Network stabilized after %u sec", nexus.GetNow().GetValue() / Time::kOneSecondInMsec); in Test() 121 Log("Continue simulation for another %u sec", kExtraSimulTimAfterPass / Time::kOneSecondInMsec); in Test() 122 Log("========================================================="); in Test() [all …]
|
| D | test_form_join.cpp | 60 Log("---------------------------------------------------------------------------------------"); in TestFormJoin() 61 Log("Form network"); in TestFormJoin() 67 Log("---------------------------------------------------------------------------------------"); in TestFormJoin() 68 Log("Join an FED"); in TestFormJoin() 74 Log("---------------------------------------------------------------------------------------"); in TestFormJoin() 75 Log("Join an SED"); in TestFormJoin() 81 Log("---------------------------------------------------------------------------------------"); in TestFormJoin() 82 Log("Join an MED"); in TestFormJoin() 88 Log("---------------------------------------------------------------------------------------"); in TestFormJoin() 89 Log("Join two routers"); in TestFormJoin() [all …]
|
| D | test_border_agent.cpp | 48 …Log("---------------------------------------------------------------------------------------------… in TestBorderAgent() 49 Log("TestBorderAgent"); in TestBorderAgent() 66 Log("Check Border Agent initial state"); in TestBorderAgent() 73 Log("Establish a DTLS connection to Border Agent"); in TestBorderAgent() 91 Log("Disconnect from candidate side"); in TestBorderAgent() 101 Log("Establish a secure connection again"); in TestBorderAgent() 113 Log("Send `Commissioner Petition` TMF command to become full commissioner"); in TestBorderAgent() 125 Log("Send `Commissioner Keep Alive` and check timeout behavior"); in TestBorderAgent() 138 Log(" Wait for 49 seconds (TIMEOUT_LEAD_PET is 50 seconds) and check BA state"); in TestBorderAgent() 145 …Log(" Wait for additional 5 seconds (ensuring TIMEOUT_LEAD_PET and session disconnect guard time… in TestBorderAgent() [all …]
|
| D | test_dtls.cpp | 86 Log(" node%u: HandleReceive(aLength:%u)", node->GetId(), aLength); in HandleReceive() 104 Log(" node%u: HandleConnectEvent(%s)", node->GetId(), ConnectEventToString(aEvent)); in HandleConnectEvent() 115 Log(" node%u: HandleAutoClose()", node->GetId()); in HandleAutoClose() 160 …Log(" node%u: HandleAccept(), %s", mNode.GetId(), (session != nullptr) ? "accepted" : "rejected"… in HandleAccept() 202 Log(" node%u: HandleAccept()", transport->mNode.GetId()); in HandleAccept() 220 Log(" node%u: HandleRemoveSession()", transport->mNode.GetId()); in HandleRemoveSession() 239 …Log("---------------------------------------------------------------------------------------------… in TestDtlsSingleSession() 240 Log("TestDtlsSingleSession"); in TestDtlsSingleSession() 267 Log("Start DTLS (server) on node0 bound to port %u", kUdpPort); in TestDtlsSingleSession() 284 Log("Try to establish a DTLS connection from node 1 using a wrong PSK multiple times"); in TestDtlsSingleSession() [all …]
|
| /openthread-latest/src/core/common/ |
| D | settings.cpp | 49 void SettingsBase::NetworkInfo::Log(Action aAction) const in Log() function in ot::SettingsBase::NetworkInfo 60 void SettingsBase::ParentInfo::Log(Action aAction) const in Log() function in ot::SettingsBase::ParentInfo 67 void SettingsBase::ChildInfo::Log(Action aAction) const in Log() function in ot::SettingsBase::ChildInfo 75 void SettingsBase::DadInfo::Log(Action aAction) const in Log() function in ot::SettingsBase::DadInfo 89 void SettingsBase::SrpClientInfo::Log(Action aAction) const in Log() function in ot::SettingsBase::SrpClientInfo 97 void SettingsBase::SrpServerInfo::Log(Action aAction) const in Log() function in ot::SettingsBase::SrpServerInfo 104 void SettingsBase::BorderAgentId::Log(Action aAction, const MeshCoP::BorderAgent::Id &aId) in Log() function in ot::SettingsBase::BorderAgentId 237 Log(kActionSave, error, key); in SaveOperationalDataset() 262 Log(kActionDelete, error, key); in DeleteOperationalDataset() 271 Log(kActionAdd, error, kKeyChildInfo, &aChildInfo); in AddChildInfo() [all …]
|
| D | settings.hpp | 300 void Log(Action aAction) const; 364 void Log(Action aAction) const; 462 void Log(Action aAction) const; 521 void Log(Action aAction) const; 587 void Log(const char *aActionText) const; 657 void Log(Action aAction) const; 698 void Log(Action aAction) const; 718 static void Log(Action aAction, const MeshCoP::BorderAgent::Id &aId); 1122 static void Log(Action aAction, Error aError, Key aKey, const void *aValue = nullptr);
|
| /openthread-latest/src/core/thread/ |
| D | radio_selector.cpp | 117 Log(logLevel, aIsDuplicate ? "UpdateOnDupRx" : "UpdateOnRx", aRadioType, aNeighbor); in UpdateOnReceive() 124 Log(logLevel, "NewRadio(OnRx)", aRadioType, aNeighbor); in UpdateOnReceive() 156 …Log(logLevel, (aTxError == kErrorNone) ? "UpdateOnTxSucc" : "UpdateOnTxErr", radioType, *neighbor); in UpdateOnSendDone() 164 Log(logLevel, "NewRadio(OnTx)", radioType, *neighbor); in UpdateOnSendDone() 184 …Log(logLevel, (aTxError == kErrorNone) ? "UpdateOnDefAckSucc" : "UpdateOnDefAckFail", Mac::kRadioT… in UpdateOnDeferredAck() 210 Log(logLevel, "NewRadio(OnDefAckSucc)", Mac::kRadioTypeTrel, aNeighbor); in UpdateOnDeferredAck() 293 Log(kLogLevelDebg, "SelectRadio", selectedRadio, *neighbor); in SelectRadio() 317 Log(kLogLevelDebg, "Probe", Mac::kRadioTypeTrel, *neighbor); in SelectRadio() 356 void RadioSelector::Log(LogLevel aLogLevel, in Log() function in ot::RadioSelector 386 void RadioSelector::Log(LogLevel, const char *, Mac::RadioType, const Neighbor &) {} in Log() function in ot::RadioSelector
|
| D | mle_router.cpp | 595 Log(kMessageSend, kTypeAdvertisement, aDestination); in SendAdvertisement() 678 Log(kMessageSend, kTypeLinkRequest, destination); in SendLinkRequest() 693 Log(kMessageReceive, kTypeLinkRequest, aRxInfo.mMessageInfo.GetPeerAddr()); in HandleLinkRequest() 871 …Log(kMessageSend, (command == kCommandLinkAccept) ? kTypeLinkAccept : kTypeLinkAcceptAndRequest, d… in SendLinkAccept() 906 Log(kMessageReceive, aMessageType, aRxInfo.mMessageInfo.GetPeerAddr(), sourceAddress); in HandleLinkAcceptVariant() 1454 Log(kMessageReceive, kTypeParentRequest, aRxInfo.mMessageInfo.GetPeerAddr()); in HandleParentRequest() 1827 Log(kMessageSend, kTypeParentResponse, destination); in SendParentResponse() 2085 Log(kMessageReceive, kTypeChildIdRequest, aRxInfo.mMessageInfo.GetPeerAddr()); in HandleChildIdRequest() 2246 Log(kMessageReceive, kTypeChildUpdateRequestOfChild, aRxInfo.mMessageInfo.GetPeerAddr()); in HandleChildUpdateRequestOnParent() 2464 … Log(kMessageReceive, kTypeChildUpdateResponseOfUnknownChild, aRxInfo.mMessageInfo.GetPeerAddr()); in HandleChildUpdateResponseOnParent() [all …]
|
| D | mle.cpp | 1698 Log(kMessageSend, kTypeParentRequestToRouters, destination); in SendParentRequest() 1714 Log(kMessageSend, kTypeParentRequestToRouters, destination); in SendParentRequest() 1718 Log(kMessageSend, kTypeParentRequestToRoutersReeds, destination); in SendParentRequest() 1811 Log(kMessageSend, in SendChildIdRequest() 1879 Log(kMessageSend, kTypeDataRequest, aDestination); in SendDataRequest() 2039 Log(kMessageSend, kTypeChildUpdateRequestAsChild, destination); in SendChildUpdateRequestToParent() 2127 Log(kMessageSend, kTypeChildUpdateResponseAsChild, aDestination); in SendChildUpdateResponse() 2741 Log(kMessageReceive, kTypeAdvertisement, aRxInfo.mMessageInfo.GetPeerAddr(), sourceAddress); in HandleAdvertisement() 2798 Log(kMessageReceive, kTypeDataResponse, aRxInfo.mMessageInfo.GetPeerAddr()); in HandleDataResponse() 3075 Log(kMessageReceive, kTypeParentResponse, aRxInfo.mMessageInfo.GetPeerAddr(), sourceAddress); in HandleParentResponse() [all …]
|
| D | radio_selector.hpp | 193 …void Log(LogLevel aLogLevel, const char *aActionText, Mac::RadioType aType, const Neighb…
|
| D | discover_scanner.cpp | 154 Mle::Log(Mle::kMessageSend, Mle::kTypeDiscoveryRequest, destination); in Discover() 311 Mle::Log(Mle::kMessageReceive, Mle::kTypeDiscoveryResponse, aRxInfo.mMessageInfo.GetPeerAddr()); in HandleDiscoveryResponse()
|
| /openthread-latest/src/core/backbone_router/ |
| D | multicast_listeners_table.cpp | 75 Log(kAdd, aAddress, aExpireTime, error); in Add() 105 Log(kRemove, aAddress, TimeMilli(0), error); in Remove() 116 Log(kExpire, mListeners[0].GetAddress(), mListeners[0].GetExpireTime(), kErrorNone); in Expire() 134 void MulticastListenersTable::Log(Action aAction, in Log() function in ot::BackboneRouter::MulticastListenersTable 157 void MulticastListenersTable::Log(Action, const Ip6::Address &, TimeMilli, Error) const {} in Log() function in ot::BackboneRouter::MulticastListenersTable
|
| D | multicast_listeners_table.hpp | 210 … void Log(Action aAction, const Ip6::Address &aAddress, TimeMilli aExpireTime, Error aError) const;
|
| /openthread-latest/tests/nexus/platform/ |
| D | nexus_core.hpp | 90 void Log(const char *aFormat, ...);
|
| D | nexus_misc.cpp | 129 void Log(const char *aFormat, ...) in Log() function
|
| /openthread-latest/src/core/radio/ |
| D | trel_interface.cpp | 243 entry->Log(isNew ? "Added" : "Updated"); in HandleDiscoveredPeerInfo() 342 aEntry.Log("Removing"); in RemovePeerEntry() 432 void Interface::Peer::Log(const char *aAction) const in Log() function in ot::Trel::Interface::Peer
|
| /openthread-latest/src/core/net/ |
| D | srp_server.cpp | 507 service.Log(action); in CommitSrpUpdate() 539 existingService->Log(Service::kRemoveButRetainName); in CommitSrpUpdate() 543 existingService->Log(Service::kKeepUnchanged); in CommitSrpUpdate() 1626 service->Log(Service::kKeyLeaseExpired); in HandleLeaseTimer() 1666 service->Log(Service::kKeyLeaseExpired); in HandleLeaseTimer() 1676 service->Log(Service::kLeaseExpired); in HandleLeaseTimer() 1925 void Server::Service::Log(Action aAction) const in Log() function in ot::Srp::Server::Service 1968 void Server::Service::Log(Action) const {} in Log() function in ot::Srp::Server::Service 2127 aService->Log(aRetainName ? Service::kRemoveButRetainName : Service::kFullyRemove); in RemoveService()
|