1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #13523 from benpicco/eui64-32

net/eui64: provide 32 bit access
This commit is contained in:
Koen Zandberg 2020-03-01 19:39:51 +01:00 committed by GitHub
commit 2b54dd1940
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,8 +54,9 @@ extern "C" {
*/
typedef union {
network_uint64_t uint64; /**< represented as 64 bit value */
uint8_t uint8[8]; /**< split into 8 8-bit words. */
network_uint16_t uint16[4]; /**< split into 4 16-bit words. */
uint8_t uint8[8]; /**< split into 8 8-bit words. */
network_uint16_t uint16[4]; /**< split into 4 16-bit words. */
network_uint32_t uint32[2]; /**< split into 2 32-bit words. */
} eui64_t;
/**