1: /*
2: * Copyright (c) 1986 Regents of the University of California.
3: * All rights reserved. The Berkeley software License Agreement
4: * specifies the terms and conditions for redistribution.
5: *
6: * @(#)if_en.h 1.1 (2.10BSD Berkeley) 12/1/86
7: */
8:
9: /*
10: * Structure of a Ethernet header.
11: */
12: struct {
13: u_char en_shost;
14: u_char en_dhost;
15: u_short en_type;
16: };
17:
18: #define ENPUP_PUPTYPE 0x0400 /* PUP protocol */
19: #define ENPUP_IPTYPE 0x0800 /* IP protocol */
20:
21: /*
22: * The ENPUP_NTRAILER packet types starting at ENPUP_TRAIL have
23: * (type-ENPUP_TRAIL)*512 bytes of data followed
24: * by a PUP type (as given above) and then the (variable-length) header.
25: */
26: #define ENPUP_TRAIL 0x1000 /* Trailer PUP */
27: #define ENPUP_NTRAILER 16
Defined struct's
defined in line
12; used 28 times
Defined macros
Usage of this include