Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/icmp6.h
Show First 20 Lines • Show All 636 Lines • ▼ Show 20 Lines | #define icp6s_ounknown icp6s_outerrhist.icp6errs_unknown | ||||
uint64_t icp6s_badredirect; /* bad redirect message */ | uint64_t icp6s_badredirect; /* bad redirect message */ | ||||
uint64_t icp6s_overflowdefrtr; /* Too many default routers. */ | uint64_t icp6s_overflowdefrtr; /* Too many default routers. */ | ||||
uint64_t icp6s_overflowprfx; /* Too many prefixes. */ | uint64_t icp6s_overflowprfx; /* Too many prefixes. */ | ||||
uint64_t icp6s_overflownndp; /* Too many neighbour entries. */ | uint64_t icp6s_overflownndp; /* Too many neighbour entries. */ | ||||
uint64_t icp6s_overflowredirect;/* Too many redirects. */ | uint64_t icp6s_overflowredirect;/* Too many redirects. */ | ||||
uint64_t icp6s_invlhlim; /* Invalid hop limit. */ | uint64_t icp6s_invlhlim; /* Invalid hop limit. */ | ||||
uint64_t icp6s_spare[32]; | uint64_t icp6s_spare[32]; | ||||
}; | }; | ||||
#define ICMP6STAT_VER 1 | |||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
#include <sys/counter.h> | #include <sys/counter.h> | ||||
VNET_PCPUSTAT_DECLARE(struct icmp6stat, icmp6stat); | VNET_PCPUSTAT_DECLARE(struct icmp6stat, icmp6stat); | ||||
/* | /* | ||||
* In-kernel consumers can use these accessor macros directly to update | * In-kernel consumers can use these accessor macros directly to update | ||||
* stats. | * stats. | ||||
▲ Show 20 Lines • Show All 137 Lines • Show Last 20 Lines |