1 /* $Id: byteorder.h,v 1.6 1995/11/25 02:31:20 davem Exp $ */ 2 #ifndef _SPARC_BYTEORDER_H 3 #define _SPARC_BYTEORDER_H 4 5 #define ntohl(x) x 6 #define ntohs(x) x 7 #define htonl(x) x 8 #define htons(x) x 9 10 #ifdef __KERNEL__ 11 #define __BIG_ENDIAN 12 #endif 13 #define __BIG_ENDIAN_BITFIELD 14 15 #endif /* !(_SPARC_BYTEORDER_H) */