Home
last modified time | relevance | path

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

/openthread-latest/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-latest/src/core/api/
Ddns_api.cpp136 uint32_t ttl; in otDnsAddressResponseGetAddress() local
138 …rn AsCoreType(aResponse).GetAddress(aIndex, AsCoreType(aAddress), (aTtl != nullptr) ? *aTtl : ttl); in otDnsAddressResponseGetAddress()
188 uint32_t ttl; in otDnsBrowseResponseGetHostAddress() local
192 …(aResponse).GetHostAddress(aHostName, aIndex, AsCoreType(aAddress), aTtl != nullptr ? *aTtl : ttl); in otDnsBrowseResponseGetHostAddress()
246 uint32_t ttl; in otDnsServiceResponseGetHostAddress() local
251 (aTtl != nullptr) ? *aTtl : ttl); in otDnsServiceResponseGetHostAddress()
/openthread-latest/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-latest/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-latest/tests/scripts/thread-cert/
Dtest_srp_ttl.py136 def check_ttl(self, ttl): argument
149 self.assertEqual(int(server_service['ttl']), ttl)
Dnode.py1400 def srp_client_set_ttl(self, ttl: int):
3479 ttl = [int(item.split('TTL:')[1]) for item in addrs[1::2]]
3481 return list(zip(ip, ttl))
3860 …def ping_ether(self, ipaddr, num_responses=1, size=None, timeout=5, ttl=None, interface='eth0') ->… argument
3866 if ttl is not None:
/openthread-latest/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.cpp529 uint32_t ttl; in HandleDnsAddressResponse() local
539 while (otDnsAddressResponseGetAddress(aResponse, index, &address, &ttl) == OT_ERROR_NONE) in HandleDnsAddressResponse()
542 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-latest/tests/unit/
Dtest_dns_client.cpp394 uint32_t ttl; in AddressCallback() local
398 error = response.GetAddress(index, sAddressInfo.mHostAddresses[index], ttl); in AddressCallback()
408 …) %s ttl:%lu", index + 1, sAddressInfo.mHostAddresses[index].ToString().AsCString(), ToUlong(ttl)); in AddressCallback()
519 uint32_t ttl; in ServiceCallback() local
522 sResolveServiceInfo.mHostAddresses[index], ttl); in ServiceCallback()
Dtest_dnssd_discovery_proxy.cpp404 uint32_t ttl; in ServiceCallback() local
407 sResolveServiceInfo.mHostAddresses[index], ttl); in ServiceCallback()
466 uint32_t ttl; in AddressCallback() local
/openthread-latest/src/core/net/
Ddnssd_server.cpp516 uint32_t ttl = TimeMilli::MsecToSec(aService.GetExpireTime() - TimerMilli::GetNow()); in AppendSrvRecord() local
518 …return AppendSrvRecord(aService.GetHost().GetFullName(), ttl, aService.GetPriority(), aService.Get… in AppendSrvRecord()
570 uint32_t ttl; in AppendHostAddresses() local
573 ttl = TimeMilli::MsecToSec(aHost.GetExpireTime() - TimerMilli::GetNow()); in AppendHostAddresses()
575 return AppendHostAddresses(kIp6AddrType, addrs, addrsLength, ttl); in AppendHostAddresses()
801 … uint32_t ttl = TimeMilli::MsecToSec(service.GetExpireTime() - TimerMilli::GetNow()); in ResolveBySrp() local
803 SuccessOrExit(error = AppendPtrRecord(service.GetInstanceLabel(), ttl)); in ResolveBySrp()
Dmdns.cpp1935 uint32_t ttl = DetermineTtl(aService.mTtl, kDefaultTtl); in Register() local
1952 uint32_t subTypeTtl = subType.IsContainedIn(aService) ? ttl : 0; in Register()
1970 newSubType->mPtrRecord.UpdateTtl(ttl); in Register()
1976 mPtrRecord.UpdateTtl(ttl); in Register()
1980 mSrvRecord.UpdateTtl(ttl); in Register()
1988 mTxtRecord.UpdateTtl(ttl); in Register()
2153 uint32_t ttl; in ShouldSuppressKnownAnswer() local
2157 ttl = mPtrRecord.GetTtl(); in ShouldSuppressKnownAnswer()
2164 ttl = subType->mPtrRecord.GetTtl(); in ShouldSuppressKnownAnswer()
2167 shouldSuppress = (aTtl > ttl / 2); in ShouldSuppressKnownAnswer()
/openthread-latest/tools/otci/otci/
Dotci.py902 'ttl': ttl,
903 } for ip, ttl in zip(ips, ttls)]