All interface drivers have their interface group, but users can create
extra, driver independent groups as well.

        # ifconfig lo0 group foo
        # pfctl -sI -ifoo
        foo
        lo0

Feedback? OK?

Index: share/man/man4/pf.4
===================================================================
RCS file: /cvs/src/share/man/man4/pf.4,v
retrieving revision 1.89
diff -u -p -r1.89 pf.4
--- share/man/man4/pf.4 12 Oct 2017 14:39:24 -0000      1.89
+++ share/man/man4/pf.4 20 Dec 2018 20:34:10 -0000
@@ -916,7 +916,7 @@ will be set to the length of the buffer 
 .It Dv DIOCCLRSRCNODES
 Clear the tree of source tracking nodes.
 .It Dv DIOCIGETIFACES Fa "struct pfioc_iface *io"
-Get the list of interfaces and interface drivers known to
+Get the list of interfaces and interface groups known to
 .Nm .
 All the ioctls that manipulate interfaces
 use the same structure described below:
@@ -933,7 +933,7 @@ struct pfioc_iface {
 .Pp
 If not empty,
 .Va pfiio_name
-can be used to restrict the search to a specific interface or driver.
+can be used to restrict the search to a specific interface or group.
 .Va pfiio_buffer[pfiio_size]
 is the user-supplied buffer for returning the data.
 On entry,
Index: sbin/pfctl/pfctl.8
===================================================================
RCS file: /cvs/src/sbin/pfctl/pfctl.8,v
retrieving revision 1.172
diff -u -p -r1.172 pfctl.8
--- sbin/pfctl/pfctl.8  18 Sep 2018 12:55:19 -0000      1.172
+++ sbin/pfctl/pfctl.8  20 Dec 2018 20:23:51 -0000
@@ -392,7 +392,7 @@ Show the list of tables.
 .It Fl s Cm osfp
 Show the list of operating system fingerprints.
 .It Fl s Cm Interfaces
-Show the list of interfaces and interface drivers available to PF.
+Show the list of interfaces and interface groups available to PF.
 When used together with
 .Fl v ,
 it additionally lists which interfaces have skip rules activated.

Reply via email to