Home
last modified time | relevance | path

Searched +full:thread +full:- +full:border +full:- +full:router (Results 1 – 25 of 75) sorted by relevance

123

/openthread-latest/include/openthread/
Dborder_routing.h2 * Copyright (c) 2021-22, The OpenThread Authors.
32 * This file defines the OpenThread Border Routing Manager API.
47 * @addtogroup api-border-routing
50 * This module includes definitions related to Border Routing Manager.
57 …* Border Routing Manager handles bi-directional routing between Thread network and adjacent infras…
59 …* It emits ICMRv6 ND Router Advertisement (RA) messages on AIL to advertise on-link and route pref…
60 …d RA messages from infrastructure and mirrors the discovered prefixes on the Thread Network Data to
61 * ensure devices on Thread mesh can reach AIL through the Border Router.
63 …* Routing Manager manages the Off-Mesh Routable (OMR) prefix on the Thread Network data which conf…
64 …* devices with a suitable Off-Mesh Routable IPv6 address. It announces the reachability of this pr…
[all …]
Dborder_router.h2 * Copyright (c) 2016-2017, The OpenThread Authors.
32 * This file defines the OpenThread Border Router API.
47 * @addtogroup api-border-router
50 * This module includes functions to manage local network data with the OpenThread Border Router.
56 * Provides a full or stable copy of the local Thread Network Data.
67 * Add a border router configuration to the local network data.
70 * @param[in] aConfig A pointer to the border router configuration.
82 * Remove a border router configuration from the local network data.
88 * @retval OT_ERROR_NOT_FOUND Could not find the Border Router entry.
99 …* @param[in,out] aIterator A pointer to the Network Data iterator context. To get the first on-m…
[all …]
Dnetdata.h46 * @addtogroup api-thread-general
56 * Represents a Border Router configuration.
61 …signed int mPreference : 2; ///< A 2-bit signed int preference (`OT_ROUTE_PREFERENCE_*` values).
63 …bool mSlaac : 1; ///< Whether prefix can be used for address auto-configuration (SLA…
64 bool mDhcp : 1; ///< Whether border router is DHCPv6 Agent.
66 bool mDefaultRoute : 1; ///< Whether border router is a default router for prefix.
67 bool mOnMesh : 1; ///< Whether this prefix is considered on-mesh.
69 … bool mNdDns : 1; ///< Whether this border router can supply DNS information via ND.
70 …bool mDp : 1; ///< Whether prefix is a Thread Domain Prefix (added since Thread 1…
71 uint16_t mRloc16; ///< The border router's RLOC16 (value ignored on config add).
[all …]
Dborder_agent.h32 * This file includes functions for the Thread Border Agent role.
45 * @addtogroup api-border-agent
48 * This module includes functions for the Thread Border Agent role.
54 * The length of Border Agent/Router ID in bytes.
79 * Represents a Border Agent Identifier.
83 uint8_t mId[OT_BORDER_AGENT_ID_LENGTH]; ///< Border Agent ID bytes.
87 * Defines the Border Agent state.
91 OT_BORDER_AGENT_STATE_STOPPED = 0, ///< Border agent role is disabled.
92 OT_BORDER_AGENT_STATE_STARTED = 1, ///< Border agent is started.
93 OT_BORDER_AGENT_STATE_ACTIVE = 2, ///< Border agent is connected with external commissioner.
[all …]
/openthread-latest/src/core/thread/
Dnetwork_data_local.hpp31 * This file includes definitions for manipulating local Thread Network Data.
37 #include "openthread-core-config.h"
42 #include "thread/network_data.hpp"
47 * @addtogroup core-netdata-local
50 * This module includes definitions for manipulating local Thread Network Data.
60 * Implements the Thread Network Data contributed by the local device.
79 * Adds a Border Router entry to the Thread Network Data.
83 * @retval kErrorNone Successfully added the Border Router entry.
84 * @retval kErrorNoBufs Insufficient space to add the Border Router entry.
90 * Removes a Border Router entry from the Thread Network Data.
[all …]
Dnetwork_data.hpp31 * This file includes definitions for managing Thread Network Data.
37 #include "openthread-core-config.h"
50 #include "thread/lowpan.hpp"
51 #include "thread/mle_router.hpp"
52 #include "thread/network_data_tlvs.hpp"
53 #include "thread/network_data_types.hpp"
58 * @addtogroup core-netdata
60 * This module includes definitions for generating, processing, and managing Thread Network Data.
64 * @defgroup core-netdata-core Core
65 * @defgroup core-netdata-leader Leader
[all …]
Dnetwork_data_types.hpp2 * Copyright (c) 2016-21, The OpenThread Authors.
37 #include "openthread-core-config.h"
57 * @addtogroup core-netdata-core
83 * Type represents the route preference values as a signed integer (per RFC-4191).
97 …* Represents the border router RLOC role filter used when searching for border routers in the Netw…
103 kRouterRoleOnly, ///< Include devices that act as Thread router.
104 kChildRoleOnly, ///< Include devices that act as Thread child (end-device).
108 …* Represents the entry filter used when searching for RLOC16 of border routers or servers in the N…
110 …* Regarding `kBrProvidingExternalIpConn`, a border router is considered to provide external IP con…
113 * - It has added at least one external route entry.
[all …]
/openthread-latest/src/cli/
DREADME_BR.md1 # OpenThread CLI - Border Router (BR)
7 - [counters](#counters)
8 - [disable](#disable)
9 - [enable](#enable)
10 - [help](#help)
11 - [init](#init)
12 - [nat64prefix](#nat64prefix)
13 - [omrprefix](#omrprefix)
14 - [onlinkprefix](#onlinkprefix)
15 - [pd](#pd)
[all …]
DREADME.md24 - [attachtime](#attachtime)
25 - [ba](#ba)
26 - [bbr](#bbr)
27 - [br](README_BR.md)
28 - [bufferinfo](#bufferinfo)
29 - [ccathreshold](#ccathreshold)
30 - [channel](#channel)
31 - [child](#child-list)
32 - [childip](#childip)
33 - [childmax](#childmax)
[all …]
DREADME_NETDATA.md1 # OpenThread CLI - Network Data
5 Thread Network Data contains information about Border Routers and other servers available in the Th…
7 Border Routers may register prefixes assigned to the Thread Network and prefixes that they offer ro…
9 Border Router and service information may be stable or temporary. Stable Thread Network Data is dis…
27 Network Name: OpenThread-8f28
34 2. Commit new dataset to the Active Operational Dataset in non-volatile storage.
41 3. Enable Thread interface
46 > thread start
50 4. Observe IPv6 addresses assigned to the Thread interface.
61 5. Register an IPv6 prefix assigned to the Thread network.
[all …]
/openthread-latest/doc/
Dot_api_doc.h42 * @defgroup api-error Error
44 * @defgroup api-execution Execution
48 * @defgroup api-instance Instance
49 * @defgroup api-tasklets Tasklets
53 * @defgroup api-net IPv6 Networking
56 * @defgroup api-ble-secure BLE Secure
57 * @defgroup api-dns DNS
58 * @defgroup api-dnssd-server DNS-SD Server
59 * @defgroup api-icmp6 ICMPv6
60 * @defgroup api-ip6 IPv6
[all …]
Dot_config_doc.h42 * @defgroup config-announce-sender Announce Sender
43 * @defgroup config-backbone-router Backbone Router Services
44 * @defgroup config-border-agent Border Agent
45 * @defgroup config-border-router Border Router
46 * @defgroup config-border-routing Border Routing Manager
47 * @defgroup config-channel-manager Channel Manager
48 * @defgroup config-channel-monitor Channel Monitor
49 * @defgroup config-child-supervision Child Supervision
50 * @defgroup config-coap CoAP
51 * @defgroup config-commissioner Commissioner
[all …]
/openthread-latest/src/core/config/
Dborder_router.h31 * This file includes compile-time configurations for Border Router services.
38 * @addtogroup config-border-router
41 * This module includes configuration variables for Border Router services.
51 * Define to 1 to enable Border Router support.
60 …* Define to 1 to enable mechanism on a Border Router which provides IP connectivity to request rou…
65 …* A Border Router is considered to provide external IP connectivity if at least one of the below c…
67 * - It has added at least one external route entry.
68 * - It has added at least one prefix entry with default-route and on-mesh flags set.
69 * - It has added at least one domain prefix (domain and on-mesh flags set).
71 …* A Border Router which provides IP connectivity and is acting as a REED is eligible to request a
[all …]
Dborder_routing.h2 * Copyright (c) 2021-22, The OpenThread Authors.
31 * This file includes compile-time configurations for Border Routing Manager.
38 * @addtogroup config-border-routing
41 * This module includes configuration variables for Border Routing Manager.
49 * Define to 1 to enable Border Routing Manager feature.
61 * discovered routers and the advertised on-link prefixes on infra link.
63 * When disabled pre-allocated pools are used instead where max number of entries are specified by
73 …o 1 to allow the Routing Manager to track information (e.g., advertised prefixes) about peer Thread
74 * Border Routers that are connected to the same Thread network.
77 …* Router Advertisements of peer BRs. These entries are disregarded in decision-making (e.g., selec…
[all …]
Dbackbone_router.h31 * This file includes compile-time configurations for Backbone Router services.
38 * @addtogroup config-backbone-router
41 * This module includes configuration variables for Backbone Router services.
49 * Define to 1 to enable Backbone Router support.
58 * Define to 1 to enable Backbone Router ND Proxying for Thread 1.2 DUA feature.
59 * It's turned on by default for Thread 1.2 Backbone Router.
73 * Define to 1 to enable Backbone Router Multicast Routing for Thread 1.2 MLR feature.
74 * It's turned on by default for Thread 1.2 Backbone Router.
96 * This setting configures the maximum number of Multicast Listeners on a Backbone Router.
98 …* Note: According to Thread Conformance v1.2.0, a Thread Border Router MUST be able to hold a Mult…
[all …]
/openthread-latest/.github/workflows/
Dotbr.yml29 name: Border Router
33 branches-ignore:
34 - 'dependabot/**'
37 - 'main'
40 …group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'opent…
41 cancel-in-progress: true
48 backbone-router:
49 runs-on: ubuntu-22.04
60 # The Border Routing and DUA feature can coexist, but current wireshark
65 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
[all …]
/openthread-latest/etc/gn/
Dopenthread.gni40 # OpenThread project-specific core config header
43 # OpenThread platform-specific config check header
69 # Thread version: 1.1, 1.2
81 # Enable backbone router functionality
87 # Enable border agent support
90 # Enable border agent ID
93 # Enable border router support
96 # Enable border routing support
135 # Enable DNS-SD server support
141 # Enable Domain Unicast Address feature for Thread 1.2
[all …]
/openthread-latest/tests/scripts/thread-cert/border_router/
DREADME.md1 # OpenThread Border Router Tests
3 ## Run Border Router (BR) tests locally
14 git clean -xfd
17 LOCAL_OTBR_DIR=$HOME/ot-br-posix ./script/test build_otbr_docker
23 TEST_CASE=./tests/scripts/thread-cert/border_router/test_advertising_proxy.py
Dtest_on_link_prefix.py37 # This test verifies on-link prefix configuration.
40 # -------------(eth)----------------------------
46 # Thread Net1 Thread Net2
120 self.assertEqual('router', router1.get_state())
136 # Force kill the radvd host so that BR2 will start advertising its own on-link prefix.
145 self.assertEqual('router', router2.get_state())
165 # Verify that the Border Routers starts advertising new on-link prefix
166 # but don't remove the external routes for the radvd on-link prefix
180 # and preferred Border Router on-link prefix can be reached by Thread
181 # devices in network of Border Router 1.
/openthread-latest/tests/scripts/thread-cert/border_router/internet/
Dtest_single_border_router.py42 # This test verifies publishing the local NAT64 prefix in Thread network
44 # It also verifies the outbound connectivity from a Thread device to
48 # ----------------(eth)--------------------
52 # ROUTER
56 ROUTER = 2 variable
59 # The prefix is set small enough that a random-generated ULA NAT64 prefix is very
60 # likely greater than it. So the BR will remove the random-generated one.
62 # The prefix is set larger than a random-generated ULA NAT64 prefix.
63 # So the BR will remove the random-generated one.
76 'allowlist': [ROUTER],
[all …]
/openthread-latest/tools/harness-thci/
DOpenThread.py29 >> Thread Host Controller Interface
88 LOGX = re.compile(r'((\[(-|C|W|N|I|D)\])'
89 … r'|(-+$)' # e.x. ------------------------------------------------------------------------
95 assert LOGX.match('[-]')
101 assert LOGX.match('------------------------------------------------------------------------')
108 logging.basicConfig(level=logging.INFO, format="%(asctime)s - %(levelname)s - %(message)s")
131 _callStackDepth -= 1
196 DOMAIN_NAME = 'Thread'
213 Thread_Device_Role.Router: 'rdn',
214 Thread_Device_Role.SED: '-',
[all …]
DOpenThread_WpanCtl.py29 >> Thread Host Controller Interface
124 retry_times -= 1
127 times -= 1
213 retry_times -= 1
267 retry_times -= 1
288 if (value[0] == '"' and value[-1] == '"') or (value[0] == '[' and value[-1] == ']'):
289 return value[1:-1]
299 segments[i] = '0' * (4 - len(element)) + element
302 segments = segments[:empty] + ['0000'] * (8 - len(segments) + 1) + segments[empty + 1:]
307 """set thread device mode:
[all …]
/openthread-latest/tests/scripts/thread-cert/
DCert_7_1_07_BorderRouterAsLeader.py53 # -----------------------------
56 # Router_1 is configured as Border Router for prefix 2001:db8:1::/64.
57 # Router_2 is configured as Border Router for prefix 2001:db8:1::/64.
62 # -------------
65 # Router_1 - Leader(DUT) - MED
70 # ----------
104 'mode': '-',
122 self.assertEqual(self.nodes[i].get_state(), 'router')
162 self.assertEqual(self.nodes[ROUTER_2].get_state(), 'router')
196 PREFIXES = [Bytes(PREFIX_1[:-5]), Bytes(PREFIX_2[:-5])]
[all …]
DCert_7_1_06_BorderRouterAsLeader.py51 # -----------------------------
54 # Router_1 is configured as Border Router for prefix 2001:db8:1::/64.
55 # Router_2 is configured as Border Router for prefix 2001:db8:1::/64.
60 # -------------
63 # Router_1 - Leader(DUT) - MED
68 # ----------
100 'mode': '-',
122 self.assertEqual(self.nodes[i].get_state(), 'router')
147 self.assertEqual(self.nodes[ROUTER_1].get_state(), 'router')
177 if addr.startswith(Bytes(PREFIX_2001[:-5])):
[all …]
Dtest_br_upgrade_router_role.py39 # This test verifies behavior of Border Routers (which provide IP connectivity) requesting router r…
50 ROUTER = 2 variable
65 ROUTER: {
70 'name': 'br-1',
74 'name': 'br-2',
78 'name': 'br-3',
85 router = self.nodes[ROUTER]
90 #-------------------------------------------------------------------------------------
91 # Set the router upgrade threshold to 2 on all nodes.
93 for node in [leader, router, br1, br2, br3]:
[all …]

123