netbroadcast should always be all-ones
[unix-history] / usr / src / sys / netinet / ip_var.h
index 82bfe85..6fd0171 100644 (file)
@@ -1,9 +1,15 @@
 /*
  * Copyright (c) 1982, 1986 Regents of the University of California.
 /*
  * Copyright (c) 1982, 1986 Regents of the University of California.
- * All rights reserved.  The Berkeley software License Agreement
- * specifies the terms and conditions for redistribution.
+ * All rights reserved.
  *
  *
- *     @(#)ip_var.h    7.2 (Berkeley) %G%
+ * Redistribution and use in source and binary forms are permitted
+ * provided that this notice is preserved and that due credit is given
+ * to the University of California at Berkeley. The name of the University
+ * may not be used to endorse or promote products derived from this
+ * software without specific prior written permission. This software
+ * is provided ``as is'' without express or implied warranty.
+ *
+ *     @(#)ip_var.h    7.4 (Berkeley) %G%
  */
 
 /*
  */
 
 /*
@@ -40,11 +46,11 @@ struct ipq {
  * Note: ipf_next must be at same offset as ipq_next above
  */
 struct ipasfrag {
  * Note: ipf_next must be at same offset as ipq_next above
  */
 struct ipasfrag {
-#if ENDIAN == LITTLE
+#if BYTE_ORDER == LITTLE_ENDIAN 
        u_char  ip_hl:4,
                ip_v:4;
 #endif
        u_char  ip_hl:4,
                ip_v:4;
 #endif
-#if ENDIAN == BIG
+#if BYTE_ORDER == BIG_ENDIAN 
        u_char  ip_v:4,
                ip_hl:4;
 #endif
        u_char  ip_v:4,
                ip_hl:4;
 #endif