Home
last modified time | relevance | path

Searched refs:packed (Results 1 – 17 of 17) sorted by relevance

/openthread-latest/src/lib/spinel/
Dspinel_driver.cpp106 spinel_ssize_t packed; in SendReset() local
109packed = 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
187packed = 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 …]
Dradio_spinel.cpp1894 spinel_ssize_t packed; in CalcRcpTimeOffset() local
1926packed = 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/
Dtest_set_mliid.py58 … 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:])
Dtest_crypto.py315 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_…
Dnet_crypto.py239 return bytes(source_address.packed + destination_address.packed + auxiliary_security_header)
Dipv6.py251 data += self.source_address.packed
252 data += self.destination_address.packed
312 data += self.source_address.packed
313 data += self.destination_address.packed
Dtest_ipv6.py381 … 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)
Dlowpan.py326 self._prefix = bytearray(a.packed)
Dnode.py2043 return ml_eid.packed[8:].hex()
/openthread-latest/include/openthread/platform/
Dtoolchain.h140 #define OT_TOOL_PACKED_FIELD __attribute__((packed))
141 #define OT_TOOL_PACKED_END __attribute__((packed))
/openthread-latest/third_party/tcplp/bsdtcp/
Dip6.h76 } __attribute__((packed)); // added this to allow unaligned access
104 } __attribute__((packed));
/openthread-latest/third_party/mbedtls/repo/library/
Dalignment.h88 } __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/
Drcp_caps_diag.cpp282 spinel_ssize_t packed; in HandleSpinelCommand() local
284packed = 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/
Dtest_dua_routing.py193 mliid = ipaddress.IPv6Address(mleid).packed[-8:]
Dtest_dua_routing_med.py185 mliid = ipaddress.IPv6Address(mleid).packed[-8:]
Dtest_dua_dad.py57 DUPLICATE_IID = ''.join('%02x' % c for c in ipaddress.IPv6Address(DUPLICATE_DUA).packed[-8:])
/openthread-latest/tools/harness-thci/
DOpenThread.py3116 iid = ipaddress.IPv6Address(sDua).packed[-8:]