Home
last modified time | relevance | path

Searched refs:src_addr (Results 1 – 7 of 7) sorted by relevance

/openthread-3.4.0/tests/toranj/ncp/
Dwpan.py691 src_addr = src[0]
694 src_addr = src
711 return AsyncSender(self, src_addr, src_port, dst_addr, dst_port, msg, count, mcast_hops)
733 receiver._add_sender(sender.src_addr, sender.src_port, sender.msg, sender.count)
780 def __init__(self, node, src_addr, src_port, dst_addr, dst_port, msg, count, mcast_hops=None): argument
782 self._src_addr = src_addr
802 if _is_ipv6_addr_link_local(src_addr):
805 src_sock_addr = _create_socket_address(src_addr + '%' + node.interface_name, src_port)
807 src_sock_addr = _create_socket_address(src_addr, src_port)
819 def src_addr(self): member in AsyncSender
[all …]
Dtest-023-multicast-traffic.py65 src_addr, argument
77 sender = src_node.prepare_tx(src_addr, mcast_addr, msg_len, mcast_hops=mcast_hops)
90 … all([msg[1][0] != sender.src_addr and msg[1][1] != sender.src_port for msg in lsnr.all_rx_msg]))
/openthread-3.4.0/tests/scripts/thread-cert/pktverify/
Dpacket_filter.py503 def filter_wpan_src16_dst16(self, src_addr, dst_addr, **kwargs): argument
504 … return self.filter(lambda p: p.wpan.src16 == src_addr and p.wpan.dst16 == dst_addr, **kwargs)
550 def filter_ipv6_src_dst(self, src_addr, dst_addr, **kwargs): argument
551 assert isinstance(src_addr, (str, Ipv6Addr))
553 return self.filter(lambda p: p.ipv6.src == src_addr and p.ipv6.dst == dst_addr, **kwargs)
/openthread-3.4.0/tests/scripts/thread-cert/
Dtest_lowpan.py2517 src_addr = any_src_addr()
2525 …_src_addr = factory._decompress_src_addr(iphc, any_src_mac_addr(), any_sci(), io.BytesIO(src_addr))
2530 self.assertEqual(bytes(src_addr), actual_src_addr)
2614 src_addr = any_src_addr()
2622 …_src_addr = factory._decompress_src_addr(iphc, any_src_mac_addr(), any_sci(), io.BytesIO(src_addr))
2647 src_addr = self._merge_prefix_and_address(context.prefix, context.prefix_length, eui64)
2655 self.assertEqual(src_addr, actual_src_addr)
2677 src_addr = self._merge_prefix_and_address(context.prefix, context.prefix_length, iid)
2685 self.assertEqual(src_addr, actual_src_addr)
2707 src_addr = self._merge_prefix_and_address(context.prefix, context.prefix_length, iid)
[all …]
Dlowpan.py574 src_addr = prefix[:prefix_length_full_bytes]
584 src_addr += bytearray([overlapping_byte])
588 src_addr += address_bytes[-required_bytes:]
594src_addr = (prefix[:prefix_length_all_bytes] + bytearray([0x00] * required_bytes) + address_bytes)
596 return src_addr
Dipv6.py328 src_addr = bytearray(data.read(16))
332 src_addr,
/openthread-3.4.0/tests/toranj/
DREADME_NCP.md285 >>> sender.src_addr