Changeset View
Changeset View
Standalone View
Standalone View
sys/netpfil/ipfilter/netinet/ip_htable.h
| Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Lines | #endif | ||||
| u_32_t iph_flags; | u_32_t iph_flags; | ||||
| u_int iph_unit; /* IPL_LOG* */ | u_int iph_unit; /* IPL_LOG* */ | ||||
| u_int iph_ref; | u_int iph_ref; | ||||
| u_int iph_type; /* lookup or group map - IPHASH_* */ | u_int iph_type; /* lookup or group map - IPHASH_* */ | ||||
| u_int iph_maskset[4]; /* netmasks in use */ | u_int iph_maskset[4]; /* netmasks in use */ | ||||
| char iph_name[FR_GROUPLEN]; /* hash table number */ | char iph_name[FR_GROUPLEN]; /* hash table number */ | ||||
| } iphtable_t; | } iphtable_t; | ||||
| #define IPHTABLE_MAX_SIZE 1024 | |||||
| /* iph_type */ | /* iph_type */ | ||||
| #define IPHASH_LOOKUP 0 | #define IPHASH_LOOKUP 0 | ||||
| #define IPHASH_GROUPMAP 1 | #define IPHASH_GROUPMAP 1 | ||||
| #define IPHASH_DELETE 2 | #define IPHASH_DELETE 2 | ||||
| #define IPHASH_ANON 0x80000000 | #define IPHASH_ANON 0x80000000 | ||||
| typedef struct iphtstat_s { | typedef struct iphtstat_s { | ||||
| Show All 16 Lines | |||||