diff options
author | Marco Pfatschbacher <mpf@cvs.openbsd.org> | 2009-11-15 21:01:31 +0000 |
---|---|---|
committer | Marco Pfatschbacher <mpf@cvs.openbsd.org> | 2009-11-15 21:01:31 +0000 |
commit | da53ace49f3749098e4f85f132143c17cbe57644 (patch) | |
tree | 1fbba958dd43d33bf8381c3f298972fe616a410b /share/man | |
parent | fb8c60d55f7258d2441a3ca97bbd89419151ee65 (diff) |
Update DIOCKILLSTATES and DIOCCLRSTATES sections.
Pointed out by ohauer at gmx.de.
OK henning.
Diffstat (limited to 'share/man')
-rw-r--r-- | share/man/man4/pf.4 | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/share/man/man4/pf.4 b/share/man/man4/pf.4 index e62d76031a0..92d1a931027 100644 --- a/share/man/man4/pf.4 +++ b/share/man/man4/pf.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pf.4,v 1.65 2009/09/01 13:44:01 henning Exp $ +.\" $OpenBSD: pf.4,v 1.66 2009/11/15 21:01:30 mpf Exp $ .\" .\" Copyright (C) 2001, Kjell Wooding. All rights reserved. .\" @@ -26,7 +26,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: September 1 2009 $ +.Dd $Mdocdate: November 15 2009 $ .Dt PF 4 .Os .Sh NAME @@ -312,29 +312,28 @@ structure from the state table. .It Dv DIOCKILLSTATES Fa "struct pfioc_state_kill *psk" Remove matching entries from the state table. This ioctl returns the number of killed states in -.Va psk_af . +.Va psk_killed . .Bd -literal struct pfioc_state_kill { + struct pf_state_cmp psk_pfcmp; sa_family_t psk_af; int psk_proto; struct pf_rule_addr psk_src; struct pf_rule_addr psk_dst; char psk_ifname[IFNAMSIZ]; + char psk_label[PF_RULE_LABEL_SIZE]; + u_int psk_killed; + u_int16_t psk_rdomain; }; .Ed .It Dv DIOCCLRSTATES Fa "struct pfioc_state_kill *psk" Clear all states. It works like .Dv DIOCKILLSTATES , -but ignores the -.Va psk_af , -.Va psk_proto , -.Va psk_src , -and -.Va psk_dst -fields of the +but ignores all fields of the .Vt pfioc_state_kill -structure. +structure, except +.Va psk_ifname. .It Dv DIOCSETSTATUSIF Fa "struct pfioc_if *pi" Specify the interface for which statistics are accumulated. .Bd -literal |