Home
last modified time | relevance | path

Searched refs:mTtl (Results 1 – 12 of 12) sorted by relevance

/openthread-3.4.0/include/openthread/
Ddnssd_server.h124 uint32_t mTtl; ///< Service TTL (in seconds). member
135 uint32_t mTtl; ///< Service TTL (in seconds). member
Ddns_client.h349 uint32_t mTtl; ///< Service record TTL (in seconds). member
/openthread-3.4.0/src/core/net/
Dip4_types.hpp453 uint8_t GetTtl(void) const { return mTtl; } in GetTtl()
461 void SetTtl(uint8_t aTtl) { mTtl = aTtl; } in SetTtl()
579 uint8_t mTtl; member in ot::Ip4::Header
Dsrp_server.hpp283 uint32_t GetTtl(void) const { return mDescription->mTtl; } in GetTtl()
416 uint32_t mTtl; // The TTL in seconds. member
501 uint32_t GetTtl(void) const { return mTtl; } in GetTtl()
593 void SetTtl(uint32_t aTtl) { mTtl = aTtl; } in SetTtl()
626 uint32_t mTtl; // The TTL in seconds. member in ot::Srp::Server::Host
Dsrp_client.hpp478 uint32_t GetTtl(void) const { return mTtl; } in GetTtl()
490 void SetTtl(uint32_t aTtl) { mTtl = aTtl; } in SetTtl()
1079 uint32_t mTtl; member in ot::Srp::Client
Dsrp_server.cpp468 service.mDescription->mTtl = grantedTtl; in CommitSrpUpdate()
1042 desc->mTtl = srvRecord.GetTtl(); in ProcessServiceDescriptionInstructions()
1863 mTtl = 0; in Init()
1892 mTtl = aDescription.mTtl; in TakeResourcesFrom()
1921 , mTtl(0) in Host()
2003 VerifyOrExit(aTtl && (mTtl == 0 || mTtl == aTtl)); in ProcessTtl()
2005 mTtl = aTtl; in ProcessTtl()
2140 mTtl = aHost.mTtl; in MergeServicesAndResourcesFrom()
Ddns_types.hpp1315 uint32_t GetTtl(void) const { return HostSwap32(mTtl); } in GetTtl()
1323 void SetTtl(uint32_t aTtl) { mTtl = HostSwap32(aTtl); } in SetTtl()
1503 uint32_t mTtl; // Specifies the maximum time that the resource record may be cached. member in ot::Dns::ResourceRecord
2422 …uint8_t GetTtlByteAt(uint8_t aIndex) const { return reinterpret_cast<const uint8_t *>(&mTtl)[aInd… in GetTtlByteAt()
2423 uint8_t &GetTtlByteAt(uint8_t aIndex) { return reinterpret_cast<uint8_t *>(&mTtl)[aIndex]; } in GetTtlByteAt()
Ddnssd_server.cpp1041 aInstanceInfo.mTtl, compressInfo)); in AnswerQuery()
1056 … aInstanceInfo.mTtl, aInstanceInfo.mPriority, aInstanceInfo.mWeight, in AnswerQuery()
1065 … aInstanceInfo.mTxtLength, aInstanceInfo.mTtl, compressInfo)); in AnswerQuery()
1080 aInstanceInfo.mTtl, compressInfo)); in AnswerQuery()
1108 … AppendAaaaRecord(responseMessage, aHostFullName, address, aHostInfo.mTtl, compressInfo)); in AnswerQuery()
Ddns_client.cpp255 aServiceInfo.mTtl = 0; in InitServiceInfo()
285 VerifyOrExit(aServiceInfo.mTtl == 0); in ReadServiceInfo()
293 aServiceInfo.mTtl = srvRecord.GetTtl(); in ReadServiceInfo()
Dsrp_client.cpp255 , mTtl(0) in Client()
1875 return (mTtl == kUnspecifiedInterval) ? lease : Min(mTtl, lease); in DetermineTtl()
/openthread-3.4.0/tests/unit/
Dtest_dns_client.cpp310 Log(" TTL: %u", aInfo.mTtl); in LogServiceInfo()
628 VerifyOrQuit(sResolveServiceInfo.mInfo.mTtl != 0); in TestDnsClient()
711 VerifyOrQuit(sResolveServiceInfo.mInfo.mTtl != 0); in TestDnsClient()
784 VerifyOrQuit(sResolveServiceInfo.mInfo.mTtl != 0); in TestDnsClient()
829 VerifyOrQuit(sResolveServiceInfo.mInfo.mTtl != 0); in TestDnsClient()
/openthread-3.4.0/src/cli/
Dcli.cpp3452 aServiceInfo.mWeight, ToUlong(aServiceInfo.mTtl)); in OutputDnsServiceInfo()