/openthread-3.7.0/tests/toranj/ncp/ |
D | test-039-address-cache-table-snoop.py | 127 sender = r1.prepare_tx((r1_address, PORT), (PREFIX + "800:" + str(num), PORT), "hi nobody!", 1) variable 129 verify(sender.was_successful) 168 sender = r1.prepare_tx((r1_address, PORT), (PREFIX + "800:" + str(num), PORT), "hi nobody!", 1) variable 170 verify(sender.was_successful) 193 …sender = r1.prepare_tx((r1_address, PORT), (PREFIX + "800:" + str(num), PORT), "hi again nobody!",… variable 195 verify(sender.was_successful) 214 …sender = r2.prepare_tx((PREFIX + "2:" + str(num), PORT), (r1_address, PORT), "hi r1 from r2 (snoop… variable 215 recver = r1.prepare_rx(sender) 217 verify(sender.was_successful) 241 …sender = r1.prepare_tx((r1_address, PORT), (PREFIX + "2:" + str(num), PORT), "hi back r2 from r1",… variable [all …]
|
D | test-021-address-cache-table.py | 143 sender = r1.prepare_tx(r1_address, c2_address, "Hi from r1 to c2") variable 144 recver = c2.prepare_rx(sender) 146 verify(sender.was_successful and recver.was_successful) 150 sender = r1.prepare_tx(r1_address, c3_address, "Hi from r1 to c3") variable 151 recver = c3.prepare_rx(sender) 153 verify(sender.was_successful and recver.was_successful) 222 sender = r1.prepare_tx(r1_address, c2_address, "Hi again c2") variable 223 recver = c2.prepare_rx(sender) 225 verify(sender.was_successful and recver.was_successful) 241 sender = r1.prepare_tx(r1_address, c2_address, "Hi again c2") variable [all …]
|
D | test-013-off-mesh-route-traffic.py | 158 sender = sed2.prepare_tx(src, OFF_MESH_ADDR_1, "Hello Route1") variable 159 recver = r1.prepare_rx(sender) 161 verify(sender.was_successful) 167 sender = r1.prepare_tx(src, OFF_MESH_ADDR_2, "Hello Route2") variable 168 recver = r2.prepare_rx(sender) 170 verify(sender.was_successful) 176 sender = r2.prepare_tx(src, OFF_MESH_ADDR_3, "Hello Route3") variable 177 recver = fed1.prepare_rx(sender) 179 verify(sender.was_successful)
|
D | test-701-multi-radio-probe.py | 126 sender = r1.prepare_tx(r1_ml_address, r2_ml_address, "Hi r2 from r1", 5) variable 127 recver = r2.prepare_rx(sender) 129 verify(sender.was_successful) 145 sender = r1.prepare_tx(r1_ml_address, r2_ml_address, "Hi again r2 from r1", 5) variable 147 verify(sender.was_successful) 162 sender = r1.prepare_tx(r1_ml_address, r2_ml_address, "Hi on 15.4 r2 from r1", 5) variable 163 recver = r2.prepare_rx(sender) 165 verify(sender.was_successful) 183 sender = r1.prepare_tx(r1_ml_address, r2_ml_address, "Probing r2 from r1", 80) variable 184 recver = r2.prepare_rx(sender) [all …]
|
D | test-702-multi-radio-discovery-by-rx.py | 126 sender = r1.prepare_tx(r1_ml_address, r2_ml_address, "Hi r2 from r1", 5) variable 127 recver = r2.prepare_rx(sender) 129 verify(sender.was_successful) 145 sender = r1.prepare_tx(r1_ml_address, r2_ml_address, "Hi again r2 from r1", 5) variable 147 verify(sender.was_successful) 162 sender = r1.prepare_tx(r1_ml_address, r2_ml_address, "Hi on 15.4 r2 from r1", 5) variable 163 recver = r2.prepare_rx(sender) 165 verify(sender.was_successful) 184 sender = r2.prepare_tx(r2_ml_address, r1_ml_address, "Probing r1 from r2", 80) variable 185 recver = r1.prepare_rx(sender) [all …]
|
D | test-703-multi-radio-mesh-header-msg.py | 138 sender = r1.prepare_tx(r1_ml_address, r3_ml_address, MSG_LEN, MSG_COUNT) variable 139 recver = r3.prepare_rx(sender) 143 verify(sender.was_successful) 151 sender = c2.prepare_tx(c2_ml_address, r1_ml_address, MSG_LEN, MSG_COUNT) variable 152 recver = r1.prepare_rx(sender) 156 verify(sender.was_successful) 162 sender = r3.prepare_tx(r3_ml_address, r1_ml_address, MSG_LEN, MSG_COUNT) variable 163 recver = r1.prepare_rx(sender) 167 verify(sender.was_successful)
|
D | test-012-multi-hop-traffic.py | 153 sender = routers[0].prepare_tx(src, dst, msg_length, NUM_MSGS) variable 154 recver = routers[-1].prepare_rx(sender) 156 verify(sender.was_successful) 166 sender = sed_children[-1].prepare_tx(src, dst, msg_length, NUM_MSGS) variable 167 recver = sed_children[0].prepare_rx(sender) 169 verify(sender.was_successful) 179 sender = fed_children[0].prepare_tx(src, dst, msg_length, NUM_MSGS) variable 180 recver = fed_children[-1].prepare_rx(sender) 182 verify(sender.was_successful)
|
D | test-038-clear-address-cache-for-sed.py | 117 sender = r1.prepare_tx(r1_address, c_address, "Hi from r1 to c") variable 118 recver = c.prepare_rx(sender) 120 verify(sender.was_successful and recver.was_successful) 161 sender = r2.prepare_tx(r2_address, c_address, "Hi from r2 to c") variable 162 recver = c.prepare_rx(sender) 164 verify(sender.was_successful and recver.was_successful) 197 sender = r1.prepare_tx(r1_address, c_address, "Hi from r1 to c") variable 198 recver = c.prepare_rx(sender) 200 verify(sender.was_successful and recver.was_successful)
|
D | test-009-insecure-traffic-join.py | 78 sender = node2.prepare_tx(ll2, (ll1, insecure_port), "Hi (insecure)", NUM_MSGS) variable 79 recver = node1.prepare_rx(sender) 81 verify(sender.was_successful) 106 sender = node2.prepare_tx(ll2, (ll1, insecure_port), "Hi (now secure)", NUM_MSGS) variable 107 recver = node1.prepare_rx(sender) 109 verify(sender.was_successful)
|
D | test-023-multicast-traffic.py | 77 sender = src_node.prepare_tx(src_addr, mcast_addr, msg_len, mcast_hops=mcast_hops) 78 recvers = [node.prepare_rx(sender) for node in recving_nodes] 79 listeners = [node.prepare_listener(sender.dst_port, timeout=0.5) for node in non_recving_nodes] 83 verify(sender.was_successful) 90 … all([msg[1][0] != sender.src_addr and msg[1][1] != sender.src_port for msg in lsnr.all_rx_msg]))
|
D | test-041-lowpan-fragmentation.py | 74 sender = node1.prepare_tx((ll1, PORT), (ll2, PORT), msg_length) variable 75 recver = node2.prepare_rx(sender) 79 verify(sender.was_successful)
|
D | test-006-traffic-router-end-device.py | 83 sender = node1.prepare_tx(src, dst, msg_length, NUM_MSGS) variable 84 recver = node2.prepare_rx(sender) 88 verify(sender.was_successful)
|
D | test-007-traffic-router-sleepy.py | 88 sender = node1.prepare_tx(src, dst, msg_length, NUM_MSGS) variable 89 recver = node2.prepare_rx(sender) 93 verify(sender.was_successful)
|
D | test-026-slaac-address-wpantund.py | 252 sender = r2.prepare_tx(IP_ADDRESS_2, IP_ADDRESS, "Hello r1 from r2") variable 253 recver = r1.prepare_rx(sender) 255 verify(sender.was_successful)
|
D | test-027-child-mode-change.py | 129 sender = parent.prepare_tx(parent_ml_address, child2_ml_address, 800, NUM_MSGS) variable 133 verify(sender.was_successful)
|
D | wpan.py | 730 def prepare_rx(self, sender): argument 732 receiver = self._get_receiver(sender.dst_port) 733 receiver._add_sender(sender.src_addr, sender.src_port, sender.msg, sender.count) 950 return len(self._senders) == 0 or all([sender._did_recv_all() for sender in self._senders]) 989 if all([sender._check_received(msg, src_addr, src_port) for sender in self._senders]):
|
/openthread-3.7.0/tests/scripts/thread-cert/ |
D | mcast6.py | 80 sender(ifname, group) 85 def sender(ifname, group): function 127 data, sender = s.recvfrom(1500) 130 print(str(sender) + ' ' + repr(data))
|
/openthread-3.7.0/tests/toranj/ |
D | README_NCP.md | 235 `prepare_tx` returns a `wpan.AsyncSender` object. The sender object can be used to check success/fa… 237 `wpan.Node` method `prepare_rx()` prepares a node to listen for UDP messages from a sender. 240 node2.prepare_rx(sender) 243 - `sender` should be an `wpan.AsyncSender` object returned from previous `prepare_tx`. 270 # prepare a `sender` and corresponding `recver` 271 >>> sender = node1.prepare_tx((mladdr1, 1234), (mladdr2, 2345), "Hello there!", 10) 272 >>> recver = node2.prepare_rx(sender) 277 # check status of `sender` and `recver` 278 >>> sender.was_successful 283 # `sender` or `recver` can provide info about the exchange [all …]
|
/openthread-3.7.0/etc/gn/ |
D | openthread.gni | 216 # Enable ping sender support
|
/openthread-3.7.0/etc/cmake/ |
D | options.cmake | 233 ot_option(OT_PING_SENDER OPENTHREAD_CONFIG_PING_SENDER_ENABLE "ping sender" ${OT_APP_CLI})
|
/openthread-3.7.0/third_party/mbedtls/repo/library/ |
D | ssl_tls.c | 8328 const char *sender; in ssl_calc_finished_tls_generic() local 8346 sender = (from == MBEDTLS_SSL_IS_CLIENT) in ssl_calc_finished_tls_generic() 8388 ssl->handshake->tls_prf(session->master, 48, sender, in ssl_calc_finished_tls_generic()
|