Home
last modified time | relevance | path

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

12

/openthread-latest/tests/toranj/cli/
Dtest-700-multi-radio-join.py57 parent = cli.Node(cli.RADIO_15_4_TREL) variable
67 verify(parent.multiradio_get_radios() == '[15.4, TREL]')
72 parent.form("multi-radio")
74 c1.join(parent, cli.JOIN_TYPE_END_DEVICE)
75 c2.join(parent, cli.JOIN_TYPE_END_DEVICE)
76 c3.join(parent, cli.JOIN_TYPE_END_DEVICE)
86 neighbor_radios = parent.multiradio_get_neighbor_list()
110 del parent
111 parent = cli.Node(cli.RADIO_15_4_TREL, index=1) variable
112 parent.interface_up()
[all …]
Dtest-016-child-mode-change.py50 parent = cli.Node() variable
57 parent.form('modechange')
58 child1.join(parent, cli.JOIN_TYPE_END_DEVICE)
59 child2.join(parent, cli.JOIN_TYPE_SLEEPY_END_DEVICE)
61 verify(parent.get_state() == 'leader')
74 verify(parent.get_mode() == 'rdn')
78 child_table = parent.get_child_table()
101 child_table = parent.get_child_table()
132 child_table = parent.get_child_table()
161 child_table = parent.get_child_table()
[all …]
/openthread-latest/tests/scripts/thread-cert/
Dtest_child_supervision.py69 parent = self.nodes[PARENT]
74 parent.start()
76 self.assertEqual(parent.get_state(), 'leader')
87 table = parent.get_child_table()
101 table = parent.get_child_table()
116 table = parent.get_child_table()
128 parent.clear_allowlist()
129 parent.enable_allowlist()
131 table = parent.get_child_table()
135 table = parent.get_child_table()
[all …]
/openthread-latest/tests/toranj/ncp/
Dtest-032-child-attach-with-multiple-ip-addresses.py71 parent = wpan.Node() variable
84 leader.allowlist_node(parent)
85 parent.allowlist_node(leader)
86 parent.join_node(leader, wpan.JOIN_TYPE_ROUTER)
88 parent.allowlist_node(child)
89 child.allowlist_node(parent)
91 child.join_node(parent, node_type=wpan.JOIN_TYPE_SLEEPY_END_DEVICE)
124 parent.remove(wpan.WPAN_MAC_ALLOWLIST_ENTRIES, child.get(wpan.WPAN_EXT_ADDRESS)[1:-1])
142 parent.reset()
146 verify(parent.is_associated())
[all …]
Dtest-027-child-mode-change.py44 def verify_child_table(parent, children): argument
49 child_table = wpan.parse_child_table_result(parent.get(wpan.WPAN_THREAD_CHILD_TABLE))
73 parent = wpan.Node() variable
86 parent.form("ModeChangeReset")
88 child1.join_node(parent, wpan.JOIN_TYPE_END_DEVICE)
89 child2.join_node(parent, wpan.JOIN_TYPE_SLEEPY_END_DEVICE)
108 parent.set(wpan.WPAN_CHILD_SUPERVISION_INTERVAL, '0')
118 verify_child_table(parent, children)
126 parent_ml_address = parent.get(wpan.WPAN_IP6_MESH_LOCAL_ADDRESS)[1:-1]
129 sender = parent.prepare_tx(parent_ml_address, child2_ml_address, 800, NUM_MSGS)
[all …]
Dtest-700-multi-radio-join.py56 parent = wpan.Node(wpan.NODE_15_4_TREL) variable
73 parent_radios = wpan.parse_list(parent.get(wpan.WPAN_OT_SUPPORTED_RADIO_LINKS))
88 parent.form("multi-radio")
90 c1.join_node(parent, wpan.JOIN_TYPE_END_DEVICE)
91 c2.join_node(parent, wpan.JOIN_TYPE_END_DEVICE)
92 c3.join_node(parent, wpan.JOIN_TYPE_END_DEVICE)
96 radio_info_entries = wpan.parse_multi_radio_result(parent.get(wpan.WPAN_OT_NEIGHBOR_TABLE_MULTI_RAD…
116 parent.reset()
120 neighbor_table = wpan.parse_neighbor_table_result(parent.get(wpan.WPAN_THREAD_NEIGHBOR_TABLE))
Dtest-034-poor-link-parent-child-attach.py47 parent = wpan.Node() variable
58 parent.form("network")
62 parent.set(wpan.WPAN_MAC_FILTER_FIXED_RSSI, '-99')
63 parent.add(wpan.WPAN_MAC_FILTER_ENTRIES, child.get(wpan.WPAN_EXT_ADDRESS)[1:-1])
66 child.add(wpan.WPAN_MAC_FILTER_ENTRIES, parent.get(wpan.WPAN_EXT_ADDRESS)[1:-1])
69 child.join_node(parent, node_type=wpan.JOIN_TYPE_END_DEVICE)
Dtest-017-parent-reset-child-recovery.py59 parent = wpan.Node() variable
80 parent.form("recovery")
83 child.join_node(parent, wpan.JOIN_TYPE_SLEEPY_END_DEVICE)
87 child.join_node(parent, wpan.JOIN_TYPE_END_DEVICE)
131 child_table = wpan.parse_list(parent.get(wpan.WPAN_THREAD_CHILD_TABLE))
144 parent.reset()
148 verify(parent.is_associated())
Dtest-035-child-timeout-large-data-poll.py49 parent = wpan.Node() variable
60 parent.form("poll-timeout")
68 child.join_node(parent, node_type=wpan.JOIN_TYPE_SLEEPY_END_DEVICE)
Dtest-029-data-poll-interval.py46 parent = wpan.Node() variable
58 parent.form("poll-interval")
60 child.join_node(parent, wpan.JOIN_TYPE_SLEEPY_END_DEVICE)
/openthread-latest/third_party/mbedtls/repo/library/
Dx509_crt.c2123 mbedtls_x509_crt *parent, in x509_crt_check_signature() argument
2153 if (!mbedtls_pk_can_do(&parent->pk, child->sig_pk)) { in x509_crt_check_signature()
2159 return mbedtls_pk_verify_restartable(&parent->pk, in x509_crt_check_signature()
2167 return mbedtls_pk_verify_ext(child->sig_pk, child->sig_opts, &parent->pk, in x509_crt_check_signature()
2179 const mbedtls_x509_crt *parent, in x509_crt_check_parent() argument
2185 if (x509_name_cmp(&child->issuer, &parent->subject) != 0) { in x509_crt_check_parent()
2193 if (top && parent->version < 3) { in x509_crt_check_parent()
2197 if (need_ca_bit && !parent->ca_istrue) { in x509_crt_check_parent()
2202 mbedtls_x509_crt_check_key_usage(parent, MBEDTLS_X509_KU_KEY_CERT_SIGN) != 0) { in x509_crt_check_parent()
2264 mbedtls_x509_crt *parent, *fallback_parent; in x509_crt_find_parent_in() local
[all …]
/openthread-latest/src/core/backbone_router/
Dmulticast_listeners_table.cpp177 uint16_t parent = (child - 1) / 2; in CheckInvariants() local
179 OT_ASSERT(!(mListeners[child] < mListeners[parent])); in CheckInvariants()
236 uint16_t parent = (index - 1) / 2; in SiftHeapElemUp() local
238 if (index == 0 || !(saveElem < mListeners[parent])) in SiftHeapElemUp()
243 mListeners[index] = mListeners[parent]; in SiftHeapElemUp()
245 index = parent; in SiftHeapElemUp()
/openthread-latest/tests/scripts/thread-cert/pktverify/
Dpacket_verifier.py181 …def verify_attached(self, child: str, parent: str = None, child_type: str = 'FTD', pkts=None) -> V…
196 if parent:
197 assert self.is_thread_device(parent), parent
199 filter_wpan_dst64(self.vars[parent])
204 if parent:
205 dst_pkts = pkts.filter_wpan_src64(self.vars[parent]).\
Dpacket_filter.py74 parent: Optional['PacketFilter'] = None):
84 self._parent = parent
167 parent=self if cascade else None)
304 …return PacketFilter(self._pkts, start, stop, filter_func=self._filter_func, parent=self if cascade…
310 …PacketFilter(self._pkts, self._index, self._stop_index, filter_func=self._filter_func, parent=None)
/openthread-latest/src/core/mac/
Ddata_poll_sender.cpp143 const Neighbor &parent = GetParent(); in GetPollDestinationAddress() local
145 VerifyOrExit(parent.IsStateValidOrRestoring(), error = kErrorAbort); in GetPollDestinationAddress()
149 (&parent == &Get<Mle::MleRouter>().GetParentCandidate())) in GetPollDestinationAddress()
151 aDest.SetExtended(parent.GetExtAddress()); in GetPollDestinationAddress()
155 aDest.SetShort(parent.GetRloc16()); in GetPollDestinationAddress()
159 aRadioType = Get<RadioSelector>().SelectPollFrameRadio(parent); in GetPollDestinationAddress()
/openthread-latest/src/core/thread/
Dkey_manager.cpp237 Router *parent; in ResetFrameCounters() local
240 parent = &Get<Mle::MleRouter>().GetParent(); in ResetFrameCounters()
241 parent->SetKeySequence(0); in ResetFrameCounters()
242 parent->GetLinkFrameCounters().Reset(); in ResetFrameCounters()
243 parent->SetLinkAckFrameCounter(0); in ResetFrameCounters()
244 parent->SetMleFrameCounter(0); in ResetFrameCounters()
Drouter_table.cpp424 const Router &parent = Get<Mle::Mle>().GetParent(); in GetNextHopAndPathCost() local
427 if (parent.IsStateValid()) in GetNextHopAndPathCost()
429 aNextHopRloc16 = parent.GetRloc16(); in GetNextHopAndPathCost()
437 destIsParentOrItsChild = Mle::RouterIdMatch(aDestRloc16, parent.GetRloc16()); in GetNextHopAndPathCost()
441 aPathCost = CostForLinkQuality(parent.GetLinkQualityIn()); in GetNextHopAndPathCost()
/openthread-latest/tests/toranj/
Dstart.sh180 run cli/test-013-address-cache-parent-switch.py
244 run ncp/test-017-parent-reset-child-recovery.py
245 run ncp/test-019-inform-previous-parent.py
260 run ncp/test-034-poor-link-parent-child-attach.py
/openthread-latest/third_party/mbedtls/repo/programs/test/cmake_subproject/
DCMakeLists.txt6 # We use the parent Mbed TLS directory as the MBEDTLS_DIR for this test. Other
/openthread-latest/third_party/mbedtls/repo/scripts/
Dlcov.sh18 3. Run this script from the parent of the directory containing the library
Dabi_check.py386 def _remove_children_with_tag(self, parent, tag): argument
387 children = parent.getchildren()
390 parent.remove(child)
/openthread-latest/src/cli/
DREADME.md91 - [parent](#parent)
792 Get the maximum number of IP addresses that each MTD child may register with this device as parent.
802 Set the maximum number of IP addresses that each MTD child may register with this device as parent.…
834 Child Supervision feature provides a mechanism for parent to ensure that a message is sent to each …
855 …rom its parent within the specified check timeout, it initiates the re-attach process (MLE Child U…
876 …es on the child. It is incremented when the child does not hear from its parent within the specifi…
1213 …Release if acting as a router, or setting Child Timeout value to zero on parent if acting as a chi…
2214 - Whether the router is the parent of this device when device is a child (`parent`)
2225 - Incoming Link Quality from perspective of parent to child (zero indicates unknown)
2307 id:02 rloc16:0x0800 ext-addr:8aa57d2c603fe16c ver:4 - parent - leader - br
[all …]
/openthread-latest/third_party/mbedtls/repo/tests/data_files/
DReadme-x509.txt50 - P1, P2 if the file includes parent (resp. parent + grandparent)
/openthread-latest/third_party/mbedtls/repo/tests/
DCMakeLists.txt7 # the tests folder is included directly by a parent project, without including
166 # from the generated_data_files list in parent scope.
/openthread-latest/third_party/mbedtls/repo/include/mbedtls/
Dx509_crt.h286 mbedtls_x509_crt *MBEDTLS_PRIVATE(parent); /* non-null iff parent_in in progress */

12