Searched refs:packed (Results 1 – 17 of 17) sorted by relevance
/openthread-latest/src/lib/spinel/ |
D | spinel_driver.cpp | 106 spinel_ssize_t packed; in SendReset() local 109 …packed = spinel_datatype_pack(buffer, sizeof(buffer), SPINEL_DATATYPE_COMMAND_S SPINEL_DATATYPE_UI… in SendReset() 112 EXPECT(packed > 0 && static_cast<size_t>(packed) <= sizeof(buffer), error = OT_ERROR_NO_BUFS); in SendReset() 114 EXPECT_NO_ERROR(error = mSpinelInterface->SendFrame(buffer, static_cast<uint16_t>(packed))); in SendReset() 115 LogSpinelFrame(buffer, static_cast<uint16_t>(packed), true /* aTx */); in SendReset() 183 spinel_ssize_t packed; in SendCommand() local 187 …packed = spinel_datatype_pack(buffer, sizeof(buffer), "Cii", SPINEL_HEADER_FLAG | SPINEL_HEADER_II… in SendCommand() 190 EXPECT(packed > 0 && static_cast<size_t>(packed) <= sizeof(buffer), error = OT_ERROR_NO_BUFS); in SendCommand() 192 offset = static_cast<uint16_t>(packed); in SendCommand() 209 spinel_ssize_t packed; in SendCommand() local [all …]
|
D | radio_spinel.cpp | 1894 spinel_ssize_t packed; in CalcRcpTimeOffset() local 1926 … packed = spinel_datatype_pack(buffer, sizeof(buffer), SPINEL_DATATYPE_UINT64_S, remoteTimestamp); in CalcRcpTimeOffset() 1927 EXPECT(packed > 0 && static_cast<size_t>(packed) <= sizeof(buffer), error = OT_ERROR_NO_BUFS); in CalcRcpTimeOffset() 1932 error = GetWithParam(SPINEL_PROP_RCP_TIMESTAMP, buffer, static_cast<spinel_size_t>(packed), in CalcRcpTimeOffset()
|
/openthread-latest/tests/scripts/thread-cert/ |
D | test_set_mliid.py | 58 … self.assertEqual(b'\x11\x22\x33\x44\x55\x66\x77\x88', ipaddress.IPv6Address(mleid).packed[-8:]) 71 … self.assertEqual(b'\x11\x22\x33\x44\x55\x66\x77\x88', ipaddress.IPv6Address(mleid).packed[-8:])
|
D | test_crypto.py | 315 self.assertEqual(source_address.packed, authenticated_data_bytes.read(16)) 316 self.assertEqual(destination_address.packed, authenticated_data_bytes.read(16)) 341 …message_info.source_ipv6.packed + message_info.destination_ipv6.packed + message_info.aux_sec_hdr_…
|
D | net_crypto.py | 239 return bytes(source_address.packed + destination_address.packed + auxiliary_security_header)
|
D | ipv6.py | 251 data += self.source_address.packed 252 data += self.destination_address.packed 312 data += self.source_address.packed 313 data += self.destination_address.packed
|
D | test_ipv6.py | 381 … data += ip_address(bytes(source_address)).packed + ip_address(bytes(destination_address)).packed 393 self.assertEqual(source_address, ipv6_header.source_address.packed) 394 self.assertEqual(destination_address, ipv6_header.destination_address.packed)
|
D | lowpan.py | 326 self._prefix = bytearray(a.packed)
|
D | node.py | 2043 return ml_eid.packed[8:].hex()
|
/openthread-latest/include/openthread/platform/ |
D | toolchain.h | 140 #define OT_TOOL_PACKED_FIELD __attribute__((packed)) 141 #define OT_TOOL_PACKED_END __attribute__((packed))
|
/openthread-latest/third_party/tcplp/bsdtcp/ |
D | ip6.h | 76 } __attribute__((packed)); // added this to allow unaligned access 104 } __attribute__((packed));
|
/openthread-latest/third_party/mbedtls/repo/library/ |
D | alignment.h | 88 } __attribute__((packed)) mbedtls_uint16_unaligned_t; 91 } __attribute__((packed)) mbedtls_uint32_unaligned_t; 94 } __attribute__((packed)) mbedtls_uint64_unaligned_t;
|
/openthread-latest/src/posix/platform/ |
D | rcp_caps_diag.cpp | 282 spinel_ssize_t packed; in HandleSpinelCommand() local 284 … packed = spinel_datatype_pack(buffer, sizeof(buffer), SPINEL_DATATYPE_UINT64_S, remoteTimestamp); in HandleSpinelCommand() 285 …rn mRadioSpinel.GetWithParam(SPINEL_PROP_RCP_TIMESTAMP, buffer, static_cast<spinel_size_t>(packed), in HandleSpinelCommand()
|
/openthread-latest/tests/scripts/thread-cert/backbone/ |
D | test_dua_routing.py | 193 mliid = ipaddress.IPv6Address(mleid).packed[-8:]
|
D | test_dua_routing_med.py | 185 mliid = ipaddress.IPv6Address(mleid).packed[-8:]
|
D | test_dua_dad.py | 57 DUPLICATE_IID = ''.join('%02x' % c for c in ipaddress.IPv6Address(DUPLICATE_DUA).packed[-8:])
|
/openthread-latest/tools/harness-thci/ |
D | OpenThread.py | 3116 iid = ipaddress.IPv6Address(sDua).packed[-8:]
|