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:  *	@(#)icmp_var.h	7.1 (Berkeley) 6/5/86
   7:  */
   8: 
   9: /*
  10:  * Variables related to this implementation
  11:  * of the internet control message protocol.
  12:  */
  13: struct  icmpstat {
  14: /* statistics related to icmp packets generated */
  15:     int icps_error;     /* # of calls to icmp_error */
  16:     int icps_oldshort;      /* no error 'cuz old ip too short */
  17:     int icps_oldicmp;       /* no error 'cuz old was icmp */
  18:     int icps_outhist[ICMP_IREQREPLY + 1];
  19: /* statistics related to input messages processed */
  20:     int icps_badcode;       /* icmp_code out of range */
  21:     int icps_tooshort;      /* packet < ICMP_MINLEN */
  22:     int icps_checksum;      /* bad checksum */
  23:     int icps_badlen;        /* calculated bound mismatch */
  24:     int icps_reflect;       /* number of responses */
  25:     int icps_inhist[ICMP_IREQREPLY + 1];
  26: };
  27: 
  28: #ifdef KERNEL
  29: struct  icmpstat icmpstat;
  30: #endif

Defined variables

icmpstat defined in line 29; used 13 times

Defined struct's

icmpstat defined in line 13; used 2 times
  • in line 29(2)

Usage of this include

Last modified: 1986-06-05
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 856
Valid CSS Valid XHTML 1.0 Strict