SENF Extensible Network Framework
Go to the documentation of this file. 21 #define le16_to_cpu le16toh 22 #define le32_to_cpu le32toh 23 #define get_unaligned(p) \ 25 struct packed_dummy_struct { \ 27 } __attribute__((packed)) *__ptr = (void *) (p); \ 31 #define get_unaligned_le16(p) le16_to_cpu(get_unaligned((uint16_t *)(p))) 32 #define get_unaligned_le32(p) le32_to_cpu(get_unaligned((uint32_t *)(p)))