Home
last modified time | relevance | path

Searched refs:GetTtl (Results 1 – 11 of 11) sorted by relevance

/openthread-3.5.0/tests/unit/
Dtest_ip4_header.cpp75 VerifyOrQuit(header.GetTtl() == 0); in TestIp4Header()
88 VerifyOrQuit(header.GetTtl() == kTtl); in TestIp4Header()
Dtest_dns.cpp1051 VerifyOrQuit(ptrRecord.GetTtl() == kTtl, "Read PTR is incorrect"); in TestHeaderAndResourceRecords()
1057 …printf(" \"%s\" PTR %u %d \"%s.%s\"\n", kServiceName, ptrRecord.GetTtl(), ptrRecord.GetLength()… in TestHeaderAndResourceRecords()
1079 VerifyOrQuit(ptrRecord.GetTtl() == kTtl, "Read PTR is incorrect"); in TestHeaderAndResourceRecords()
1081 …printf(" \"%s\" PTR %u %d inst:\"%s\" at \"%s\"\n", kServiceName, ptrRecord.GetTtl(), ptrRecord… in TestHeaderAndResourceRecords()
1124 VerifyOrQuit(srvRecord.GetTtl() == kTtl); in TestHeaderAndResourceRecords()
1130 …printf(" \"%s\" SRV %u %d %d %d %d \"%s\"\n", instanceName, srvRecord.GetTtl(), srvRecord.GetLe… in TestHeaderAndResourceRecords()
1136 VerifyOrQuit(txtRecord.GetTtl() == kTxtTtl); in TestHeaderAndResourceRecords()
1142 … printf(" \"%s\" TXT %u %d \"%s\"\n", instanceName, txtRecord.GetTtl(), txtRecord.GetLength(), in TestHeaderAndResourceRecords()
1156 VerifyOrQuit(aaaaRecord.GetTtl() == kTtl); in TestHeaderAndResourceRecords()
1158 printf(" \"%s\" AAAA %u %d \"%s\"\n", kHostName, aaaaRecord.GetTtl(), aaaaRecord.GetLength(), in TestHeaderAndResourceRecords()
[all …]
/openthread-3.5.0/src/core/net/
Dsrp_server.cpp469 grantedTtl = aTtlConfig.GrantTtl(grantedLease, aHost.GetTtl()); in CommitSrpUpdate()
892 SuccessOrExit(error = aHost.ProcessTtl(record.GetTtl())); in ProcessHostDescriptionInstruction()
909 SuccessOrExit(error = aHost.ProcessTtl(record.GetTtl())); in ProcessHostDescriptionInstruction()
1043 SuccessOrExit(error = aHost.ProcessTtl(ptrRecord.GetTtl())); in ProcessServiceDiscoveryInstructions()
1111 SuccessOrExit(error = aHost.ProcessTtl(record.GetTtl())); in ProcessServiceDescriptionInstructions()
1126 service->mTtl = srvRecord.GetTtl(); in ProcessServiceDescriptionInstructions()
1135 SuccessOrExit(error = aHost.ProcessTtl(record.GetTtl())); in ProcessServiceDescriptionInstructions()
1177 aRecord.GetTtl() == 0 && aRecord.GetLength() == 0; in IsValidDeleteAllRecord()
1362 ToUlong(aHost.GetTtl())); in InformUpdateHandlerOrCommit()
Dsrp_server.hpp280 uint32_t GetTtl(void) const { return mTtl; } in GetTtl() function in ot::Srp::Server::Service
488 uint32_t GetTtl(void) const { return mTtl; } in GetTtl() function in ot::Srp::Server::Host
Dip4_types.hpp453 uint8_t GetTtl(void) const { return mTtl; } in GetTtl() function in ot::Ip4::Header
Ddns_client.cpp230 aTtl = aaaaRecord.GetTtl(); in FindHostAddress()
301 aServiceInfo.mTtl = srvRecord.GetTtl(); in ReadServiceInfo()
377 aServiceInfo.mTxtDataTtl = txtRecord.GetTtl(); in ReadTxtRecord()
450 aTtl = aRecord.GetTtl(); in GetAddress()
Dsrp_client.hpp478 uint32_t GetTtl(void) const { return mTtl; } in GetTtl() function in ot::Srp::Client
Dnat64_translator.cpp248 ip6Header.SetHopLimit(ip4Header.GetTtl()); in TranslateToIp6()
Ddns_types.hpp1289 uint32_t GetTtl(void) const { return HostSwap32(mTtl); } in GetTtl() function in ot::Dns::ResourceRecord
/openthread-3.5.0/src/core/api/
Dsrp_client_api.cpp81 …rpClientGetTtl(otInstance *aInstance) { return AsCoreType(aInstance).Get<Srp::Client>().GetTtl(); } in otSrpClientGetTtl()
Dsrp_server_api.cpp221 …rpServerServiceGetTtl(const otSrpServerService *aService) { return AsCoreType(aService).GetTtl(); } in otSrpServerServiceGetTtl()