Changeset View
Changeset View
Standalone View
Standalone View
sys/netpfil/ipfw/ip_fw_private.h
Show First 20 Lines • Show All 296 Lines • ▼ Show 20 Lines | struct ip_fw_chain { | ||||
int *idxmap; /* skipto array of rules */ | int *idxmap; /* skipto array of rules */ | ||||
void **srvstate; /* runtime service mappings */ | void **srvstate; /* runtime service mappings */ | ||||
#if defined( __linux__ ) || defined( _WIN32 ) | #if defined( __linux__ ) || defined( _WIN32 ) | ||||
spinlock_t rwmtx; | spinlock_t rwmtx; | ||||
#else | #else | ||||
struct rmlock rwmtx; | struct rmlock rwmtx; | ||||
#endif | #endif | ||||
int static_len; /* total len of static rules (v0) */ | int static_len; /* total len of static rules (v0) */ | ||||
uint32_t gencnt; /* NAT generation count */ | struct nat_list *nat; /* nat instances */ | ||||
LIST_HEAD(nat_list, cfg_nat) nat; /* list of nat entries */ | |||||
struct ip_fw *default_rule; | struct ip_fw *default_rule; | ||||
struct tables_config *tblcfg; /* tables module data */ | struct tables_config *tblcfg; /* tables module data */ | ||||
void *ifcfg; /* interface module data */ | void *ifcfg; /* interface module data */ | ||||
int *idxmap_back; /* standby skipto array of rules */ | int *idxmap_back; /* standby skipto array of rules */ | ||||
struct namedobj_instance *srvmap; /* cfg name->number mappings */ | struct namedobj_instance *srvmap; /* cfg name->number mappings */ | ||||
#if defined( __linux__ ) || defined( _WIN32 ) | #if defined( __linux__ ) || defined( _WIN32 ) | ||||
spinlock_t uh_lock; | spinlock_t uh_lock; | ||||
#else | #else | ||||
▲ Show 20 Lines • Show All 510 Lines • Show Last 20 Lines |