4 #define __LITTLE_ENDIAN 1234
8 #define cpu_to_le32(x) ((unsigned int)(x))
9 #define le32_to_cpu(x) ((unsigned int)(x))
10 #define cpu_to_le16(x) ((unsigned short)(x))
11 #define le16_to_cpu(x) ((unsigned short)(x))
12 #define cpu_to_be32(x) swab32((x))
13 #define be32_to_cpu(x) swab32((x))
14 #define cpu_to_be16(x) swab16((x))
15 #define be16_to_cpu(x) swab16((x))
17 #define ntohl(x) be32_to_cpu(x)
18 #define htonl(x) cpu_to_be32(x)
20 #endif /* _BYTEORDER_H */