yet another torek fix
[unix-history] / usr / src / sys / netinet / icmp_var.h
index 23249c8..632c709 100644 (file)
@@ -1,4 +1,11 @@
-/*     icmp_var.h      6.1     83/07/29        */
+/*
+ * Copyright (c) 1982, 1986 Regents of the University of California.
+ * All rights reserved.
+ *
+ * %sccs.include.redist.c%
+ *
+ *     @(#)icmp_var.h  7.5 (Berkeley) %G%
+ */
 
 /*
  * Variables related to this implementation
 
 /*
  * Variables related to this implementation
@@ -9,13 +16,14 @@ struct       icmpstat {
        int     icps_error;             /* # of calls to icmp_error */
        int     icps_oldshort;          /* no error 'cuz old ip too short */
        int     icps_oldicmp;           /* no error 'cuz old was icmp */
        int     icps_error;             /* # of calls to icmp_error */
        int     icps_oldshort;          /* no error 'cuz old ip too short */
        int     icps_oldicmp;           /* no error 'cuz old was icmp */
-       int     icps_outhist[ICMP_IREQREPLY + 1];
+       int     icps_outhist[ICMP_MAXTYPE + 1];
 /* statistics related to input messages processed */
 /* statistics related to input messages processed */
+       int     icps_badcode;           /* icmp_code out of range */
        int     icps_tooshort;          /* packet < ICMP_MINLEN */
        int     icps_checksum;          /* bad checksum */
        int     icps_badlen;            /* calculated bound mismatch */
        int     icps_reflect;           /* number of responses */
        int     icps_tooshort;          /* packet < ICMP_MINLEN */
        int     icps_checksum;          /* bad checksum */
        int     icps_badlen;            /* calculated bound mismatch */
        int     icps_reflect;           /* number of responses */
-       int     icps_inhist[ICMP_IREQREPLY + 1];
+       int     icps_inhist[ICMP_MAXTYPE + 1];
 };
 
 #ifdef KERNEL
 };
 
 #ifdef KERNEL