patch-1.3.19 linux/include/linux/in.h
Next file: linux/include/linux/ip.h
Previous file: linux/include/linux/if_ether.h
Back to the patch index
Back to the overall index
- Lines: 8
- Date:
Tue Aug 15 18:28:49 1995
- Orig file:
v1.3.18/linux/include/linux/in.h
- Orig date:
Thu Jul 13 16:20:21 1995
diff -u --recursive --new-file v1.3.18/linux/include/linux/in.h linux/include/linux/in.h
@@ -108,6 +108,7 @@
/* Address to loopback in software to local host. */
#define INADDR_LOOPBACK 0x7f000001 /* 127.0.0.1 */
+#define IN_LOOPBACK(a) ((((long int) (a)) & 0xff000000) == 0x7f000000)
/* Defines for Multicast INADDR */
#define INADDR_UNSPEC_GROUP 0xe0000000 /* 224.0.0.0 */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this