xref: /titanic_50/usr/src/grub/grub-0.97/netboot/big_bswap.h (revision 174bc6499d233e329ecd3d98a880a7b07df16bfa)
1 #ifndef ETHERBOOT_BIG_BSWAP_H
2 #define ETHERBOOT_BIG_BSWAP_H
3 
4 #define ntohl(x) 	(x)
5 #define htonl(x) 	(x)
6 #define ntohs(x) 	(x)
7 #define htons(x) 	(x)
8 #define cpu_to_le32(x)	__bswap_32(x)
9 #define cpu_to_le16(x)	__bswap_16(x)
10 #define cpu_to_be32(x)	(x)
11 #define cpu_to_be16(x)	(x)
12 #define le32_to_cpu(x)	__bswap_32(x)
13 #define le16_to_cpu(x)	__bswap_16(x)
14 #define be32_to_cpu(x)	(x)
15 #define be16_to_cpu(x)	(x)
16 
17 #endif /* ETHERBOOT_BIG_BSWAP_H */
18