projects
/
unix-history
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9fe8a83
)
date and time created 81/11/30 10:09:58 by wnj
author
Bill Joy
<wnj@ucbvax.Berkeley.EDU>
Tue, 1 Dec 1981 02:09:58 +0000
(18:09 -0800)
committer
Bill Joy
<wnj@ucbvax.Berkeley.EDU>
Tue, 1 Dec 1981 02:09:58 +0000
(18:09 -0800)
SCCS-vsn: sys/vax/if/if_en.h 4.1
usr/src/sys/vax/if/if_en.h
[new file with mode: 0644]
patch
|
blob
diff --git a/usr/src/sys/vax/if/if_en.h
b/usr/src/sys/vax/if/if_en.h
new file mode 100644
(file)
index 0000000..
8fdfd2e
--- /dev/null
+++ b/
usr/src/sys/vax/if/if_en.h
@@ -0,0
+1,19
@@
+/* if_en.h 4.1 81/11/30 */
+
+/*
+ * Structure of a Ethernet header.
+ */
+struct en_header {
+ u_char en_shost;
+ u_char en_dhost;
+ u_short en_type;
+};
+
+#define ENPUP_IPTYPE 0x0800 /* 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).
+ */
+#define ENPUP_TRAIL 0x1000 /* Trailer PUP */
+#define ENPUP_NTRAILER 16