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

Defined macros

ENPUP_IPTYPE defined in line 19; used 2 times
ENPUP_NTRAILER defined in line 27; used 1 times
ENPUP_PUPTYPE defined in line 18; used 1 times
ENPUP_TRAIL defined in line 26; used 4 times

Usage of this include

if_en.h used 1 times
Last modified: 1987-01-09
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 876
Valid CSS Valid XHTML 1.0 Strict