xref: /csrg-svn/sys/netinet/if_ether.h (revision 9746)
1*9746Ssam /*	if_ether.h	4.2	82/12/16	*/
29744Ssam 
39744Ssam /*
49744Ssam  * Structure of a 10Mb/s Ethernet header.
59744Ssam  */
6*9746Ssam struct	ether_header {
7*9746Ssam 	u_char	ether_dhost[6];
8*9746Ssam 	u_char	ether_shost[6];
9*9746Ssam 	u_short	ether_type;
109744Ssam };
119744Ssam 
12*9746Ssam #define	ETHERPUP_PUPTYPE	4		/* PUP protocol */
13*9746Ssam #define	ETHERPUP_IPTYPE	8		/* IP protocol */
149744Ssam 
159744Ssam /*
16*9746Ssam  * The ETHERPUP_NTRAILER packet types starting at ETHERPUP_TRAIL have
17*9746Ssam  * (type-ETHERPUP_TRAIL)*512 bytes of data followed
189744Ssam  * by a PUP type (as given above) and then the (variable-length) header.
199744Ssam  */
20*9746Ssam #define	ETHERPUP_TRAIL	16		/* Trailer PUP */
21*9746Ssam #define	ETHERPUP_NTRAILER	16
22*9746Ssam 
23*9746Ssam #define	ETHERMTU	1500
24*9746Ssam #define	ETHERMIN	(60-14)
25