Searched refs:ipv6_address (Results 1 – 5 of 5) sorted by relevance
1349 ipv6_address = any_ipv6_address()1351 addr_reg_full_obj = mle.AddressFull(ipv6_address)1354 actual_ipv6_address = addr_reg_full_obj.ipv6_address1357 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 …]
783 def __init__(self, ipv6_address): argument784 self._ipv6_address = ipv6_address787 def ipv6_address(self): member in AddressFull793 return self.ipv6_address == other.ipv6_address796 return "AddressFull(ipv6_address={}')".format(hexlify(self.ipv6_address))803 ipv6_address = data.read(16)804 return AddressFull(ipv6_address)
336 def assertSentToDestinationAddress(self, ipv6_address): argument337 … assert (self.ipv6_packet.ipv6_header.destination_address == ipaddress.ip_address(ipv6_address))339 def assertSentFromSourceAddress(self, ipv6_address): argument340 assert (self.ipv6_packet.ipv6_header.source_address == ipaddress.ip_address(ipv6_address))
547 if isinstance(item, mle.AddressFull) and ipaddress.ip_address(item.ipv6_address) == addr:
1895 ipv6_address = ipaddress.ip_address(addr)1896 if ipv6_address in network:1897 return ipv6_address.exploded