diff options
author | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2003-01-04 17:40:52 +0000 |
---|---|---|
committer | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2003-01-04 17:40:52 +0000 |
commit | 64dbb61a29a5756fc001ac259d55a94c0e13a020 (patch) | |
tree | fcf24cd6f682a42af37478357a7f7dce48ae83bd /sys/net/pfvar.h | |
parent | a7c15f8bfc60b7168a88c35f292b71db66376f26 (diff) |
move noroute from flag in pf_rule_addr into type in pf_addr_wrap.
ok henning@, mcbride@
Diffstat (limited to 'sys/net/pfvar.h')
-rw-r--r-- | sys/net/pfvar.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h index a122a2dad4c..7c6dde9a0c0 100644 --- a/sys/net/pfvar.h +++ b/sys/net/pfvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pfvar.h,v 1.125 2003/01/03 10:39:09 cedric Exp $ */ +/* $OpenBSD: pfvar.h,v 1.126 2003/01/04 17:40:50 dhartmei Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -62,6 +62,8 @@ enum { PF_LIMIT_STATES, PF_LIMIT_FRAGS, PF_LIMIT_MAX }; #define PF_POOL_IDMASK 0x0f enum { PF_POOL_NONE, PF_POOL_BITMASK, PF_POOL_RANDOM, PF_POOL_SRCHASH, PF_POOL_ROUNDROBIN }; +enum { PF_ADDR_ADDRMASK, PF_ADDR_NOROUTE, PF_ADDR_DYNIFTL, + PF_ADDR_TABLE }; #define PF_POOL_TYPEMASK 0x0f #define PF_POOL_STATICPORT 0x10 @@ -85,6 +87,7 @@ struct pf_addr_wrap { struct pf_addr addr; struct pf_addr mask; struct pf_addr_dyn *addr_dyn; + u_int8_t type; /* PF_ADDR_* */ }; struct pf_addr_dyn { @@ -246,7 +249,6 @@ struct pf_rule_addr { u_int16_t port[2]; u_int8_t not; u_int8_t port_op; - u_int8_t noroute; }; struct pf_pooladdr { |