patch-2.1.4 linux/include/linux/in.h
Next file: linux/include/linux/mm.h
Previous file: linux/include/linux/fs.h
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Tue Oct 15 19:40:09 1996
- Orig file:
v2.1.3/linux/include/linux/in.h
- Orig date:
Mon Sep 30 11:19:00 1996
diff -u --recursive --new-file v2.1.3/linux/include/linux/in.h linux/include/linux/in.h
@@ -115,13 +115,12 @@
#define INADDR_ALLHOSTS_GROUP 0xe0000001 /* 224.0.0.1 */
#define INADDR_MAX_LOCAL_GROUP 0xe00000ff /* 224.0.0.255 */
-/* <asm/byteorder.h> contains the htonl type stuff.. */
+#ifdef __KERNEL__
+/* <asm/byteorder.h> contains the htonl type stuff.. */
#include <asm/byteorder.h>
/* Some random defines to make it easier in the kernel.. */
-#ifdef __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