summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorDaniel Hartmeier <dhartmei@cvs.openbsd.org>2002-03-26 09:38:31 +0000
committerDaniel Hartmeier <dhartmei@cvs.openbsd.org>2002-03-26 09:38:31 +0000
commita1294e666e0cee9f328b14c8dda761083bf1ae52 (patch)
treeeafc554e39c05649d7d8a9e25cfb040bda2aa235 /share
parent1143809c50c08624063d8a563fa186a62c7a4de4 (diff)
Document DIOCKILLSTATES. From Denis Afonin.
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/pf.413
1 files changed, 12 insertions, 1 deletions
diff --git a/share/man/man4/pf.4 b/share/man/man4/pf.4
index 9818902156a..a0a2c713982 100644
--- a/share/man/man4/pf.4
+++ b/share/man/man4/pf.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pf.4,v 1.14 2002/02/14 23:03:19 dhartmei Exp $
+.\" $OpenBSD: pf.4,v 1.15 2002/03/26 09:38:30 dhartmei Exp $
.\"
.\" Copyright (C) 2001, Kjell Wooding. All rights reserved.
.\"
@@ -153,6 +153,17 @@ struct pfioc_state {
.Ed
.Pp
Extracts the entry with the specified number from the state table.
+.It Dv DIOCKILLSTATES Fa "struct pfioc_state_kill"
+Removes matching entries from the state table.
+Returns the number of killed states in psk_af.
+.Bd -literal
+struct pfioc_state_kill {
+ int psk_af;
+ int psk_proto;
+ struct pf_rule_addr psk_src;
+ struct pf_rule_addr psk_dst;
+};
+.Ed
.It Dv DIOCSETSTATUSIF Fa "struct pfioc_if"
.Bd -literal
struct pfioc_if {