Home
last modified time | relevance | path

Searched refs:aTtl (Results 1 – 13 of 13) sorted by relevance

/openthread-3.4.0/src/core/api/
Ddns_api.cpp116 uint32_t *aTtl) in otDnsAddressResponseGetAddress() argument
120 …return AsCoreType(aResponse).GetAddress(aIndex, AsCoreType(aAddress), (aTtl != nullptr) ? *aTtl : … in otDnsAddressResponseGetAddress()
168 uint32_t *aTtl) in otDnsBrowseResponseGetHostAddress() argument
174 …(aResponse).GetHostAddress(aHostName, aIndex, AsCoreType(aAddress), aTtl != nullptr ? *aTtl : ttl); in otDnsBrowseResponseGetHostAddress()
226 uint32_t *aTtl) in otDnsServiceResponseGetHostAddress() argument
233 (aTtl != nullptr) ? *aTtl : ttl); in otDnsServiceResponseGetHostAddress()
Dsrp_client_api.cpp83 void otSrpClientSetTtl(otInstance *aInstance, uint32_t aTtl) in otSrpClientSetTtl() argument
85 return AsCoreType(aInstance).Get<Srp::Client>().SetTtl(aTtl); in otSrpClientSetTtl()
/openthread-3.4.0/include/openthread/
Ddns_client.h315 uint32_t *aTtl);
489 uint32_t *aTtl);
676 uint32_t *aTtl);
Dsrp_client.h365 void otSrpClientSetTtl(otInstance *aInstance, uint32_t aTtl);
/openthread-3.4.0/src/core/net/
Ddnssd_server.hpp455 uint32_t aTtl,
460 uint32_t aTtl,
469 uint32_t aTtl,
474 uint32_t aTtl,
Ddns_client.hpp316 uint32_t &aTtl) const;
397 Error GetAddress(uint16_t aIndex, Ip6::Address &aAddress, uint32_t &aTtl) const;
509 …tHostAddress(const char *aHostName, uint16_t aIndex, Ip6::Address &aAddress, uint32_t &aTtl) const;
592 …tHostAddress(const char *aHostName, uint16_t aIndex, Ip6::Address &aAddress, uint32_t &aTtl) const;
Dip4_types.hpp461 void SetTtl(uint8_t aTtl) { mTtl = aTtl; } in SetTtl() argument
Dsrp_server.hpp593 void SetTtl(uint32_t aTtl) { mTtl = aTtl; } in SetTtl() argument
598 Error ProcessTtl(uint32_t aTtl);
651 uint32_t GrantTtl(uint32_t aLease, uint32_t aTtl) const;
Ddns_client.cpp209 uint32_t &aTtl) const in FindHostAddress()
222 aTtl = aaaaRecord.GetTtl(); in FindHostAddress()
413 Error Client::AddressResponse::GetAddress(uint16_t aIndex, Ip6::Address &aAddress, uint32_t &aTtl) … in GetAddress()
442 aTtl = aRecord.GetTtl(); in GetAddress()
449 ExitNow(error = FindHostAddress(kAnswerSection, name, aIndex, aAddress, aTtl)); in GetAddress()
505 uint32_t &aTtl) const in GetHostAddress()
507 return FindHostAddress(kAdditionalDataSection, Name(aHostName), aIndex, aAddress, aTtl); in GetHostAddress()
659 uint32_t &aTtl) const in GetHostAddress()
683 error = response->FindHostAddress(section, Name(aHostName), aIndex, aAddress, aTtl); in GetHostAddress()
Ddnssd_server.cpp371 uint32_t aTtl, in AppendPtrRecord() argument
379 ptrRecord.SetTtl(aTtl); in AppendPtrRecord()
398 uint32_t aTtl, in AppendSrvRecord() argument
409 srvRecord.SetTtl(aTtl); in AppendSrvRecord()
431 uint32_t aTtl, in AppendAaaaRecord() argument
438 aaaaRecord.SetTtl(aTtl); in AppendAaaaRecord()
545 uint32_t aTtl, in AppendTxtRecord() argument
555 txtRecord.SetTtl(aTtl); in AppendTxtRecord()
Dsrp_client.hpp490 void SetTtl(uint32_t aTtl) { mTtl = aTtl; } in SetTtl() argument
Dsrp_server.cpp214 uint32_t Server::TtlConfig::GrantTtl(uint32_t aLease, uint32_t aTtl) const in GrantTtl()
218 return Clamp(Min(aTtl, aLease), mMinTtl, mMaxTtl); in GrantTtl()
1993 Error Server::Host::ProcessTtl(uint32_t aTtl) in ProcessTtl() argument
2003 VerifyOrExit(aTtl && (mTtl == 0 || mTtl == aTtl)); in ProcessTtl()
2005 mTtl = aTtl; in ProcessTtl()
Ddns_types.hpp1323 void SetTtl(uint32_t aTtl) { mTtl = HostSwap32(aTtl); } in SetTtl() argument