Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/stats.h
| Show First 20 Lines • Show All 52 Lines • ▼ Show 20 Lines | |||||
| * blob or move to packed structs? Relates to inter-host | * blob or move to packed structs? Relates to inter-host | ||||
| * serialisation/endian issues. | * serialisation/endian issues. | ||||
| */ | */ | ||||
| #ifndef _SYS_STATS_H_ | #ifndef _SYS_STATS_H_ | ||||
| #define _SYS_STATS_H_ | #define _SYS_STATS_H_ | ||||
| #include <sys/limits.h> | #include <sys/limits.h> | ||||
| #ifdef DIAGNOSTIC | |||||
| #include <sys/tree.h> | |||||
| #endif | |||||
| #ifndef _KERNEL | #ifndef _KERNEL | ||||
| /* | /* | ||||
| * XXXLAS: Hacks to enable sharing template creation code between kernel and | * XXXLAS: Hacks to enable sharing template creation code between kernel and | ||||
| * userland e.g. tcp_stats.c | * userland e.g. tcp_stats.c | ||||
| */ | */ | ||||
| #define VNET(n) n | #define VNET(n) n | ||||
| #define VNET_DEFINE(t, n) static t n __unused | #define VNET_DEFINE(t, n) static t n __unused | ||||
| ▲ Show 20 Lines • Show All 1,184 Lines • Show Last 20 Lines | |||||