Go to the source code of this file.
Defines | |
| #define | bswap_16(x) (((x) << 8) & 0xff00) | (((x) >> 8 ) & 0xff) |
| #define | bswap_32(x) |
| #define | bswap_64(x) |
| #define bswap_16 | ( | x | ) | (((x) << 8) & 0xff00) | (((x) >> 8 ) & 0xff) |
Definition at line 18 of file oversim_byteswap.h.
| #define bswap_32 | ( | x | ) |
Value:
(((x) << 24) & 0xff000000) \
| (((x) << 8) & 0xff0000) \
| (((x) >> 8) & 0xff00) \
| (((x) >> 24) & 0xff )
Definition at line 19 of file oversim_byteswap.h.
Referenced by __gnu_cxx::hash< TransportAddress >::operator()(), and __gnu_cxx::hash< IPvXAddress >::operator()().
| #define bswap_64 | ( | x | ) |
Value:
((((x) & 0xff00000000000000ull) >> 56) \
| (((x) & 0x00ff000000000000ull) >> 40) \
| (((x) & 0x0000ff0000000000ull) >> 24) \
| (((x) & 0x000000ff00000000ull) >> 8) \
| (((x) & 0x00000000ff000000ull) << 8) \
| (((x) & 0x0000000000ff0000ull) << 24) \
| (((x) & 0x000000000000ff00ull) << 40) \
| (((x) & 0x00000000000000ffull) << 56))
Definition at line 23 of file oversim_byteswap.h.
1.5.8