1*11530Ssam /* icmp_var.h 4.1 83/03/10 */ 2*11530Ssam 3*11530Ssam /* 4*11530Ssam * Variables related to this implementation 5*11530Ssam * of the internet control message protocol. 6*11530Ssam */ 7*11530Ssam struct icmpstat { 8*11530Ssam /* statistics related to icmp packets generated */ 9*11530Ssam int icps_error; /* # of calls to icmp_error */ 10*11530Ssam int icps_oldshort; /* no error 'cuz old ip too short */ 11*11530Ssam int icps_oldicmp; /* no error 'cuz old was icmp */ 12*11530Ssam int icps_outhist[ICMP_IREQREPLY + 1]; 13*11530Ssam /* statistics related to input messages processed */ 14*11530Ssam int icps_tooshort; /* packet < ICMP_MINLEN */ 15*11530Ssam int icps_checksum; /* bad checksum */ 16*11530Ssam int icps_badlen; /* calculated bound mismatch */ 17*11530Ssam int icps_reflect; /* number of responses */ 18*11530Ssam int icps_inhist[ICMP_IREQREPLY + 1]; 19*11530Ssam }; 20*11530Ssam 21*11530Ssam #ifdef KERNEL 22*11530Ssam struct impcstat icmpstat; 23*11530Ssam #endif 24