diff options
author | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2002-01-08 09:31:56 +0000 |
---|---|---|
committer | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2002-01-08 09:31:56 +0000 |
commit | a552b62097977063fbf11685c37d74a95ab1c2d0 (patch) | |
tree | 87ca8f952e95e91705845aba4aa423c30ae7c477 /sys/net/pfvar.h | |
parent | af921bec4f4a1f61a028d8032af5f3316641778e (diff) |
Add "no nat/rdr/binat" to nat.conf. The first matching rule applies.
If it is a "no" rule, no translation occurs. Useful to exclude certain
packets from translation. Suggested by Henning Brauer.
Diffstat (limited to 'sys/net/pfvar.h')
-rw-r--r-- | sys/net/pfvar.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h index 5236f0322a1..3a1cc53f793 100644 --- a/sys/net/pfvar.h +++ b/sys/net/pfvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pfvar.h,v 1.58 2001/12/10 18:28:32 dhartmei Exp $ */ +/* $OpenBSD: pfvar.h,v 1.59 2002/01/08 09:31:55 dhartmei Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -299,6 +299,7 @@ struct pf_nat { u_int8_t snot; u_int8_t dnot; u_int8_t ifnot; + u_int8_t no; }; struct pf_binat { @@ -312,6 +313,7 @@ struct pf_binat { u_int8_t af; u_int8_t proto; u_int8_t dnot; + u_int8_t no; }; struct pf_rdr { @@ -332,6 +334,7 @@ struct pf_rdr { u_int8_t dnot; u_int8_t ifnot; u_int8_t opts; + u_int8_t no; }; struct pf_tree_key { |