ioctls and trailers
[unix-history] / usr / src / sys / vax / if / if_en.h
index 0a93d59..1de0779 100644 (file)
@@ -1,4 +1,4 @@
-/*     if_en.h 4.3     81/12/03        */
+/*     if_en.h 4.4     83/05/10        */
 
 /*
  * Structure of a Ethernet header.
 
 /*
  * Structure of a Ethernet header.
@@ -9,13 +9,14 @@ struct        en_header {
        u_short en_type;
 };
 
        u_short en_type;
 };
 
-#define        ENPUP_PUPTYPE   0x0400          /* PUP protocol */
-#define        ENPUP_IPTYPE    0x0800          /* IP protocol */
+#define        ENTYPE_PUP      0x0200          /* PUP protocol */
+#define        ENTYPE_IP       0x0201          /* IP protocol */
 
 /*
 
 /*
- * The ENPUP_NTRAILER packet types starting at ENPUP_TRAIL have
- * (type-ENPUP_TRAIL)*512 bytes of data followed
- * by a PUP type (as given above) and then the (variable-length) header.
+ * The ENTYPE_NTRAILER packet types starting at
+ * ENTYPE_TRAIL have (type-ENTYPE_TRAIL)*512 bytes
+ * of data followed by an Ethernet type (as given above)
+ * and then the (variable-length) header.
  */
  */
-#define        ENPUP_TRAIL     0x1000          /* Trailer PUP */
-#define        ENPUP_NTRAILER  16
+#define        ENTYPE_TRAIL    0x1000          /* Trailer type */
+#define        ENTYPE_NTRAILER 16