diff options
author | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2002-11-23 05:22:25 +0000 |
---|---|---|
committer | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2002-11-23 05:22:25 +0000 |
commit | 06753c3fd451cfd13f5a2063c539f12d67d5c991 (patch) | |
tree | 4e255b25bd0c5d522b84b3185b1d97b67a93de91 /sbin/pfctl/pfctl_parser.h | |
parent | 1691df433770a29ad8547bf930bf7b9429c95b7c (diff) |
code to support loading of pf rules with multiple redirection addresses
(in nat, rdr, route-to, dup-to and reply-to)
Syntax looks like this, see pf.conf(5) for details:
nat on wi0 proto { tcp, icmp } from any to 192.168.0.2 -> \
192.168.0.16/29 source-hash random
rdr on wi0 proto { tcp } from any to 192.168.0.34 port 22 -> \
{ 192.168.0.8/31, 192.168.0.15 } port 22 round-robin
ok dhartmei@ henning@
Diffstat (limited to 'sbin/pfctl/pfctl_parser.h')
-rw-r--r-- | sbin/pfctl/pfctl_parser.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/pfctl/pfctl_parser.h b/sbin/pfctl/pfctl_parser.h index 29c30e3685f..38b11a4e54f 100644 --- a/sbin/pfctl/pfctl_parser.h +++ b/sbin/pfctl/pfctl_parser.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl_parser.h,v 1.27 2002/11/18 22:49:15 henning Exp $ */ +/* $OpenBSD: pfctl_parser.h,v 1.28 2002/11/23 05:22:24 mcbride Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -57,6 +57,7 @@ struct pfctl { int dev; int opts; u_int16_t rule_nr; + struct pfioc_pooladdr paddr; struct pfioc_rule *prule; struct pfioc_nat *pnat; struct pfioc_binat *pbinat; |