Home
last modified time | relevance | path

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

/openthread-3.6.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.6.0/src/core/net/
Dip4_types.hpp450 uint8_t GetTtl(void) const { return mTtl; } in GetTtl()
458 void SetTtl(uint8_t aTtl) { mTtl = aTtl; } in SetTtl()
576 uint8_t mTtl; member in ot::Ip4::Header
Dsrp_server.hpp280 uint32_t GetTtl(void) const { return mTtl; } in GetTtl()
426 uint32_t mTtl; // In seconds member in ot::Srp::Server::Service
494 uint32_t GetTtl(void) const { return mTtl; } in GetTtl()
578 void SetTtl(uint32_t aTtl) { mTtl = aTtl; } in SetTtl()
599 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()
1081 uint32_t mTtl; member in ot::Srp::Client
Ddns_types.hpp1413 uint32_t GetTtl(void) const { return BigEndian::HostSwap32(mTtl); } in GetTtl()
1421 void SetTtl(uint32_t aTtl) { mTtl = BigEndian::HostSwap32(aTtl); } in SetTtl()
1601 uint32_t mTtl; // Specifies the maximum time that the resource record may be cached. member in ot::Dns::ResourceRecord
2576 …uint8_t GetTtlByteAt(uint8_t aIndex) const { return reinterpret_cast<const uint8_t *>(&mTtl)[aInd… in GetTtlByteAt()
2577 uint8_t &GetTtlByteAt(uint8_t aIndex) { return reinterpret_cast<uint8_t *>(&mTtl)[aIndex]; } in GetTtlByteAt()
Ddnssd_server.cpp519 …return AppendSrvRecord(aInstanceInfo.mHostName, aInstanceInfo.mTtl, aInstanceInfo.mPriority, aInst… in AppendSrvRecord()
575 …rn AppendHostAddresses(AsCoreTypePtr(aHostInfo.mAddresses), aHostInfo.mAddressNum, aHostInfo.mTtl); in AppendHostAddresses()
580 …tAddresses(AsCoreTypePtr(aInstanceInfo.mAddresses), aInstanceInfo.mAddressNum, aInstanceInfo.mTtl); in AppendHostAddresses()
615 return AppendTxtRecord(aInstanceInfo.mTxtData, aInstanceInfo.mTxtLength, aInstanceInfo.mTtl); in AppendTxtRecord()
1033 SuccessOrExit(error = AppendPtrRecord(instanceLabel, aInstanceInfo.mTtl)); in Answer()
Dsrp_server.cpp495 service.mTtl = grantedTtl; in CommitSrpUpdate()
1124 service->mTtl = srvRecord.GetTtl(); in ProcessServiceDescriptionInstructions()
1748 mTtl = 0; in Init()
1927 , mTtl(0) in Host()
2003 VerifyOrExit(aTtl && (mTtl == 0 || mTtl == aTtl)); in ProcessTtl()
2005 mTtl = aTtl; in ProcessTtl()
Ddns_client.cpp258 aServiceInfo.mTtl = 0; in InitServiceInfo()
288 VerifyOrExit(aServiceInfo.mTtl == 0); in ReadServiceInfo()
296 aServiceInfo.mTtl = srvRecord.GetTtl(); in ReadServiceInfo()
Dsrp_client.cpp255 , mTtl(0) in Client()
1931 return (mTtl == kUnspecifiedInterval) ? lease : Min(mTtl, lease); in DetermineTtl()
/openthread-3.6.0/tests/unit/
Dtest_dns_client.cpp324 Log(" TTL: %u", aInfo.mTtl); in LogServiceInfo()
651 VerifyOrQuit(sResolveServiceInfo.mInfo.mTtl != 0); in TestDnsClient()
734 VerifyOrQuit(sResolveServiceInfo.mInfo.mTtl != 0); in TestDnsClient()
807 VerifyOrQuit(sResolveServiceInfo.mInfo.mTtl != 0); in TestDnsClient()
852 VerifyOrQuit(sResolveServiceInfo.mInfo.mTtl != 0); in TestDnsClient()
/openthread-3.6.0/src/cli/
Dcli_dns.cpp550 aServiceInfo.mWeight, ToUlong(aServiceInfo.mTtl)); in OutputDnsServiceInfo()