1*5172Swnj /* if_en.h 4.3 81/12/03 */ 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 125161Swnj #define ENPUP_PUPTYPE 0x0400 /* PUP protocol */ 135145Swnj #define ENPUP_IPTYPE 0x0800 /* IP protocol */ 14*5172Swnj 155145Swnj /* 165145Swnj * The ENPUP_NTRAILER packet types starting at ENPUP_TRAIL have 175145Swnj * (type-ENPUP_TRAIL)*512 bytes of data followed 185161Swnj * by a PUP type (as given above) and then the (variable-length) header. 195145Swnj */ 205145Swnj #define ENPUP_TRAIL 0x1000 /* Trailer PUP */ 215145Swnj #define ENPUP_NTRAILER 16 22