/openthread-latest/tests/unit/ |
D | test_ip4_header.cpp | 73 VerifyOrQuit(header.GetTtl() == 0); in TestIp4Header() 86 VerifyOrQuit(header.GetTtl() == kTtl); in TestIp4Header()
|
D | test_dns.cpp | 1305 VerifyOrQuit(ptrRecord.GetTtl() == kTtl, "Read PTR is incorrect"); in TestHeaderAndResourceRecords() 1311 …printf(" \"%s\" PTR %u %d \"%s.%s\"\n", kServiceName, ptrRecord.GetTtl(), ptrRecord.GetLength()… in TestHeaderAndResourceRecords() 1333 VerifyOrQuit(ptrRecord.GetTtl() == kTtl, "Read PTR is incorrect"); in TestHeaderAndResourceRecords() 1335 …printf(" \"%s\" PTR %u %d inst:\"%s\" at \"%s\"\n", kServiceName, ptrRecord.GetTtl(), ptrRecord… in TestHeaderAndResourceRecords() 1378 VerifyOrQuit(srvRecord.GetTtl() == kTtl); in TestHeaderAndResourceRecords() 1384 …printf(" \"%s\" SRV %u %d %d %d %d \"%s\"\n", instanceName, srvRecord.GetTtl(), srvRecord.GetLe… in TestHeaderAndResourceRecords() 1390 VerifyOrQuit(txtRecord.GetTtl() == kTxtTtl); in TestHeaderAndResourceRecords() 1396 … printf(" \"%s\" TXT %u %d \"%s\"\n", instanceName, txtRecord.GetTtl(), txtRecord.GetLength(), in TestHeaderAndResourceRecords() 1410 VerifyOrQuit(aaaaRecord.GetTtl() == kTtl); in TestHeaderAndResourceRecords() 1412 printf(" \"%s\" AAAA %u %d \"%s\"\n", kHostName, aaaaRecord.GetTtl(), aaaaRecord.GetLength(), in TestHeaderAndResourceRecords() [all …]
|
D | test_mdns.cpp | 279 mTtl = record.GetTtl(); in ParseFrom()
|
/openthread-latest/src/core/net/ |
D | mdns.cpp | 603 uint32_t Core::RecordInfo::GetTtl(bool aIsLegacyUnicast) const in GetTtl() function in ot::Dns::Multicast::Core::RecordInfo 1398 record.SetTtl(mKeyRecord.GetTtl(isLegacyUnicast)); in AppendKeyRecordTo() 1457 aKey.mTtl = mKeyRecord.GetTtl(); in CopyKeyInfoTo() 1760 aaaaRecord.SetTtl(mAddrRecord.GetTtl(isLegacyUnicast)); in AppendAddressRecordsTo() 1782 if (mAddrRecord.IsPresent() && (mAddrRecord.GetTtl() > 0)) in AppendNsecRecordTo() 1787 if (mKeyRecord.IsPresent() && (mKeyRecord.GetTtl() > 0)) in AppendNsecRecordTo() 1827 aHost.mTtl = mAddrRecord.GetTtl(); in CopyInfoTo() 2157 ttl = mPtrRecord.GetTtl(); in ShouldSuppressKnownAnswer() 2164 ttl = subType->mPtrRecord.GetTtl(); in ShouldSuppressKnownAnswer() 2283 if (mPtrRecord.GetTtl() > 0) in PrepareResponseRecords() [all …]
|
D | srp_advertising_proxy.cpp | 704 VerifyOrExit(aFirstService.GetTtl() == aSecondService.GetTtl()); in EntriesMatch() 953 hostInfo.mTtl = aHost.GetTtl(); in RegisterHost() 1027 serviceInfo.mTtl = aService.GetTtl(); in RegisterService() 1074 RegisterKey(hostName, /* aServiceType */ nullptr, aHost.mKey, aHost.mKeyAdvId, aHost.GetTtl()); in RegisterKey() 1088 …vice.GetInstanceLabel(), serviceType, aService.mHost->mKey, aService.mKeyAdvId, aService.GetTtl()); in RegisterKey()
|
D | srp_server.cpp | 465 grantedTtl = aTtlConfig.GrantTtl(grantedLease, aHost.GetTtl()); in CommitSrpUpdate() 933 SuccessOrExit(error = aHost.ProcessTtl(record.GetTtl())); in ProcessHostDescriptionInstruction() 950 SuccessOrExit(error = aHost.ProcessTtl(record.GetTtl())); in ProcessHostDescriptionInstruction() 1079 SuccessOrExit(error = aHost.ProcessTtl(ptrRecord.GetTtl())); in ProcessServiceDiscoveryInstructions() 1142 SuccessOrExit(error = aHost.ProcessTtl(record.GetTtl())); in ProcessServiceDescriptionInstructions() 1157 service->mTtl = srvRecord.GetTtl(); in ProcessServiceDescriptionInstructions() 1166 SuccessOrExit(error = aHost.ProcessTtl(record.GetTtl())); in ProcessServiceDescriptionInstructions() 1204 aRecord.GetTtl() == 0 && aRecord.GetLength() == 0; in IsValidDeleteAllRecord() 1389 ToUlong(aHost.GetTtl())); in InformUpdateHandlerOrCommit() 1767 VerifyOrExit(aHost.GetTtl() > 0); in UpdateAddrResolverCacheTable()
|
D | srp_server.hpp | 274 uint32_t GetTtl(void) const { return mTtl; } in GetTtl() function in ot::Srp::Server::Service 480 uint32_t GetTtl(void) const { return mTtl; } in GetTtl() function in ot::Srp::Server::Host
|
D | ip4_types.hpp | 421 uint8_t GetTtl(void) const { return mTtl; } in GetTtl() function in ot::Ip4::Header
|
D | dns_client.cpp | 217 aTtl = aaaaRecord.GetTtl(); in FindHostAddress() 288 aServiceInfo.mTtl = srvRecord.GetTtl(); in ReadServiceInfo() 364 aServiceInfo.mTxtDataTtl = txtRecord.GetTtl(); in ReadTxtRecord() 437 aTtl = aRecord.GetTtl(); in GetAddress()
|
D | mdns.hpp | 879 uint32_t GetTtl(bool aIsLegacyUnicast = false) const; 1528 uint32_t GetTtl(void) const { return mTtl; } in GetTtl() function in ot::Dns::Multicast::Core::CacheRecordInfo 1820 uint32_t GetTtl(void) const { return mRecord.GetTtl(); } in GetTtl() function
|
D | srp_client.hpp | 445 uint32_t GetTtl(void) const { return mTtl; } in GetTtl() function in ot::Srp::Client
|
D | nat64_translator.cpp | 244 ip6Header.SetHopLimit(ip4Header.GetTtl()); in TranslateToIp6()
|
D | dns_types.hpp | 1337 uint32_t GetTtl(void) const { return BigEndian::HostSwap32(mTtl); } in GetTtl() function in ot::Dns::ResourceRecord
|
/openthread-latest/src/core/api/ |
D | srp_client_api.cpp | 78 …rpClientGetTtl(otInstance *aInstance) { return AsCoreType(aInstance).Get<Srp::Client>().GetTtl(); } in otSrpClientGetTtl()
|
D | srp_server_api.cpp | 218 …rpServerServiceGetTtl(const otSrpServerService *aService) { return AsCoreType(aService).GetTtl(); } in otSrpServerServiceGetTtl()
|