1*5161Swnj /* if_en.h 4.2 81/12/02 */ 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 12*5161Swnj #define ENPUP_PUPTYPE 0x0400 /* PUP protocol */ 135145Swnj #define ENPUP_IPTYPE 0x0800 /* IP protocol */ 145145Swnj /* 15*5161Swnj 165145Swnj * The ENPUP_NTRAILER packet types starting at ENPUP_TRAIL have 175145Swnj * (type-ENPUP_TRAIL)*512 bytes of data followed 18*5161Swnj * 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