summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordhartmei <dhartmei@openbsd.org>2002-03-26 09:38:30 +0000
committerdhartmei <dhartmei@openbsd.org>2002-03-26 09:38:30 +0000
commita2db7cc29a6f4da319ab5bc8c0f5dbb16127fd3c (patch)
treef236e6b09568ac13f3a4865cd9949a8b8fe8ca85
parento -Wall cleanup. (diff)
downloadwireguard-openbsd-a2db7cc29a6f4da319ab5bc8c0f5dbb16127fd3c.tar.xz
wireguard-openbsd-a2db7cc29a6f4da319ab5bc8c0f5dbb16127fd3c.zip
Document DIOCKILLSTATES. From Denis Afonin.
-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 {