patch-1.3.19 linux/include/linux/ip.h
Next file: linux/include/linux/major.h
Previous file: linux/include/linux/in.h
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Tue Aug 15 18:27:00 1995
- Orig file:
v1.3.18/linux/include/linux/ip.h
- Orig date:
Mon Apr 17 13:47:56 1995
diff -u --recursive --new-file v1.3.18/linux/include/linux/ip.h linux/include/linux/ip.h
@@ -34,10 +34,10 @@
__u8 len;
__u8 ptr;
union {
-#if defined(LITTLE_ENDIAN_BITFIELD)
+#if defined(__LITTLE_ENDIAN_BITFIELD)
__u8 flags:4,
overflow:4;
-#elif defined(BIG_ENDIAN_BITFIELD)
+#elif defined(__BIG_ENDIAN_BITFIELD)
__u8 overflow:4,
flags:4;
#else
@@ -72,10 +72,10 @@
struct iphdr {
-#if defined(LITTLE_ENDIAN_BITFIELD)
+#if defined(__LITTLE_ENDIAN_BITFIELD)
__u8 ihl:4,
version:4;
-#elif defined (BIG_ENDIAN_BITFIELD)
+#elif defined (__BIG_ENDIAN_BITFIELD)
__u8 version:4,
ihl:4;
#else
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