Searched refs:address_bytes (Results 1 – 2 of 2) sorted by relevance
/openthread-latest/tests/scripts/thread-cert/ |
D | lowpan.py | 546 def _merge_prefix_with_address(self, prefix, prefix_length, address_bytes): argument 558 if (prefix_length_all_bytes + len(address_bytes)) > required_bytes: 579 address_overlapping_byte = address_bytes[-required_bytes] 588 src_addr += address_bytes[-required_bytes:] 592 required_bytes -= len(address_bytes) 594 … src_addr = (prefix[:prefix_length_all_bytes] + bytearray([0x00] * required_bytes) + address_bytes) 608 address_bytes=bytearray(data.read(8)), 613 address_bytes = self.SHORT_ADDR_PADDING_BYTES + bytearray(data.read(2)) 618 address_bytes=address_bytes, 627 address_bytes=src_mac_addr.convert_to_iid(), [all …]
|
D | test_lowpan.py | 3112 address_bytes = bytearray([0x1a, 0x2b, 0x3c, 0x4d, 0x5e, 0x6f, 0x70, 0x81]) 3114 addr = prefix + bytearray([0x00] * 4) + address_bytes 3117 actual_addr = factory._merge_prefix_with_address(prefix, prefix_length, address_bytes) 3129 address_bytes = bytearray([0x1a, 0x2b, 0x3c, 0x4d, 0x5e, 0x6f, 0x70, 0x81]) 3131 addr = prefix[:-1] + bytearray([0x2a]) + address_bytes[1:] 3134 actual_addr = factory._merge_prefix_with_address(prefix, prefix_length, address_bytes) 3147 address_bytes = bytearray([0x1a, 0x2b, 0x3c, 0x4d, 0x5e, 0x6f, 0x70, 0x81]) 3152 actual_addr = factory._merge_prefix_with_address(prefix, prefix_length, address_bytes)
|