Home
last modified time | relevance | path

Searched refs:route (Results 1 – 22 of 22) sorted by relevance

/openthread-latest/tests/scripts/thread-cert/border_router/
Dtest_external_route.py117 for route in self.get_routes_from_netdata(netdata, br1.get_addr16()):
118 self.assertIn(route, br1_kernel_routes)
120 for route in self.get_routes_from_netdata(netdata, br2.get_addr16()):
121 self.assertIn(route, br2_kernel_routes)
134 for route in self.get_routes_from_netdata(netdata, br1.get_addr16()):
135 self.assertIn(route, br1_kernel_routes)
137 for route in self.get_routes_from_netdata(netdata, br2.get_addr16()):
138 self.assertIn(route, br2_kernel_routes)
Dtest_firewall.py114 route = str(ipaddress.IPv6Network(f'{interface}/64', strict=False))
/openthread-latest/src/core/thread/
Dnetwork_data.cpp345 ExternalRouteConfig route; in ContainsExternalRoute() local
347 while (GetNextExternalRoute(iterator, aRoute.mRloc16, route) == kErrorNone) in ContainsExternalRoute()
349 if (route == aRoute) in ContainsExternalRoute()
386 ExternalRouteConfig route; in ContainsEntriesFrom() local
390 config.mExternalRoute = &route; in ContainsEntriesFrom()
502 ExternalRouteConfig route; in FindRlocs() local
511 config.mExternalRoute = &route; in FindRlocs()
537 AddRloc16ToRlocs(route.mRloc16, aRlocs, aRoleFilter); in FindRlocs()
/openthread-latest/src/cli/
DREADME_NETDATA.md245 …t the number of similar Service and/or Prefix (on-mesh prefix or external route) entries in the Th…
294 ### publish route \<prefix\> [sn][prf]
296 Publish an external route entry.
304 > netdata publish route fd00:1234:5678::/64 s high
310 Replace a previously published external route entry.
312route matching old prefix, this command behaves similarly to `netdata publish route`. If there is …
361 - The route prefix
367 - RLOC16 of device which added the route prefix
487 Unpublishes a previously published on-mesh prefix or external route entry.
DREADME_BR.md236 - It has added at least one external route entry.
237 - It has added at least one prefix entry with both the default-route and on-mesh flags set.
277 - Whether the prefix is on-link or route
281 - Route preference (low, med, high) only if prefix is route (not on-link)
290 prefix:fd00:1234:5678:0::/64, on-link:no, ms-since-rx:29526, lifetime:1800, route-prf:med, router:f…
355 … Data. This may be the automatically determined route preference, or an administratively set fixed…
367 …n Thread Network Data. Setting a preference value overrides the automatic route preference determi…
378 … in Thread Network Data. When cleared BR will automatically determine the route preference based o…
Dcli_network_data.cpp571 otExternalRouteConfig route; in OutputNetworkData() local
589 while (GetNextRoute(&iterator, &route, aLocal) == OT_ERROR_NONE) in OutputNetworkData()
591 if ((aRloc16 == kAnyRloc16) || (aRloc16 == route.mRloc16)) in OutputNetworkData()
593 OutputRoute(route); in OutputNetworkData()
DREADME_HISTORY.md19 - [route](#route)
59 route
303 ### route subsection
305 Usage `history route [list] [<num-entries>]`
307 Print the Network Data external route history. Each item provides:
323 history route
336 > history route list 2
337 00:00:48.704 -> event:Removed route:fd00:1111:0::/48 flags:s pref:med rloc16:0x3c00
338 00:01:12.558 -> event:Added route:fd00:1111:0::/48 flags:s pref:med rloc16:0x3c00
346 Print the route table history. Each item provides:
DREADME.md109 - [route](#route)
3363 ### route subsection
3365 Get the external route list in the local Network Data.
3368 > route
3373 ### route add \<prefix\> [sna][prf]
3375 Add a valid external route to the Network Data.
3383 > route add 2001:dead:beef:cafe::/64 s med
3387 ### route remove \<prefix\>
3389 Invalidate a external route in the Network Data.
3392 > route remove 2001:dead:beef:cafe::/64
/openthread-latest/src/core/utils/
Dhistory_tracker.cpp361 NetworkData::ExternalRouteConfig route; in RecordNetworkDataChange() local
389 while (mPreviousNetworkData.GetNextExternalRoute(iterator, route) == kErrorNone) in RecordNetworkDataChange()
391 if (!Get<NetworkData::Leader>().ContainsExternalRoute(route)) in RecordNetworkDataChange()
393 RecordExternalRouteEvent(kNetDataEntryRemoved, route); in RecordNetworkDataChange()
399 while (Get<NetworkData::Leader>().GetNextExternalRoute(iterator, route) == kErrorNone) in RecordNetworkDataChange()
401 if (!mPreviousNetworkData.ContainsExternalRoute(route)) in RecordNetworkDataChange()
403 RecordExternalRouteEvent(kNetDataEntryAdded, route); in RecordNetworkDataChange()
/openthread-latest/tests/toranj/
Dstart.sh174 run cli/test-007-off-mesh-route-traffic.py
188 run cli/test-021-br-route-prf.py
198 run cli/test-031-service-aloc-route-lookup.py
240 run ncp/test-013-off-mesh-route-traffic.py
262 run ncp/test-036-wpantund-host-route-management.py
263 run ncp/test-037-wpantund-auto-add-route-for-on-mesh-prefix.py
/openthread-latest/tests/toranj/ncp/
Dtest-037-wpantund-auto-add-route-for-on-mesh-prefix.py59 for route in route_list:
61 if (node_route.route_prefix, node_route.prefix_len, node_route.metric) == route:
64 raise wpan.VerifyError('Did not find route {} on node {}'.format(route, node))
Dtest-036-wpantund-host-route-management.py63 for route in route_list:
65 if (node_route.route_prefix, node_route.prefix_len, node_route.metric) == route:
68 raise wpan.VerifyError('Did not find route {} on node {}'.format(route, node))
/openthread-latest/tests/scripts/thread-cert/
Dtest_network_data.py41 def convert_route_to_bytearray(route): argument
42 return struct.pack(">HB", route.border_router_16, ((route.prf & 0x03) << 6))
47 for route in routes:
48 data += convert_route_to_bytearray(route)
292 route = network_data.Route(border_router_16, any_prf())
295 actual_border_router_16 = route.border_router_16
304 route = network_data.Route(any_border_router_16(), prf)
307 actual_prf = route.prf
Dtest_netdata_publisher.py185 prfs = [route.split(' ')[2] for route in routes]
543 self.assertEqual([route.split(' ')[0] == '::/0' for route in routes].count(True), 1)
549 self.assertEqual([route.split(' ')[0] == '::/0' for route in routes].count(True), 0)
Dmle.py312 def __init__(self, output, _input, route): argument
315 self._route = route
326 def route(self): member in LinkQualityAndRouteData
332 … return (self.output == other.output and self.input == other.input and self.route == other.route)
335 …LinkQualityAndRouteData(output={}, input={}, route={})".format(self.output, self.input, self.route)
344 route = lqrd & 0x0F
345 return LinkQualityAndRouteData(output, _input, route)
Dnetwork_data.py128 route = self._route_factory.parse(data, message_info)
130 routes.append(route)
151 routes_str = ", ".join(["{}".format(route) for route in self.routes])
Dtest_mle.py684 route = any_route()
686 lqrd = mle.LinkQualityAndRouteData(any_output(), any_input(), route)
689 actual_route = lqrd.route
692 self.assertEqual(route, actual_route)
709 self.assertEqual(6, actual_lqrd.route)
715 route = any_route()
717 lqrd = (output << 6) | (_input << 4) | route
730 self.assertEqual(route, actual_lqrd.route)
Dnode.py2311 for route in routes:
2312 if 'n' not in route.split(' ')[1]:
2313 nat64_routes.append(route.split(' ')[0])
2319 for route in routes:
2320 if 'n' in route.split(' ')[1]:
2321 nat64_routes.append(route.split(' ')[0])
Dcommand.py264 return tlv.link_quality_and_route_data[routing_entry_pos].route
/openthread-latest/tests/unit/
Dtest_network_data.cpp164 for (const auto &route : routes) in TestNetworkDataIterator() local
168 VerifyOrQuit(CompareExternalRouteConfig(rconfig, route)); in TestNetworkDataIterator()
286 for (const auto &route : routes) in TestNetworkDataIterator() local
290 VerifyOrQuit(CompareExternalRouteConfig(rconfig, route)); in TestNetworkDataIterator()
454 for (const auto &route : routes) in TestNetworkDataIterator() local
458 VerifyOrQuit(CompareExternalRouteConfig(rconfig, route)); in TestNetworkDataIterator()
/openthread-latest/examples/platforms/simulation/
DREADME.md51 route
/openthread-latest/third_party/mbedtls/repo/docs/architecture/psa-migration/
Dmd-cipher-dispatch.md302 …very piece of mixed-domain code to replicate the logic here. We went that route in Mbed TLS 3.3, b…