diff options
author | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2006-11-20 14:25:12 +0000 |
---|---|---|
committer | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2006-11-20 14:25:12 +0000 |
commit | 2a08eb329d34dbab9c8d2c46e0a242364325e19b (patch) | |
tree | 5211036ac042505e259107551a2fe06276685ad1 /sys/net/pfvar.h | |
parent | cf325c06e0ba4c2ac3fa08e05a3203ef06bc9b7b (diff) |
ioctl to explicitly remove source tracking nodes,
diff from Berk D. Demir <bdd@mindcast.org>
ok henning dhartmei
Diffstat (limited to 'sys/net/pfvar.h')
-rw-r--r-- | sys/net/pfvar.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h index 67fb7badec4..3ca96a61b30 100644 --- a/sys/net/pfvar.h +++ b/sys/net/pfvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pfvar.h,v 1.240 2006/10/27 13:56:51 mcbride Exp $ */ +/* $OpenBSD: pfvar.h,v 1.241 2006/11/20 14:25:11 mcbride Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -1228,6 +1228,13 @@ struct pfioc_state { struct pf_state state; }; +struct pfioc_src_node_kill { + /* XXX returns the number of src nodes killed in psnk_af */ + sa_family_t psnk_af; + struct pf_rule_addr psnk_src; + struct pf_rule_addr psnk_dst; +}; + struct pfioc_state_kill { /* XXX returns the number of states killed in psk_af */ sa_family_t psk_af; @@ -1415,6 +1422,7 @@ struct pfioc_iface { #define DIOCIGETIFACES _IOWR('D', 87, struct pfioc_iface) #define DIOCSETIFFLAG _IOWR('D', 89, struct pfioc_iface) #define DIOCCLRIFFLAG _IOWR('D', 90, struct pfioc_iface) +#define DIOCKILLSRCNODES _IOWR('D', 91, struct pfioc_src_node_kill) #ifdef _KERNEL RB_HEAD(pf_src_tree, pf_src_node); |