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
- in /usr/src/sys/netinet/ip_icmp.c line
58,
67,
83,
149,
155,
163,
179,
211,
224,
233,
262-263(2),
269
Defined struct's
Usage of this include