1*23291Smckusick /* 2*23291Smckusick * Copyright (c) 1982 Regents of the University of California. 3*23291Smckusick * All rights reserved. The Berkeley software License Agreement 4*23291Smckusick * specifies the terms and conditions for redistribution. 5*23291Smckusick * 6*23291Smckusick * @(#)if_en.h 6.3 (Berkeley) 06/08/85 7*23291Smckusick */ 85145Swnj 95145Swnj /* 105145Swnj * Structure of a Ethernet header. 115145Swnj */ 125145Swnj struct en_header { 135145Swnj u_char en_shost; 145145Swnj u_char en_dhost; 155145Swnj u_short en_type; 165145Swnj }; 175145Swnj 1812353Ssam #define ENTYPE_PUP 0x0200 /* PUP protocol */ 1912353Ssam #define ENTYPE_IP 0x0201 /* IP protocol */ 205172Swnj 215145Swnj /* 2212353Ssam * The ENTYPE_NTRAILER packet types starting at 2312353Ssam * ENTYPE_TRAIL have (type-ENTYPE_TRAIL)*512 bytes 2412353Ssam * of data followed by an Ethernet type (as given above) 2512353Ssam * and then the (variable-length) header. 265145Swnj */ 2712353Ssam #define ENTYPE_TRAIL 0x1000 /* Trailer type */ 2812353Ssam #define ENTYPE_NTRAILER 16 2919866Skarels 3019866Skarels #define EN_BROADCAST 0 /* Hardware broadcast address */ 31