patch-2.1.9 linux/include/linux/in.h
Next file: linux/include/linux/in6.h
Previous file: linux/include/linux/if_arp.h
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Tue Nov 12 15:14:14 1996
- Orig file:
v2.1.8/linux/include/linux/in.h
- Orig date:
Sun Nov 10 20:12:14 1996
diff -u --recursive --new-file v2.1.8/linux/include/linux/in.h linux/include/linux/in.h
@@ -118,11 +118,10 @@
#define INADDR_ALLHOSTS_GROUP 0xe0000001 /* 224.0.0.1 */
#define INADDR_MAX_LOCAL_GROUP 0xe00000ff /* 224.0.0.255 */
-#ifdef __KERNEL__
-
/* <asm/byteorder.h> contains the htonl type stuff.. */
#include <asm/byteorder.h>
+#ifdef __KERNEL__
/* Some random defines to make it easier in the kernel.. */
#define LOOPBACK(x) (((x) & htonl(0xff000000)) == htonl(0x7f000000))
#define MULTICAST(x) (((x) & htonl(0xf0000000)) == htonl(0xe0000000))
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov