Changeset View
Changeset View
Standalone View
Standalone View
lib/libpfctl/libpfctl.h
Show First 20 Lines • Show All 347 Lines • ▼ Show 20 Lines | struct pfctl_state { | ||||
char orig_ifname[IFNAMSIZ]; | char orig_ifname[IFNAMSIZ]; | ||||
uint64_t packets[2]; | uint64_t packets[2]; | ||||
uint64_t bytes[2]; | uint64_t bytes[2]; | ||||
uint32_t creation; | uint32_t creation; | ||||
uint32_t expire; | uint32_t expire; | ||||
uint32_t pfsync_time; | uint32_t pfsync_time; | ||||
uint16_t state_flags; | uint16_t state_flags; | ||||
uint32_t sync_flags; | uint32_t sync_flags; | ||||
uint16_t qid; | |||||
uint16_t pqid; | |||||
uint16_t dnpipe; | |||||
uint16_t dnrpipe; | |||||
uint8_t log; | |||||
int32_t rtableid; | |||||
uint8_t min_ttl; | |||||
uint8_t set_tos; | |||||
uint16_t max_mss; | |||||
uint8_t set_prio[2]; | |||||
uint8_t rt; | |||||
char rt_ifname[IFNAMSIZ]; | |||||
}; | }; | ||||
TAILQ_HEAD(pfctl_statelist, pfctl_state); | TAILQ_HEAD(pfctl_statelist, pfctl_state); | ||||
struct pfctl_states { | struct pfctl_states { | ||||
struct pfctl_statelist states; | struct pfctl_statelist states; | ||||
size_t count; | size_t count; | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 60 Lines • Show Last 20 Lines |