/openthread-latest/tests/scripts/thread-cert/backbone/ |
D | test_mlr_multicast_routing.py | 178 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))
|
D | test_mlr_multicast_routing_commissioner_timeout.py | 58 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))
|
D | test_mlr_multicast_routing_timeout.py | 103 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))
|
D | test_mlr_multicast_routing_across_thread_pans.py | 147 self.assertTrue(self.nodes[HOST].ping(MA1, backbone=True, ttl=5))
|
/openthread-latest/src/core/api/ |
D | dns_api.cpp | 136 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/ |
D | test_firewall.py | 111 … 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))
|
D | test_manual_maddress.py | 94 …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/ |
D | MATN_02_MLRFirstUse.py | 122 …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))
|
D | MATN_04_MulticastListenerTimeout.py | 119 …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…
|
D | MATN_03_InvalidCommissionerDeregistration.py | 114 …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…
|
D | MATN_16_LargeNumberOfMulticastGroupSubscriptionsToBBR.py | 118 ttl=64, 125 …host.ping(MA2, backbone=True, ttl=64, interface=host.get_ip6_address(config.ADDRESS_TYPE.ONLINK_UL…
|
D | MATN_05_ReregistrationToSameMulticastGroup.py | 120 …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…
|
D | MATN_12_HopLimitProcessing.py | 109 ttl=59, 119 ttl=1,
|
/openthread-latest/tests/scripts/thread-cert/ |
D | test_srp_ttl.py | 136 def check_ttl(self, ttl): argument 149 self.assertEqual(int(server_service['ttl']), ttl)
|
D | node.py | 1400 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/ |
D | README_SRP_CLIENT.md | 18 - [ttl](#ttl) 40 ttl 438 ### ttl subsection 440 Usage: `srp client ttl [value]` 445 > srp client ttl 454 > srp client ttl 3600
|
D | cli_dns.cpp | 529 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()
|
D | README_SRP_SERVER.md | 204 ttl: 7200 216 ttl: 3600
|
D | cli_mdns.cpp | 243 uint32_t ttl; in ProcessRegisterHost() local 251 else if (aArgs->ParseAsUint32(ttl) == OT_ERROR_NONE) in ProcessRegisterHost() 253 host.mTtl = ttl; in ProcessRegisterHost()
|
D | README_SRP.md | 134 ttl: 7200
|
/openthread-latest/tests/unit/ |
D | test_dns_client.cpp | 394 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()
|
D | test_dnssd_discovery_proxy.cpp | 404 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/ |
D | dnssd_server.cpp | 516 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()
|
D | mdns.cpp | 1935 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/ |
D | otci.py | 902 'ttl': ttl, 903 } for ip, ttl in zip(ips, ttls)]
|