#include <stdint.h>
Go to the source code of this file.
Defines | |
#define | host2uint16_t_be(n) (uint16_t_byteorder_swap(n)) |
#define | host2uint16_t_le(n) (n) |
#define | host2uint32_t_be(n) (uint32_t_byteorder_swap(n)) |
#define | host2uint32_t_le(n) (n) |
#define | host2uint64_t_be(n) (uint64_t_byteorder_swap(n)) |
#define | host2uint64_t_le(n) (n) |
#define | htonl(n) host2uint32_t_be((n)) |
#define | htons(n) host2uint16_t_be((n)) |
#define | ntohl(n) uint32_t_be2host((n)) |
#define | ntohs(n) uint16_t_be2host((n)) |
#define | uint16_t_be2host(n) (uint16_t_byteorder_swap(n)) |
#define | uint16_t_le2host(n) (n) |
#define | uint32_t_be2host(n) (uint32_t_byteorder_swap(n)) |
#define | uint32_t_le2host(n) (n) |
#define | uint64_t_be2host(n) (uint64_t_byteorder_swap(n)) |
#define | uint64_t_le2host(n) (n) |
Functions | |
static uint16_t | uint16_t_byteorder_swap (uint16_t n) |
static uint32_t | uint32_t_byteorder_swap (uint32_t n) |
static uint64_t | uint64_t_byteorder_swap (uint64_t n) |
Definition in file byteorder.h.