Home
last modified time | relevance | path

Searched refs:PF_ADDR_NONE (Results 1 – 9 of 9) sorted by relevance

/openbsd/src/sys/net/
Dpf_lb.c725 if (r->nat.addr.type != PF_ADDR_NONE) { in pf_get_transaddr()
741 if (r->rdr.addr.type != PF_ADDR_NONE) { in pf_get_transaddr()
787 r->rdr.addr.type == PF_ADDR_NONE ? "nat" : "rdr"); in pf_get_transaddr_af()
794 if (r->nat.addr.type == PF_ADDR_NONE) in pf_get_transaddr_af()
844 if (r->rdr.addr.type != PF_ADDR_NONE) { in pf_get_transaddr_af()
895 r->rdr.addr.type == PF_ADDR_NONE ? "nat" : "rdr", in pf_get_transaddr_af()
939 if (nr->rdr.addr.type != PF_ADDR_NONE) in pf_postprocess_addr()
941 else if (nr->nat.addr.type != PF_ADDR_NONE) in pf_postprocess_addr()
943 else if (nr->route.addr.type != PF_ADDR_NONE) in pf_postprocess_addr()
Dpf_ioctl.c268 pf_default_rule.rdr.addr.type = PF_ADDR_NONE; in pfattach()
269 pf_default_rule.nat.addr.type = PF_ADDR_NONE; in pfattach()
270 pf_default_rule.route.addr.type = PF_ADDR_NONE; in pfattach()
1387 if (rule->src.addr.type == PF_ADDR_NONE || in pfioctl()
1388 rule->dst.addr.type == PF_ADDR_NONE) { in pfioctl()
Dpfvar.h144 PF_ADDR_RANGE, PF_ADDR_NONE }; enumerator
Dpf.c2264 case PF_ADDR_NONE: in pf_addr_wrap_neq()
/openbsd/src/usr.sbin/tftp-proxy/
Dfilter.c191 pfr.rule.rdr.addr.type = PF_ADDR_NONE; in prepare_rule()
192 pfr.rule.nat.addr.type = PF_ADDR_NONE; in prepare_rule()
/openbsd/src/usr.sbin/ftp-proxy/
Dfilter.c208 pfr.rule.nat.addr.type = PF_ADDR_NONE; in prepare_rule()
209 pfr.rule.rdr.addr.type = PF_ADDR_NONE; in prepare_rule()
/openbsd/src/usr.sbin/relayd/
Dpfe_filter.c445 rio.rule.nat.addr.type = PF_ADDR_NONE; in sync_ruleset()
488 rio.rule.rdr.addr.type = PF_ADDR_NONE; in sync_ruleset()
/openbsd/src/sbin/pfctl/
Dpfctl_parser.c1136 if (!anchor_call[0] && r->nat.addr.type != PF_ADDR_NONE && in print_rule()
1142 if (r->rdr.addr.type != PF_ADDR_NONE) { in print_rule()
1148 } else if (!anchor_call[0] && r->nat.addr.type != PF_ADDR_NONE) { in print_rule()
1153 } else if (!anchor_call[0] && r->rdr.addr.type != PF_ADDR_NONE) { in print_rule()
Dparse.y3935 if ((r->nat.addr.type != PF_ADDR_NONE || in rule_consistent()
3936 r->rdr.addr.type != PF_ADDR_NONE) && in rule_consistent()
3941 if (r->direction == PF_INOUT && (r->nat.addr.type != PF_ADDR_NONE || in rule_consistent()
3942 r->rdr.addr.type != PF_ADDR_NONE)) { in rule_consistent()
4396 rpool->addr.type = PF_ADDR_NONE; in collapse_redirspec()
4477 (hprev && hprev->addr.type != PF_ADDR_NONE) && in collapse_redirspec()
4479 h->addr.type != PF_ADDR_NONE) { in collapse_redirspec()