1: /*
   2:  * Copyright (c) 1982, 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	7.1 (Berkeley) 6/5/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 ENTYPE_PUP  0x0200      /* PUP protocol */
  19: #define ENTYPE_IP   0x0201      /* IP protocol */
  20: 
  21: /*
  22:  * The ENTYPE_NTRAILER packet types starting at
  23:  * ENTYPE_TRAIL have (type-ENTYPE_TRAIL)*512 bytes
  24:  * of data followed by an Ethernet type (as given above)
  25:  * and then the (variable-length) header.
  26:  */
  27: #define ENTYPE_TRAIL    0x1000      /* Trailer type */
  28: #define ENTYPE_NTRAILER 16
  29: 
  30: #define EN_BROADCAST    0       /* Hardware broadcast address */

Defined struct's

en_header defined in line 12; never used

Defined macros

ENTYPE_IP defined in line 19; never used
ENTYPE_NTRAILER defined in line 28; never used
ENTYPE_PUP defined in line 18; never used
ENTYPE_TRAIL defined in line 27; never used
EN_BROADCAST defined in line 30; never used
Last modified: 1986-06-05
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1020
Valid CSS Valid XHTML 1.0 Strict