# 2.11BSD#431 - /usr/src/sys/pdpif/if_en.h

##### Macros

    ENPUP_IPTYPE      X
    ENPUP_NTRAILER    X
    ENPUP_PUPTYPE     X
    ENPUP_TRAIL       X

##### struct's

    en_header         X

       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  en_header {
      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

en_header defined in line 12; used 28 times

- in /usr/src/sys/pdpif/if_en.c line 133(2), 147(2), 191(2), 308(2), 331-335(6), 400(2), 417(2), 477(2), 485-490(8)

#### Defined macros

ENPUP_IPTYPE defined in line 19; used 2 times

- in /usr/src/sys/pdpif/if_en.c line 436-440(2)

ENPUP_NTRAILER defined in line 27; used 1 times

- in /usr/src/sys/pdpif/if_en.c line 338

ENPUP_PUPTYPE defined in line 18; used 1 times

- in /usr/src/sys/pdpif/if_en.c line 447

ENPUP_TRAIL defined in line 26; used 4 times

- in /usr/src/sys/pdpif/if_en.c line 337-339(3), 433

#### Usage of this include

if_en.h used 1 times

- in /usr/src/sys/pdpif/if_en.c line 29

Last modified: 1987-01-09 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 428 |