Commit | Line | Data |
---|---|---|
ce9ee601 BJ |
1 | /* if_en.h 4.1 81/11/30 */ |
2 | ||
3 | /* | |
4 | * Structure of a Ethernet header. | |
5 | */ | |
6 | struct en_header { | |
7 | u_char en_shost; | |
8 | u_char en_dhost; | |
9 | u_short en_type; | |
10 | }; | |
11 | ||
12 | #define ENPUP_IPTYPE 0x0800 /* IP protocol */ | |
13 | /* | |
14 | * The ENPUP_NTRAILER packet types starting at ENPUP_TRAIL have | |
15 | * (type-ENPUP_TRAIL)*512 bytes of data followed | |
16 | * by a PUP type (as given above). | |
17 | */ | |
18 | #define ENPUP_TRAIL 0x1000 /* Trailer PUP */ | |
19 | #define ENPUP_NTRAILER 16 |