xref: /csrg-svn/sys/vax/if/if_en.h (revision 12353)
1*12353Ssam /*	if_en.h	4.4	83/05/10	*/
25145Swnj 
35145Swnj /*
45145Swnj  * Structure of a Ethernet header.
55145Swnj  */
65145Swnj struct	en_header {
75145Swnj 	u_char	en_shost;
85145Swnj 	u_char	en_dhost;
95145Swnj 	u_short	en_type;
105145Swnj };
115145Swnj 
12*12353Ssam #define	ENTYPE_PUP	0x0200		/* PUP protocol */
13*12353Ssam #define	ENTYPE_IP	0x0201		/* IP protocol */
145172Swnj 
155145Swnj /*
16*12353Ssam  * The ENTYPE_NTRAILER packet types starting at
17*12353Ssam  * ENTYPE_TRAIL have (type-ENTYPE_TRAIL)*512 bytes
18*12353Ssam  * of data followed by an Ethernet type (as given above)
19*12353Ssam  * and then the (variable-length) header.
205145Swnj  */
21*12353Ssam #define	ENTYPE_TRAIL	0x1000		/* Trailer type */
22*12353Ssam #define	ENTYPE_NTRAILER	16
23