1*9748Ssam /* if_ether.h 4.3 82/12/16 */ 29744Ssam 39744Ssam /* 49744Ssam * Structure of a 10Mb/s Ethernet header. 59744Ssam */ 69746Ssam struct ether_header { 79746Ssam u_char ether_dhost[6]; 89746Ssam u_char ether_shost[6]; 99746Ssam u_short ether_type; 109744Ssam }; 119744Ssam 12*9748Ssam #define ETHERPUP_PUPTYPE 0x0400 /* PUP protocol */ 13*9748Ssam #define ETHERPUP_IPTYPE 0x0800 /* IP protocol */ 149744Ssam 159744Ssam /* 169746Ssam * The ETHERPUP_NTRAILER packet types starting at ETHERPUP_TRAIL have 179746Ssam * (type-ETHERPUP_TRAIL)*512 bytes of data followed 189744Ssam * by a PUP type (as given above) and then the (variable-length) header. 199744Ssam */ 20*9748Ssam #define ETHERPUP_TRAIL 0x1000 /* Trailer PUP */ 219746Ssam #define ETHERPUP_NTRAILER 16 229746Ssam 239746Ssam #define ETHERMTU 1500 249746Ssam #define ETHERMIN (60-14) 25