Home
last modified time | relevance | path

Searched refs:QueryConfig (Results 1 – 3 of 3) sorted by relevance

/openthread-3.5.0/src/core/net/
Ddns_client.hpp119 class QueryConfig : public otDnsQueryConfig, public Clearable<QueryConfig> class in ot::Dns::Client
177 QueryConfig(void) = default;
260 explicit QueryConfig(InitMode aMode);
276 void SetFrom(const QueryConfig *aConfig, const QueryConfig &aDefaultConfig);
626 const QueryConfig &GetDefaultConfig(void) const { return mDefaultConfig; } in GetDefaultConfig()
634 void SetDefaultConfig(const QueryConfig &aQueryConfig);
667 const QueryConfig *aConfig = nullptr);
694 const QueryConfig *aConfig = nullptr);
718 const QueryConfig *aConfig = nullptr);
742 const QueryConfig *aConfig = nullptr);
[all …]
Ddns_client.cpp62 const char Client::QueryConfig::kDefaultServerAddressString[] = OPENTHREAD_CONFIG_DNS_CLIENT_DEFAUL…
64 Client::QueryConfig::QueryConfig(InitMode aMode) in QueryConfig() function in ot::Dns::Client::QueryConfig
80 void Client::QueryConfig::SetFrom(const QueryConfig *aConfig, const QueryConfig &aDefaultConfig) in SetFrom()
750 , mDefaultConfig(QueryConfig::kInitFromDefaults) in Client()
826 void Client::SetDefaultConfig(const QueryConfig &aQueryConfig) in SetDefaultConfig()
828 QueryConfig startingDefault(QueryConfig::kInitFromDefaults); in SetDefaultConfig()
840 mDefaultConfig = QueryConfig(QueryConfig::kInitFromDefaults); in ResetDefaultConfig()
864 const QueryConfig *aConfig) in ResolveAddress()
881 const QueryConfig *aConfig) in ResolveIp4Address()
897 …wse(const char *aServiceName, BrowseCallback aCallback, void *aContext, const QueryConfig *aConfig) in Browse()
[all …]
/openthread-3.5.0/tests/unit/
Dtest_dns_client.cpp333 const char *ServiceModeToString(Dns::Client::QueryConfig::ServiceMode aMode) in ServiceModeToString()
344 …static_assert(Dns::Client::QueryConfig::kServiceModeUnspecified == 0, "Unspecified value is incorr… in ServiceModeToString()
345 static_assert(Dns::Client::QueryConfig::kServiceModeSrv == 1, "Srv value is incorrect"); in ServiceModeToString()
346 static_assert(Dns::Client::QueryConfig::kServiceModeTxt == 2, "Txt value is incorrect"); in ServiceModeToString()
347 static_assert(Dns::Client::QueryConfig::kServiceModeSrvTxt == 3, "SrvTxt value is incorrect"); in ServiceModeToString()
348 …static_assert(Dns::Client::QueryConfig::kServiceModeSrvTxtSeparate == 4, "SrvTxtSeparate value is … in ServiceModeToString()
349 …static_assert(Dns::Client::QueryConfig::kServiceModeSrvTxtOptimize == 5, "SrvTxtOptimize value is … in ServiceModeToString()
492 const Dns::Client::QueryConfig::ServiceMode kServiceModes[] = { in TestDnsClient()
493 Dns::Client::QueryConfig::kServiceModeSrv, in TestDnsClient()
494 Dns::Client::QueryConfig::kServiceModeTxt, in TestDnsClient()
[all …]