1*11531Ssam /* icmp_var.h 4.2 83/03/10 */ 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 */ 1411530Ssam int icps_tooshort; /* packet < ICMP_MINLEN */ 1511530Ssam int icps_checksum; /* bad checksum */ 1611530Ssam int icps_badlen; /* calculated bound mismatch */ 1711530Ssam int icps_reflect; /* number of responses */ 1811530Ssam int icps_inhist[ICMP_IREQREPLY + 1]; 1911530Ssam }; 2011530Ssam 2111530Ssam #ifdef KERNEL 22*11531Ssam struct icmpstat icmpstat; 2311530Ssam #endif 24