#include <sys/cdefs.h>
#include <sys/param.h>
#include <winsock2.h>
Go to the source code of this file.
◆ __BIG_ENDIAN
#define __BIG_ENDIAN 4321 |
◆ __BYTE_ORDER
◆ __LITTLE_ENDIAN
#define __LITTLE_ENDIAN 1234 |
◆ be16toh
#define be16toh |
( |
|
x | ) |
__builtin_bswap16(x) |
◆ be32toh
#define be32toh |
( |
|
x | ) |
__builtin_bswap32(x) |
◆ be64toh
#define be64toh |
( |
|
x | ) |
__builtin_bswap64(x) |
◆ betoh16
#define betoh16 |
( |
|
x | ) |
__builtin_bswap16(x) |
◆ betoh32
#define betoh32 |
( |
|
x | ) |
__builtin_bswap32(x) |
◆ betoh64
#define betoh64 |
( |
|
x | ) |
__builtin_bswap64(x) |
◆ htobe16
#define htobe16 |
( |
|
x | ) |
__builtin_bswap16(x) |
◆ htobe32
#define htobe32 |
( |
|
x | ) |
__builtin_bswap32(x) |
◆ htobe64
#define htobe64 |
( |
|
x | ) |
__builtin_bswap64(x) |
◆ htole16
◆ htole32
◆ htole64
◆ htonl
#define htonl |
( |
|
x | ) |
__builtin_bswap32(x) |
◆ htonq
#define htonq |
( |
|
x | ) |
__builtin_bswap64(x) |
◆ htons
#define htons |
( |
|
x | ) |
__builtin_bswap16(x) |
◆ le16toh
◆ le32toh
◆ le64toh
◆ letoh16
◆ letoh32
◆ letoh64
◆ ntohl
#define ntohl |
( |
|
x | ) |
__builtin_bswap32(x) |
◆ ntohq
#define ntohq |
( |
|
x | ) |
__builtin_bswap64(x) |
◆ ntohs
#define ntohs |
( |
|
x | ) |
__builtin_bswap16(x) |