#include <netinet/icmp_var.h>
netinet/icmp_var.h
structicmpstat
Variables related to this implementation
of the internet control message protocol.
| u_int32_t | icps_error | statistics related to icmp packets generated # of calls to icmp_error |
| u_int32_t | icps_oldshort | no error 'cuz old ip too short |
| u_int32_t | icps_oldicmp | no error 'cuz old was icmp |
| u_int32_t[41] | icps_outhist | |
| u_int32_t | icps_badcode | statistics related to input messages processed icmp_code out of range |
| u_int32_t | icps_tooshort | packet < ICMP_MINLEN |
| u_int32_t | icps_checksum | bad checksum |
| u_int32_t | icps_badlen | calculated bound mismatch |
| u_int32_t | icps_reflect | number of responses |
| u_int32_t[41] | icps_inhist | |
| u_int32_t | icps_bmcastecho | b/mcast echo requests dropped |
| u_int32_t | icps_bmcasttstamp | b/mcast tstamp requests dropped |
macroICMPCTL_MASKREPL
Names for ICMP sysctl objects
#define ICMPCTL_MASKREPL 1
allow replies to netmask requests
macroICMPCTL_ICMPLIM
#define ICMPCTL_ICMPLIM 3
macroICMPCTL_ICMPLIM_INCR
#define ICMPCTL_ICMPLIM_INCR 5
macroICMPCTL_MAXID
#define ICMPCTL_MAXID 6