Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/icmp_var.h
Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Lines | /* statistics related to input messages processed */ | ||||
u_long icps_checksum; /* bad checksum */ | u_long icps_checksum; /* bad checksum */ | ||||
u_long icps_badlen; /* calculated bound mismatch */ | u_long icps_badlen; /* calculated bound mismatch */ | ||||
u_long icps_reflect; /* number of responses */ | u_long icps_reflect; /* number of responses */ | ||||
u_long icps_inhist[ICMP_MAXTYPE + 1]; | u_long icps_inhist[ICMP_MAXTYPE + 1]; | ||||
u_long icps_bmcastecho; /* b/mcast echo requests dropped */ | u_long icps_bmcastecho; /* b/mcast echo requests dropped */ | ||||
u_long icps_bmcasttstamp; /* b/mcast tstamp requests dropped */ | u_long icps_bmcasttstamp; /* b/mcast tstamp requests dropped */ | ||||
u_long icps_badaddr; /* bad return address */ | u_long icps_badaddr; /* bad return address */ | ||||
u_long icps_noroute; /* no route back */ | u_long icps_noroute; /* no route back */ | ||||
u_long icps_pmtuchg; /* path MTU changes */ | |||||
}; | }; | ||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
#include <sys/counter.h> | #include <sys/counter.h> | ||||
VNET_PCPUSTAT_DECLARE(struct icmpstat, icmpstat); | VNET_PCPUSTAT_DECLARE(struct icmpstat, icmpstat); | ||||
/* | /* | ||||
* In-kernel consumers can use these accessor macros directly to update | * In-kernel consumers can use these accessor macros directly to update | ||||
Show All 37 Lines |