last line botched (fix from Mike Laman, NCR Torrey Pines)
[unix-history] / usr / src / sys / netinet / icmp_var.h
CommitLineData
a60889ab 1/* icmp_var.h 6.2 83/09/19 */
3184272b
SL
2
3/*
4 * Variables related to this implementation
5 * of the internet control message protocol.
6 */
7struct icmpstat {
8/* statistics related to icmp packets generated */
9 int icps_error; /* # of calls to icmp_error */
10 int icps_oldshort; /* no error 'cuz old ip too short */
11 int icps_oldicmp; /* no error 'cuz old was icmp */
12 int icps_outhist[ICMP_IREQREPLY + 1];
13/* statistics related to input messages processed */
a60889ab 14 int icps_badcode; /* icmp_code out of range */
3184272b
SL
15 int icps_tooshort; /* packet < ICMP_MINLEN */
16 int icps_checksum; /* bad checksum */
17 int icps_badlen; /* calculated bound mismatch */
18 int icps_reflect; /* number of responses */
19 int icps_inhist[ICMP_IREQREPLY + 1];
20};
21
22#ifdef KERNEL
f5f59dbd 23struct icmpstat icmpstat;
3184272b 24#endif