Changeset View
Changeset View
Standalone View
Standalone View
sys/netpfil/pf/pf.h
Show First 20 Lines • Show All 154 Lines • ▼ Show 20 Lines | |||||
/* Counters for other things we want to keep track of */ | /* Counters for other things we want to keep track of */ | ||||
#define LCNT_STATES 0 /* states */ | #define LCNT_STATES 0 /* states */ | ||||
#define LCNT_SRCSTATES 1 /* max-src-states */ | #define LCNT_SRCSTATES 1 /* max-src-states */ | ||||
#define LCNT_SRCNODES 2 /* max-src-nodes */ | #define LCNT_SRCNODES 2 /* max-src-nodes */ | ||||
#define LCNT_SRCCONN 3 /* max-src-conn */ | #define LCNT_SRCCONN 3 /* max-src-conn */ | ||||
#define LCNT_SRCCONNRATE 4 /* max-src-conn-rate */ | #define LCNT_SRCCONNRATE 4 /* max-src-conn-rate */ | ||||
#define LCNT_OVERLOAD_TABLE 5 /* entry added to overload table */ | #define LCNT_OVERLOAD_TABLE 5 /* entry added to overload table */ | ||||
#define LCNT_OVERLOAD_FLUSH 6 /* state entries flushed */ | #define LCNT_OVERLOAD_FLUSH 6 /* state entries flushed */ | ||||
#define LCNT_MAX 7 /* total+1 */ | #define LCNT_SYNCOOKIES_VALID 7 /* syncookies validated */ /* XXX TODO: Ensure no API breakage! */ | ||||
#define LCNT_MAX 8 /* total+1 */ | |||||
#define LCNT_NAMES { \ | #define LCNT_NAMES { \ | ||||
"max states per rule", \ | "max states per rule", \ | ||||
"max-src-states", \ | "max-src-states", \ | ||||
"max-src-nodes", \ | "max-src-nodes", \ | ||||
"max-src-conn", \ | "max-src-conn", \ | ||||
"max-src-conn-rate", \ | "max-src-conn-rate", \ | ||||
"overload table insertion", \ | "overload table insertion", \ | ||||
▲ Show 20 Lines • Show All 482 Lines • Show Last 20 Lines |