Home
last modified time | relevance | path

Searched refs:mWeight (Results 1 – 14 of 14) sorted by relevance

/openthread-3.6.0/tests/unit/
Dtest_dns_client.cpp277 aService.mWeight = 1; in PrepareService1()
293 aService.mWeight = 0; in PrepareService2()
326 Log(" Weight: %u", aInfo.mWeight); in LogServiceInfo()
653 VerifyOrQuit(sResolveServiceInfo.mInfo.mWeight == service1.mWeight); in TestDnsClient()
736 VerifyOrQuit(sResolveServiceInfo.mInfo.mWeight == service1.mWeight); in TestDnsClient()
809 VerifyOrQuit(sResolveServiceInfo.mInfo.mWeight == service1.mWeight); in TestDnsClient()
854 VerifyOrQuit(sResolveServiceInfo.mInfo.mWeight == service1.mWeight); in TestDnsClient()
Dtest_srp_server.cpp321 aService.mWeight = 1; in PrepareService1()
339 aService.mWeight = 0; in PrepareService2()
/openthread-3.6.0/include/openthread/
Ddnssd_server.h121 uint16_t mWeight; ///< Service weight. member
Dsrp_client.h112 uint16_t mWeight; ///< The service weight. member
Ddns_client.h352 uint16_t mWeight; ///< Service weight. member
/openthread-3.6.0/src/cli/
Dcli_srp_client.cpp745 SuccessOrExit(error = aArgs[5].ParseAsUint16(entry->mService.mWeight)); in ProcessServiceAdd()
845 aService.mPort, aService.mPriority, aService.mWeight); in OutputService()
Dcli_dns.cpp550 aServiceInfo.mWeight, ToUlong(aServiceInfo.mTtl)); in OutputDnsServiceInfo()
/openthread-3.6.0/src/core/net/
Dsrp_server.hpp296 uint16_t GetWeight(void) const { return mWeight; } in GetWeight()
424 uint16_t mWeight; member in ot::Srp::Server::Service
Ddns_types.hpp1964 uint16_t GetWeight(void) const { return BigEndian::HostSwap16(mWeight); } in GetWeight()
1972 void SetWeight(uint16_t aWeight) { mWeight = BigEndian::HostSwap16(aWeight); } in SetWeight()
2048 uint16_t mWeight; member in ot::Dns::SrvRecord
Dsrp_client.hpp254 uint16_t GetWeight(void) const { return mWeight; } in GetWeight()
Dsrp_server.cpp1126 service->mWeight = srvRecord.GetWeight(); in ProcessServiceDescriptionInstructions()
1747 mWeight = 0; in Init()
Ddnssd_server.cpp519 …Record(aInstanceInfo.mHostName, aInstanceInfo.mTtl, aInstanceInfo.mPriority, aInstanceInfo.mWeight, in AppendSrvRecord()
Ddns_client.cpp299 aServiceInfo.mWeight = srvRecord.GetWeight(); in ReadServiceInfo()
/openthread-3.6.0/src/ncp/
Dncp_base_mtd.cpp3820 SuccessOrExit(error = mEncoder.WriteUint16(aServices->mWeight)); in EncodeSrpClientServices()
3858 SuccessOrExit(error = mDecoder.ReadUint16(entry->mService.mWeight)); in HandlePropertyInsert()