|
|
1.1 root 1: #ifndef _ETHERNET_
2: #define _ETHERNET_
3:
4: struct ether_in {
5: u_char dhost[6];
6: u_char shost[6];
7: u_short type;
8: };
9:
10: struct ether_out {
11: u_char dhost[6];
12: u_char shost[6];
13: u_short type;
14: };
15:
16: #define ETHERPUP_PUPTYPE 0x400
17: #define ETHERPUP_IPTYPE 0x800
18: #define ETHERPUP_CHAOSTYPE 0x804
19: #define ETHERPUP_ARPTYPE 0x806
20:
21: #endif
22:
23: #ifndef CHANS_PER_UNIT
24: #define CHANS_PER_UNIT 8
25: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.