1*19866Skarels /* if_en.h 6.2 85/05/01 */ 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 1212353Ssam #define ENTYPE_PUP 0x0200 /* PUP protocol */ 1312353Ssam #define ENTYPE_IP 0x0201 /* IP protocol */ 145172Swnj 155145Swnj /* 1612353Ssam * The ENTYPE_NTRAILER packet types starting at 1712353Ssam * ENTYPE_TRAIL have (type-ENTYPE_TRAIL)*512 bytes 1812353Ssam * of data followed by an Ethernet type (as given above) 1912353Ssam * and then the (variable-length) header. 205145Swnj */ 2112353Ssam #define ENTYPE_TRAIL 0x1000 /* Trailer type */ 2212353Ssam #define ENTYPE_NTRAILER 16 23*19866Skarels 24*19866Skarels #define EN_BROADCAST 0 /* Hardware broadcast address */ 25