Go to the source code of this file.
◆ _GET_BYTE
#define _GET_BYTE |
( |
|
x, |
|
|
|
n |
|
) |
| ( ((x) >> (8 * (n))) & 0xff ) |
◆ _PED_SWAP16
Value:
#define _GET_BYTE(x, n)
Definition: endian.h:28
◆ _PED_SWAP32
◆ _PED_SWAP64
◆ PED_BE16_TO_CPU
◆ PED_BE32_TO_CPU
◆ PED_BE64_TO_CPU
◆ PED_CPU_TO_BE16
◆ PED_CPU_TO_BE32
◆ PED_CPU_TO_BE64
◆ PED_CPU_TO_LE16
#define PED_CPU_TO_LE16 |
( |
|
x | ) |
(x) |
◆ PED_CPU_TO_LE32
#define PED_CPU_TO_LE32 |
( |
|
x | ) |
(x) |
◆ PED_CPU_TO_LE64
#define PED_CPU_TO_LE64 |
( |
|
x | ) |
(x) |
◆ PED_LE16_TO_CPU
#define PED_LE16_TO_CPU |
( |
|
x | ) |
(x) |
◆ PED_LE32_TO_CPU
#define PED_LE32_TO_CPU |
( |
|
x | ) |
(x) |
◆ PED_LE64_TO_CPU
#define PED_LE64_TO_CPU |
( |
|
x | ) |
(x) |
◆ PED_SWAP16
#define PED_SWAP16 |
( |
|
x | ) |
((uint16_t) _PED_SWAP16( (uint16_t) (x) )) |
◆ PED_SWAP32
#define PED_SWAP32 |
( |
|
x | ) |
((uint32_t) _PED_SWAP32( (uint32_t) (x) )) |
◆ PED_SWAP64
#define PED_SWAP64 |
( |
|
x | ) |
((uint64_t) _PED_SWAP64( (uint64_t) (x) )) |