1*15028Smckusick /* icmp_var.h 6.2 83/09/19 */ 211530Ssam 311530Ssam /* 411530Ssam * Variables related to this implementation 511530Ssam * of the internet control message protocol. 611530Ssam */ 711530Ssam struct icmpstat { 811530Ssam /* statistics related to icmp packets generated */ 911530Ssam int icps_error; /* # of calls to icmp_error */ 1011530Ssam int icps_oldshort; /* no error 'cuz old ip too short */ 1111530Ssam int icps_oldicmp; /* no error 'cuz old was icmp */ 1211530Ssam int icps_outhist[ICMP_IREQREPLY + 1]; 1311530Ssam /* statistics related to input messages processed */ 14*15028Smckusick int icps_badcode; /* icmp_code out of range */ 1511530Ssam int icps_tooshort; /* packet < ICMP_MINLEN */ 1611530Ssam int icps_checksum; /* bad checksum */ 1711530Ssam int icps_badlen; /* calculated bound mismatch */ 1811530Ssam int icps_reflect; /* number of responses */ 1911530Ssam int icps_inhist[ICMP_IREQREPLY + 1]; 2011530Ssam }; 2111530Ssam 2211530Ssam #ifdef KERNEL 2311531Ssam struct icmpstat icmpstat; 2411530Ssam #endif 25