Home
last modified time | relevance | path

Searched refs:ipv6_address (Results 1 – 5 of 5) sorted by relevance

/openthread-3.4.0/tests/scripts/thread-cert/
Dtest_mle.py1349 ipv6_address = any_ipv6_address()
1351 addr_reg_full_obj = mle.AddressFull(ipv6_address)
1354 actual_ipv6_address = addr_reg_full_obj.ipv6_address
1357 self.assertEqual(ipv6_address, actual_ipv6_address)
1364 ipv6_address = any_ipv6_address()
1368 data = bytearray([0x00]) + bytearray(ipv6_address)
1375 self.assertEqual(ipv6_address, actual_addr_reg_full.ipv6_address)
1446 ipv6_address = any_ipv6_address()
1448 addresses = [mle.AddressCompressed(cid, iid), mle.AddressFull(ipv6_address)]
1452 data = bytearray([(1 << 7) | cid]) + iid + bytearray([0]) + ipv6_address
[all …]
Dmle.py783 def __init__(self, ipv6_address): argument
784 self._ipv6_address = ipv6_address
787 def ipv6_address(self): member in AddressFull
793 return self.ipv6_address == other.ipv6_address
796 return "AddressFull(ipv6_address={}')".format(hexlify(self.ipv6_address))
803 ipv6_address = data.read(16)
804 return AddressFull(ipv6_address)
Dmessage.py336 def assertSentToDestinationAddress(self, ipv6_address): argument
337 … assert (self.ipv6_packet.ipv6_header.destination_address == ipaddress.ip_address(ipv6_address))
339 def assertSentFromSourceAddress(self, ipv6_address): argument
340 assert (self.ipv6_packet.ipv6_header.source_address == ipaddress.ip_address(ipv6_address))
Dcommand.py547 if isinstance(item, mle.AddressFull) and ipaddress.ip_address(item.ipv6_address) == addr:
Dnode.py1895 ipv6_address = ipaddress.ip_address(addr)
1896 if ipv6_address in network:
1897 return ipv6_address.exploded