/openthread-3.6.0/src/cli/ |
D | cli.cpp | 97 Interpreter *Interpreter::sInterpreter = nullptr; 98 static OT_DEFINE_ALIGNED_VAR(sInterpreterRaw, sizeof(Interpreter), uint64_t); 100 Interpreter::Interpreter(Instance *aInstance, otCliOutputCallback aCallback, void *aContext) in Interpreter() function in ot::Cli::Interpreter 164 otIp6SetReceiveCallback(GetInstancePtr(), &Interpreter::HandleIp6Receive, this); in Interpreter() 171 void Interpreter::OutputResult(otError aError) in OutputResult() 204 const char *Interpreter::LinkModeToString(const otLinkModeConfig &aLinkMode, char (&aStringBuffer)[… in LinkModeToString() 234 template <> otError Interpreter::Process<Cmd("diag")>(Arg aArgs[]) in Process() 251 template <> otError Interpreter::Process<Cmd("version")>(Arg aArgs[]) in Process() 292 template <> otError Interpreter::Process<Cmd("reset")>(Arg aArgs[]) in Process() 324 void Interpreter::ProcessLine(char *aBuf) in ProcessLine() [all …]
|
D | cli.hpp | 111 class Interpreter : public OutputImplementer, public Output class 140 explicit Interpreter(Instance *aInstance, otCliOutputCallback aCallback, void *aContext); 148 static Interpreter &GetInterpreter(void) in GetInterpreter() 277 static Interpreter *sInterpreter; 290 using Command = CommandEntry<Interpreter>; 604 template <> inline constexpr const char *Interpreter::FormatStringFor<uint8_t>(void) { return "%u";… in FormatStringFor() 606 template <> inline constexpr const char *Interpreter::FormatStringFor<uint16_t>(void) { return "%u"… in FormatStringFor() 608 template <> inline constexpr const char *Interpreter::FormatStringFor<uint32_t>(void) { return "%lu… in FormatStringFor() 610 template <> inline constexpr const char *Interpreter::FormatStringFor<int8_t>(void) { return "%d"; } in FormatStringFor() 612 template <> inline constexpr const char *Interpreter::FormatStringFor<int16_t>(void) { return "%d";… in FormatStringFor() [all …]
|
D | cli_br.cpp | 236 OutputLine(" prf:%s", Interpreter::PreferenceToString(preference)); in Process() 368 OutputLine(" prf:%s", Interpreter::PreferenceToString(preference)); in Process() 427 OutputFormat("route-prf:%s, ", Interpreter::PreferenceToString(entry.mRoutePreference)); in Process() 458 …if (Interpreter::GetInterpreter().ProcessEnableDisable(aArgs, otBorderRoutingDhcp6PdSetEnabled) ==… in Process() 558 … Interpreter::PreferenceToString(otBorderRoutingGetRouteInfoOptionPreference(GetInstancePtr()))); in Process() 587 SuccessOrExit(error = Interpreter::ParsePreference(aArgs[0], preference)); in Process() 611 …OutputLine("%s", Interpreter::PreferenceToString(otBorderRoutingGetRoutePreference(GetInstancePtr(… in Process() 640 SuccessOrExit(error = Interpreter::ParsePreference(aArgs[0], preference)); in Process() 674 Interpreter::GetInterpreter().OutputBorderRouterCounters(); in Process()
|
D | cli_history.cpp | 177 Interpreter::AddressOriginToString(info->mAddressOrigin), info->mScope, in Process() 184 Interpreter::AddressOriginToString(info->mAddressOrigin), info->mScope, in Process() 291 Interpreter::AddressOriginToString(info->mAddressOrigin)); in Process() 371 char linkModeString[Interpreter::kLinkModeStringSize]; in Process() 406 Interpreter::LinkModeToString(mode, linkModeString); in Process() 650 char linkModeString[Interpreter::kLinkModeStringSize]; in Process() 677 …Interpreter::LinkModeToString(info->mMode, linkModeString), info->mRloc16, ToUlong(info->mPartitio… in Process() 1344 … Interpreter::PreferenceToString(info->mPrefix.mPreference), info->mPrefix.mRloc16); in Process() 1433 Interpreter::PreferenceToString(info->mRoute.mPreference), info->mRoute.mRloc16); in Process()
|
D | cli_network_data.cpp | 120 OutputLine(" %s %04x", Interpreter::PreferenceToString(aConfig.mPreference), aConfig.mRloc16); in OutputPrefix() 158 OutputLine(" %s %04x", Interpreter::PreferenceToString(aConfig.mPreference), aConfig.mRloc16); in OutputRoute() 346 SuccessOrExit(error = Interpreter::ParsePrefix(aArgs + 1, config)); in Process() 367 SuccessOrExit(error = Interpreter::ParseRoute(aArgs + 1, config)); in Process() 390 SuccessOrExit(error = Interpreter::ParseRoute(aArgs + 2, config)); in Process() 496 error = Interpreter::ParseJoinerDiscerner(aArgs[1], discerner); in Process()
|
D | cli_srp_client.cpp | 92 SuccessOrExit(error = Interpreter::ParseEnableOrDisable(aArgs[0], enable)); in Process() 176 error = Interpreter::ParseEnableOrDisable(aArgs[0], mCallbackEnabled); in Process() 458 …return Interpreter::GetInterpreter().ProcessGetSet(aArgs, otSrpClientGetLeaseInterval, otSrpClient… in Process() 480 return Interpreter::GetInterpreter().ProcessGetSet(aArgs, otSrpClientGetKeyLeaseInterval, in Process() 671 …error = Interpreter::GetInterpreter().ProcessEnableDisable(aArgs + 1, otSrpClientIsServiceKeyRecor… in Process() 937 return Interpreter::GetInterpreter().ProcessGetSet(aArgs, otSrpClientGetTtl, otSrpClientSetTtl); in Process()
|
D | cli_udp.cpp | 139 …error = Interpreter::ParseToIp6Address(GetInstancePtr(), aArgs[0], sockaddr.mAddress, nat64Synthes… in Process() 274 …SuccessOrExit(error = Interpreter::ParseToIp6Address(GetInstancePtr(), aArgs[0], messageInfo.mPeer… in Process() 364 error = Interpreter::ParseEnableOrDisable(aArgs[0], mLinkSecurityEnabled); in Process()
|
D | cli_ping.cpp | 99 SuccessOrExit(error = Interpreter::GetInterpreter().ParseToIp6Address( in Process() 251 void PingSender::OutputResult(otError aError) { Interpreter::GetInterpreter().OutputResult(aError);… in OutputResult()
|
D | cli_dns.cpp | 97 SuccessOrExit(error = Interpreter::ParseEnableOrDisable(aArgs[0], enable)); in Process() 408 void Dns::OutputResult(otError aError) { Interpreter::GetInterpreter().OutputResult(aError); } in OutputResult() 425 …SuccessOrExit(error = Interpreter::ParseToIp6Address(GetInstancePtr(), aArgs[0], aConfig->mServerS… in GetDnsConfig() 682 …error = Interpreter::GetInterpreter().ProcessEnableDisable(aArgs + 1, otDnssdUpstreamQueryIsEnable… in Process()
|
D | cli_joiner.cpp | 111 SuccessOrExit(Interpreter::ParseJoinerDiscerner(aArgs[0], discerner)); in Process()
|
D | cli_bbr.cpp | 293 return Interpreter::GetInterpreter().ProcessGetSet(aArgs, otBackboneRouterGetRegistrationJitter, in Process()
|
D | cli_link_metrics.cpp | 525 void LinkMetrics::OutputResult(otError aError) { Interpreter::GetInterpreter().OutputResult(aError)… in OutputResult()
|
D | cli_srp_server.cpp | 124 return Interpreter::GetInterpreter().ProcessEnableDisable(aArgs, otSrpServerIsAutoEnableMode, in Process()
|
D | cli_commissioner.cpp | 144 error = Interpreter::ParseJoinerDiscerner(aArgs[1], discerner); in Process()
|
D | cli_tcp.cpp | 385 …error = Interpreter::ParseToIp6Address(GetInstancePtr(), aArgs[0], sockaddr.mAddress, nat64Synthes… in Process()
|
/openthread-3.6.0/third_party/mbedtls/repo/ |
D | CMakeLists.txt | 90 find_package(Python3 COMPONENTS Interpreter)
|