Changeset View
Changeset View
Standalone View
Standalone View
sys/net/pfvar.h
Show First 20 Lines • Show All 625 Lines • ▼ Show 20 Lines | struct pf_kpool { | ||||
struct pf_addr counter; | struct pf_addr counter; | ||||
struct pf_mape_portset mape; | struct pf_mape_portset mape; | ||||
int tblidx; | int tblidx; | ||||
u_int16_t proxy_port[2]; | u_int16_t proxy_port[2]; | ||||
u_int8_t opts; | u_int8_t opts; | ||||
}; | }; | ||||
struct pf_rule_actions { | struct pf_rule_actions { | ||||
int rtableid; | int32_t rtableid; | ||||
uint16_t qid; | uint16_t qid; | ||||
uint16_t pqid; | uint16_t pqid; | ||||
uint16_t max_mss; | uint16_t max_mss; | ||||
uint8_t log; | uint8_t log; | ||||
uint8_t set_tos; | uint8_t set_tos; | ||||
uint8_t min_ttl; | uint8_t min_ttl; | ||||
uint16_t dnpipe; | uint16_t dnpipe; | ||||
uint16_t dnrpipe; /* Reverse direction pipe */ | uint16_t dnrpipe; /* Reverse direction pipe */ | ||||
▲ Show 20 Lines • Show All 131 Lines • ▼ Show 20 Lines | struct pf_krule { | ||||
time_t *timestamp; | time_t *timestamp; | ||||
struct pfi_kkif *kif; | struct pfi_kkif *kif; | ||||
struct pf_kanchor *anchor; | struct pf_kanchor *anchor; | ||||
struct pfr_ktable *overload_tbl; | struct pfr_ktable *overload_tbl; | ||||
pf_osfp_t os_fingerprint; | pf_osfp_t os_fingerprint; | ||||
int rtableid; | int32_t rtableid; | ||||
u_int32_t timeout[PFTM_MAX]; | u_int32_t timeout[PFTM_MAX]; | ||||
u_int32_t max_states; | u_int32_t max_states; | ||||
u_int32_t max_src_nodes; | u_int32_t max_src_nodes; | ||||
u_int32_t max_src_states; | u_int32_t max_src_states; | ||||
u_int32_t max_src_conn; | u_int32_t max_src_conn; | ||||
struct { | struct { | ||||
u_int32_t limit; | u_int32_t limit; | ||||
u_int32_t seconds; | u_int32_t seconds; | ||||
▲ Show 20 Lines • Show All 257 Lines • ▼ Show 20 Lines | struct pf_kstate { | ||||
u_int32_t expire; | u_int32_t expire; | ||||
u_int32_t pfsync_time; | u_int32_t pfsync_time; | ||||
u_int16_t qid; | u_int16_t qid; | ||||
u_int16_t pqid; | u_int16_t pqid; | ||||
u_int16_t dnpipe; | u_int16_t dnpipe; | ||||
u_int16_t dnrpipe; | u_int16_t dnrpipe; | ||||
u_int16_t tag; | u_int16_t tag; | ||||
u_int8_t log; | u_int8_t log; | ||||
int rtableid; | int32_t rtableid; | ||||
u_int8_t min_ttl; | u_int8_t min_ttl; | ||||
u_int8_t set_tos; | u_int8_t set_tos; | ||||
u_int16_t max_mss; | u_int16_t max_mss; | ||||
}; | }; | ||||
/* | /* | ||||
* Size <= fits 12 objects per page on LP64. Try to not grow the struct beyond that. | * Size <= fits 12 objects per page on LP64. Try to not grow the struct beyond that. | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 1,370 Lines • Show Last 20 Lines |