Changeset View
Changeset View
Standalone View
Standalone View
sys/net/pfvar.h
Show First 20 Lines • Show All 286 Lines • ▼ Show 20 Lines | ((aw)->type == PF_ADDR_ADDRMASK && \ | ||||
!PF_AZERO(&(aw)->v.a.mask, (af)) && \ | !PF_AZERO(&(aw)->v.a.mask, (af)) && \ | ||||
!PF_MATCHA(0, &(aw)->v.a.addr, \ | !PF_MATCHA(0, &(aw)->v.a.addr, \ | ||||
&(aw)->v.a.mask, (x), (af))))) != \ | &(aw)->v.a.mask, (x), (af))))) != \ | ||||
(neg) \ | (neg) \ | ||||
) | ) | ||||
#define PF_ALGNMNT(off) (((off) % 2) == 0) | #define PF_ALGNMNT(off) (((off) % 2) == 0) | ||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
donner: It's kernel intern only. So I'm fine. | |||||
struct pf_kpooladdr { | struct pf_kpooladdr { | ||||
struct pf_addr_wrap addr; | struct pf_addr_wrap addr; | ||||
TAILQ_ENTRY(pf_kpooladdr) entries; | TAILQ_ENTRY(pf_kpooladdr) entries; | ||||
char ifname[IFNAMSIZ]; | char ifname[IFNAMSIZ]; | ||||
struct pfi_kkif *kif; | struct pfi_kkif *kif; | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | struct pf_krule { | ||||
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; | ||||
} max_src_conn_rate; | } max_src_conn_rate; | ||||
u_int32_t qid; | u_int32_t qid; | ||||
u_int32_t pqid; | u_int32_t pqid; | ||||
u_int32_t rt_listid; | |||||
u_int32_t nr; | u_int32_t nr; | ||||
u_int32_t prob; | u_int32_t prob; | ||||
uid_t cuid; | uid_t cuid; | ||||
pid_t cpid; | pid_t cpid; | ||||
counter_u64_t states_cur; | counter_u64_t states_cur; | ||||
counter_u64_t states_tot; | counter_u64_t states_tot; | ||||
counter_u64_t src_nodes; | counter_u64_t src_nodes; | ||||
▲ Show 20 Lines • Show All 1,322 Lines • Show Last 20 Lines |
It's kernel intern only. So I'm fine.