Home
last modified time | relevance | path

Searched refs:old_rules (Results 1 – 2 of 2) sorted by relevance

/openbsd/sbin/pfctl/
H A Dpfctl_optimize.c271 struct pf_rulequeue *old_rules; in pfctl_optimize_ruleset() local
281 old_rules = rs->rules.active.ptr; in pfctl_optimize_ruleset()
283 rs->rules.inactive.ptr = old_rules; in pfctl_optimize_ruleset()
/openbsd/sys/net/
H A Dpf_ioctl.c860 struct pf_rulequeue *old_rules; in pf_commit_rules() local
874 old_rules = rs->rules.active.ptr; in pf_commit_rules()
879 rs->rules.inactive.ptr = old_rules; in pf_commit_rules()
887 while ((rule = TAILQ_FIRST(old_rules)) != NULL) in pf_commit_rules()
888 pf_rm_rule(old_rules, rule); in pf_commit_rules()