Changeset View
Changeset View
Standalone View
Standalone View
lib/libpfctl/libpfctl.h
Show First 20 Lines • Show All 185 Lines • ▼ Show 20 Lines | |||||
}; | }; | ||||
struct pfctl_kill { | struct pfctl_kill { | ||||
struct pfctl_state_cmp cmp; | struct pfctl_state_cmp cmp; | ||||
sa_family_t af; | sa_family_t af; | ||||
int proto; | int proto; | ||||
struct pf_rule_addr src; | struct pf_rule_addr src; | ||||
struct pf_rule_addr dst; | struct pf_rule_addr dst; | ||||
struct pf_rule_addr rt_addr; | |||||
char ifname[IFNAMSIZ]; | char ifname[IFNAMSIZ]; | ||||
char label[PF_RULE_LABEL_SIZE]; | char label[PF_RULE_LABEL_SIZE]; | ||||
}; | }; | ||||
int pfctl_get_rule(int dev, u_int32_t nr, u_int32_t ticket, | int pfctl_get_rule(int dev, u_int32_t nr, u_int32_t ticket, | ||||
const char *anchor, u_int32_t ruleset, struct pfctl_rule *rule, | const char *anchor, u_int32_t ruleset, struct pfctl_rule *rule, | ||||
char *anchor_call); | char *anchor_call); | ||||
int pfctl_get_clear_rule(int dev, u_int32_t nr, u_int32_t ticket, | int pfctl_get_clear_rule(int dev, u_int32_t nr, u_int32_t ticket, | ||||
Show All 12 Lines |