#include <cstdlib>
#include <cstdio>
Go to the source code of this file.
◆ SWAP_16
Value:((((x) & 0XFF00) >> 8)) | \
(((x) & 0X00FF) << 8)
Definition at line 60 of file net.h.
◆ SWAP_32
Value:((((x) & 0XFF000000UL) >> 24) | \
(((x) & 0X00FF0000UL) >> 8) | \
(((x) & 0X0000FF00UL) << 8) | \
(((x) & 0X000000FFUL) << 24))
Definition at line 64 of file net.h.
◆ SWAP_64
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 70 of file net.h.