Searched refs:destination_address (Results 1 – 7 of 7) sorted by relevance
/openthread-3.5.0/tests/scripts/thread-cert/ |
D | command.py | 55 def check_address_query(command_msg, source_node, destination_address): argument 66 if isinstance(destination_address, bytearray): 67 destination_address = bytes(destination_address) 69 …assert (ipv6.ip_address(destination_address) == command_msg.ipv6_packet.ipv6_header.destination_ad… 86 …ssert (ipv6.ip_address(destination_rloc) == command_msg.ipv6_packet.ipv6_header.destination_address 90 def check_address_error_notification(command_msg, source_node, destination_address): argument 103 if isinstance(destination_address, bytearray): 104 destination_address = bytes(destination_address) 106 …assert (ipv6.ip_address(destination_address) == command_msg.ipv6_packet.ipv6_header.destination_ad… 108 … str(ipv6.ip_address(destination_address)) + ", but the destination_address in command msg is: " + [all …]
|
D | ipv6.py | 221 def __init__(self, source_address, destination_address, payload_length, next_header): argument 223 self._destination_address = self._convert_to_ipaddress(destination_address) 242 def destination_address(self): member in IPv6PseudoHeader 245 @destination_address.setter 246 def destination_address(self, value): member in IPv6PseudoHeader 252 data += self.destination_address.packed 269 destination_address, argument 278 self._destination_address = self._convert_to_ipaddress(destination_address) 300 def destination_address(self): member in IPv6Header 313 data += self.destination_address.packed [all …]
|
D | test_ipv6.py | 350 destination_address = any_ip_address() 352 …ipv6_header = IPv6Header(source_address, destination_address, traffic_class, flow_label, hop_limit, 366 self.assertEqual(destination_address, data[24:40]) 376 destination_address = any_ip_address() 381 … data += ip_address(bytes(source_address)).packed + ip_address(bytes(destination_address)).packed 394 self.assertEqual(destination_address, ipv6_header.destination_address.packed) 516 … IPv6Header(source_address="fd00:1234:4555::ff:fe00:1800", destination_address="ff03::1"), 547 … ipv6_header = IPv6Header(source_address="fe80::1", destination_address="ff02::2", hop_limit=255) 598 self.assertEqual('ff03::1', ipv6_packet.ipv6_header.destination_address.compressed) 636 self.assertEqual('ff03::1', ipv6_packet.ipv6_header.destination_address.compressed) [all …]
|
D | test_crypto.py | 303 destination_address = any_ip_address() 309 authenticated_data = creator._create_authenticated_data(source_address, destination_address, 316 self.assertEqual(destination_address.packed, authenticated_data_bytes.read(16))
|
D | net_crypto.py | 225 …def _create_authenticated_data(self, source_address, destination_address, auxiliary_security_heade… argument 239 return bytes(source_address.packed + destination_address.packed + auxiliary_security_header)
|
D | message.py | 318 dst_addr = self.ipv6_packet.ipv6_header.destination_address 337 … assert (self.ipv6_packet.ipv6_header.destination_address == ipaddress.ip_address(ipv6_address))
|
D | test_lowpan.py | 3380 self.assertEqual("ff02::2", ipv6_header.destination_address.compressed) 3409 self.assertEqual("fe80::10cf:d38b:3b61:5558", ipv6_header.destination_address.compressed) 3441 self.assertEqual("fe80::383e:9eed:7a01:36a5", ipv6_header.destination_address.compressed) 3472 self.assertEqual("fe80::10cf:d38b:3b61:5558", ipv6_header.destination_address.compressed) 3500 self.assertEqual("ff02::1", ipv6_header.destination_address.compressed)
|