This diff fixes two errors on the pf(4) man page:

1. DIOCSETSTATUSIF has not used struct pfioc_if since pf_ioctl.c rev
   1.234; it now uses struct pfioc_iface.  Since the definition of
   pfioc_iface is already listed under DIOCIGETIFACES, I moved the

2. DIOCKILLSRCNODES uses struct pfioc_src_node_kill, not pfioc_iface.
   Also add the struct definition for pfioc_src_node_kill while here.


Index: pf.4
RCS file: /cvs/src/share/man/man4/pf.4,v
retrieving revision 1.77
diff -u -p -r1.77 pf.4
--- pf.4        2 Jul 2013 05:57:37 -0000       1.77
+++ pf.4        2 Jul 2013 15:30:55 -0000
@@ -265,13 +265,6 @@ but ignores all fields of the
 .Vt pfioc_state_kill
 structure, except
 .Va psk_ifname .
-.It Dv DIOCSETSTATUSIF Fa "struct pfioc_if *pi"
-Specify the interface for which statistics are accumulated.
-.Bd -literal
-struct pfioc_if {
-       char             ifname[IFNAMSIZ];
 .It Dv DIOCGETSTATUS Fa "struct pf_status *s"
 Get the internal packet filter statistics.
 .Bd -literal
@@ -986,6 +979,8 @@ struct pfi_kif {
        TAILQ_HEAD(, pfi_dynaddr)        pfik_dynaddrs;
+.It Dv DIOCSETSTATUSIF Fa "struct pfioc_iface *pi"
+Specify the interface for which statistics are accumulated.
 .It Dv DIOCSETIFFLAG Fa "struct pfioc_iface *io"
 Set the user settable flags (described above) of the
@@ -999,8 +994,16 @@ The filtering process is the same as for
 Works as
 above but clears the flags.
-.It Dv DIOCKILLSRCNODES Fa "struct pfioc_iface *io"
+.It Dv DIOCKILLSRCNODES Fa "struct pfioc_src_node_kill *psnk"
 Explicitly remove source tracking nodes.
+.Bd -literal
+struct pfioc_src_node_kill {
+       sa_family_t              psnk_af;
+       struct pf_rule_addr      psnk_src;
+       struct pf_rule_addr      psnk_dst;
+       u_int                    psnk_killed;
 .Bl -tag -width /dev/pf -compact

Reply via email to