xref: /csrg-svn/sys/netinet/if_ether.h (revision 9744)
1 /*	if_ether.h	4.1	82/12/16	*/
2 
3 /*
4  * Structure of a 10Mb/s Ethernet header.
5  */
6 struct	eth_header {
7 	u_char	eth_dhost[6];
8 	u_char	eth_shost[6];
9 	u_short	eth_type;
10 };
11 
12 #define	ETHPUP_PUPTYPE	4		/* PUP protocol */
13 #define	ETHPUP_IPTYPE	8		/* IP protocol */
14 
15 /*
16  * The ETHPUP_NTRAILER packet types starting at ETHPUP_TRAIL have
17  * (type-ETHPUP_TRAIL)*512 bytes of data followed
18  * by a PUP type (as given above) and then the (variable-length) header.
19  */
20 #define	ETHPUP_TRAIL	16		/* Trailer PUP */
21 #define	ETHPUP_NTRAILER	16
22