|
|
1.1 root 1: /* if_ether.h 4.3 82/12/16 */
2:
3: /*
4: * Structure of a 10Mb/s Ethernet header.
5: */
6: struct ether_header {
7: u_char ether_dhost[6];
8: u_char ether_shost[6];
9: u_short ether_type;
10: };
11:
12: #define ETHERPUP_PUPTYPE 0x0400 /* PUP protocol */
13: #define ETHERPUP_IPTYPE 0x0800 /* IP protocol */
14:
15: /*
16: * The ETHERPUP_NTRAILER packet types starting at ETHERPUP_TRAIL have
17: * (type-ETHERPUP_TRAIL)*512 bytes of data followed
18: * by a PUP type (as given above) and then the (variable-length) header.
19: */
20: #define ETHERPUP_TRAIL 0x1000 /* Trailer PUP */
21: #define ETHERPUP_NTRAILER 16
22:
23: #define ETHERMTU 1500
24: #define ETHERMIN (60-14)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.