RTEMS 6.1-rc1
Macros
endian.h File Reference

Includes endian information about the target. More...

#include <stdint.h>
#include <machine/endian.h>

Go to the source code of this file.

Macros

#define _BYTEORDER_FUNC_DEFINED
 
#define htonl(x)   __htonl(x)
 
#define htons(x)   __htons(x)
 
#define ntohl(x)   __ntohl(x)
 
#define ntohs(x)   __ntohs(x)
 
#define NTOHS(x)   (x) = ntohs(x)
 
#define HTONS(x)   (x) = htons(x)
 
#define NTOHL(x)   (x) = ntohl(x)
 
#define HTONL(x)   (x) = htonl(x)
 

Detailed Description

Includes endian information about the target.