Home
last modified time | relevance | path

Searched refs:ttl (Results 1 – 24 of 24) sorted by relevance

/openthread-3.7.0/tests/scripts/thread-cert/backbone/
Dtest_mlr_multicast_routing.py178 self.assertFalse(self.nodes[HOST].ping(MA_scope2, backbone=True, ttl=10))
185 self.assertFalse(self.nodes[HOST].ping(MA_scope3, backbone=True, ttl=10))
192 self.assertTrue(self.nodes[HOST].ping(MA2, backbone=True, ttl=10))
193 self.assertTrue(self.nodes[HOST].ping(MA3, backbone=True, ttl=10))
201 self.assertFalse(self.nodes[HOST].ping(ma, backbone=True, ttl=10))
209 self.assertTrue(self.nodes[HOST].ping(ma, backbone=True, ttl=10))
Dtest_mlr_multicast_routing_commissioner_timeout.py58 self.assertFalse(self.nodes[HOST].ping(MA1, backbone=True, ttl=10))
70 self.nodes[HOST].ping(MA1, backbone=True, ttl=10)
75 self.nodes[HOST].ping(MA1, backbone=True, ttl=10)
80 self.assertFalse(self.nodes[HOST].ping(MA1, backbone=True, ttl=10))
Dtest_mlr_multicast_routing_timeout.py103 self.assertFalse(self.nodes[HOST].ping(MA1, backbone=True, ttl=10))
110 self.assertTrue(self.nodes[HOST].ping(MA1, backbone=True, ttl=10))
119 self.nodes[HOST].ping(MA1, backbone=True, ttl=10)
125 self.assertFalse(self.nodes[HOST].ping(MA1, backbone=True, ttl=10))
Dtest_mlr_multicast_routing_across_thread_pans.py147 self.assertTrue(self.nodes[HOST].ping(MA1, backbone=True, ttl=5))
/openthread-3.7.0/src/core/api/
Ddns_api.cpp138 uint32_t ttl; in otDnsAddressResponseGetAddress() local
140 …rn AsCoreType(aResponse).GetAddress(aIndex, AsCoreType(aAddress), (aTtl != nullptr) ? *aTtl : ttl); in otDnsAddressResponseGetAddress()
190 uint32_t ttl; in otDnsBrowseResponseGetHostAddress() local
194 …(aResponse).GetHostAddress(aHostName, aIndex, AsCoreType(aAddress), aTtl != nullptr ? *aTtl : ttl); in otDnsBrowseResponseGetHostAddress()
248 uint32_t ttl; in otDnsServiceResponseGetHostAddress() local
253 (aTtl != nullptr) ? *aTtl : ttl); in otDnsServiceResponseGetHostAddress()
/openthread-3.7.0/tests/scripts/thread-cert/border_router/
Dtest_firewall.py111 … def host_ping_ether(dest, interface, ttl=10, add_interface=False, add_route=False, gateway=None): argument
119 result = host.ping_ether(dest, ttl=ttl, interface=interface)
176 self.assertTrue(host_ping_ether(MA1, ttl=10,
180 … self.assertFalse(host_ping_ether(MA1, ttl=10, interface=router1.get_rloc(), add_interface=True))
185 ttl=10,
190 … self.assertFalse(host_ping_ether(MA1, ttl=10, interface=router1.get_mleid(), add_interface=True))
Dtest_manual_maddress.py94 …host.ping(MA1, backbone=True, ttl=10, interface=host.get_ip6_address(config.ADDRESS_TYPE.ONLINK_UL…
/openthread-3.7.0/tests/scripts/thread-cert/border_router/MATN/
DMATN_02_MLRFirstUse.py122 …host.ping(MA1, backbone=True, ttl=10, interface=host.get_ip6_address(config.ADDRESS_TYPE.ONLINK_UL…
128 …host.ping(MA2, backbone=True, ttl=10, interface=host.get_ip6_address(config.ADDRESS_TYPE.ONLINK_UL…
134 …host.ping(MA1g, backbone=True, ttl=10, interface=host.get_ip6_address(config.ADDRESS_TYPE.ONLINK_U…
139 …assertTrue(host.ping(br2.get_ip6_address(config.ADDRESS_TYPE.BACKBONE_GUA), backbone=True, ttl=10))
DMATN_04_MulticastListenerTimeout.py119 …host.ping(MA1, backbone=True, ttl=10, interface=host.get_ip6_address(config.ADDRESS_TYPE.ONLINK_UL…
131 …host.ping(MA1, backbone=True, ttl=10, interface=host.get_ip6_address(config.ADDRESS_TYPE.ONLINK_UL…
140 …host.ping(MA1, backbone=True, ttl=10, interface=host.get_ip6_address(config.ADDRESS_TYPE.ONLINK_UL…
DMATN_03_InvalidCommissionerDeregistration.py114 …host.ping(MA1, backbone=True, ttl=10, interface=host.get_ip6_address(config.ADDRESS_TYPE.ONLINK_UL…
122 …host.ping(MA1, backbone=True, ttl=10, interface=host.get_ip6_address(config.ADDRESS_TYPE.ONLINK_UL…
DMATN_16_LargeNumberOfMulticastGroupSubscriptionsToBBR.py118 ttl=64,
125 …host.ping(MA2, backbone=True, ttl=64, interface=host.get_ip6_address(config.ADDRESS_TYPE.ONLINK_UL…
DMATN_05_ReregistrationToSameMulticastGroup.py120 …host.ping(MA1, backbone=True, ttl=10, interface=host.get_ip6_address(config.ADDRESS_TYPE.ONLINK_UL…
139 …host.ping(MA1, backbone=True, ttl=10, interface=host.get_ip6_address(config.ADDRESS_TYPE.ONLINK_UL…
DMATN_12_HopLimitProcessing.py109 ttl=59,
119 ttl=1,
/openthread-3.7.0/tests/scripts/thread-cert/
Dtest_srp_ttl.py135 def check_ttl(self, ttl): argument
148 self.assertEqual(int(server_service['ttl']), ttl)
Dnode.py1378 def srp_client_set_ttl(self, ttl: int):
3370 ttl = [int(item.split('TTL:')[1]) for item in addrs[1::2]]
3372 return list(zip(ip, ttl))
3743 …def ping_ether(self, ipaddr, num_responses=1, size=None, timeout=5, ttl=None, interface='eth0') ->… argument
3749 if ttl is not None:
/openthread-3.7.0/src/cli/
DREADME_SRP_CLIENT.md18 - [ttl](#ttl)
40 ttl
438 ### ttl subsection
440 Usage: `srp client ttl [value]`
445 > srp client ttl
454 > srp client ttl 3600
Dcli_dns.cpp522 uint32_t ttl; in HandleDnsAddressResponse() local
532 while (otDnsAddressResponseGetAddress(aResponse, index, &address, &ttl) == OT_ERROR_NONE) in HandleDnsAddressResponse()
535 OutputFormat(" TTL:%lu ", ToUlong(ttl)); in HandleDnsAddressResponse()
DREADME_SRP_SERVER.md204 ttl: 7200
216 ttl: 3600
Dcli_mdns.cpp243 uint32_t ttl; in ProcessRegisterHost() local
251 else if (aArgs->ParseAsUint32(ttl) == OT_ERROR_NONE) in ProcessRegisterHost()
253 host.mTtl = ttl; in ProcessRegisterHost()
DREADME_SRP.md134 ttl: 7200
/openthread-3.7.0/src/core/net/
Ddnssd_server.cpp510 uint32_t ttl = TimeMilli::MsecToSec(aService.GetExpireTime() - TimerMilli::GetNow()); in AppendSrvRecord() local
512 …return AppendSrvRecord(aService.GetHost().GetFullName(), ttl, aService.GetPriority(), aService.Get… in AppendSrvRecord()
564 uint32_t ttl; in AppendHostAddresses() local
567 ttl = TimeMilli::MsecToSec(aHost.GetExpireTime() - TimerMilli::GetNow()); in AppendHostAddresses()
569 return AppendHostAddresses(addrs, addrsLength, ttl); in AppendHostAddresses()
743 … uint32_t ttl = TimeMilli::MsecToSec(service.GetExpireTime() - TimerMilli::GetNow()); in ResolveBySrp() local
745 SuccessOrExit(error = AppendPtrRecord(service.GetInstanceLabel(), ttl)); in ResolveBySrp()
Dmdns.cpp1796 uint32_t ttl = DetermineTtl(aService.mTtl, kDefaultTtl); in Register() local
1813 uint32_t subTypeTtl = subType.IsContainedIn(aService) ? ttl : 0; in Register()
1831 newSubType->mPtrRecord.UpdateTtl(ttl); in Register()
1837 mPtrRecord.UpdateTtl(ttl); in Register()
1841 mSrvRecord.UpdateTtl(ttl); in Register()
1849 mTxtRecord.UpdateTtl(ttl); in Register()
2014 uint32_t ttl; in ShouldSuppressKnownAnswer() local
2018 ttl = mPtrRecord.GetTtl(); in ShouldSuppressKnownAnswer()
2025 ttl = subType->mPtrRecord.GetTtl(); in ShouldSuppressKnownAnswer()
2028 shouldSuppress = (aTtl > ttl / 2); in ShouldSuppressKnownAnswer()
/openthread-3.7.0/tests/unit/
Dtest_dns_client.cpp458 uint32_t ttl; in ServiceCallback() local
461 sResolveServiceInfo.mHostAddresses[index], ttl); in ServiceCallback()
/openthread-3.7.0/tools/otci/otci/
Dotci.py871 'ttl': ttl,
872 } for ip, ttl in zip(ips, ttls)]