diff options
Diffstat (limited to 'sys/netinet/icmp_var.h')
| -rw-r--r-- | sys/netinet/icmp_var.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/sys/netinet/icmp_var.h b/sys/netinet/icmp_var.h index 34ab22bf56f2..47454f89b51d 100644 --- a/sys/netinet/icmp_var.h +++ b/sys/netinet/icmp_var.h @@ -31,9 +31,12 @@ * SUCH DAMAGE. * * from: @(#)icmp_var.h 7.5 (Berkeley) 6/28/90 - * $Id: icmp_var.h,v 1.2 1993/10/16 18:25:52 rgrimes Exp $ + * $Id: icmp_var.h,v 1.5 1993/12/19 00:52:29 wollman Exp $ */ +#ifndef _NETINET_ICMP_VAR_H_ +#define _NETINET_ICMP_VAR_H_ 1 + /* * Variables related to this implementation * of the internet control message protocol. @@ -43,6 +46,8 @@ 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_oldmcast; /* no error 'cuz old was multicast */ + int icps_oldbadaddr; /* no error 'cuz old had bad address */ int icps_outhist[ICMP_MAXTYPE + 1]; /* statistics related to input messages processed */ int icps_badcode; /* icmp_code out of range */ @@ -54,5 +59,10 @@ struct icmpstat { }; #ifdef KERNEL -struct icmpstat icmpstat; +extern struct icmpstat icmpstat; +extern int icmpprintfs; +extern int ipbroadcastecho; +extern int ipmaskagent; +extern struct sockaddr_in icmpmask; #endif +#endif /* _NETINET_ICMP_VAR_H_ */ |
