Hi, These are the manpage updates to go with the port protection diffs for switch(4).
Thanks, Ayaka Index: sbin/ifconfig/ifconfig.8 =================================================================== RCS file: /cvs/src/sbin/ifconfig/ifconfig.8,v retrieving revision 1.334 diff -u -p -u -r1.334 ifconfig.8 --- sbin/ifconfig/ifconfig.8 19 Apr 2019 04:30:57 -0000 1.334 +++ sbin/ifconfig/ifconfig.8 10 May 2019 16:02:29 -0000 @@ -1626,6 +1626,20 @@ Set the port number for the port named .Ar interface . The default value is the interface index of the .Ar interface . +.It Cm protected Ar interface ids +Put +.Ar interface +in protected domains. +.Ar ids +is a comma delimited list of domain IDs, between 1 and 31, to put the +interface in. +Interfaces that are part of a protected domain cannot forward traffic to any +other interface in that domain. +Interfaces do not belong to any protected domain by default. +.It Cm -protected Ar interface +Remove +.Ar interface +from all protected domains. .It Cm up Start the switch processing packets. .El Index: share/man/man4/bridge.4 =================================================================== RCS file: /cvs/src/share/man/man4/bridge.4,v retrieving revision 1.76 diff -u -p -u -r1.76 bridge.4 --- share/man/man4/bridge.4 24 Oct 2017 09:36:13 -0000 1.76 +++ share/man/man4/bridge.4 10 May 2019 16:02:30 -0000 @@ -561,6 +561,11 @@ to the value in The value in .Va ifbr_path_cost must be greater than or equal to one. +.It Dv SIOCBRDGSIFPROT Fa "struct ifbreq *" +Set the protection domain membership of the interface named in +.Va ifbr_ifsname +to the value in +.Va ifbr_protected . .El .Sh ERRORS If the Index: share/man/man4/switch.4 =================================================================== RCS file: /cvs/src/share/man/man4/switch.4,v retrieving revision 1.8 diff -u -p -u -r1.8 switch.4 --- share/man/man4/switch.4 24 Oct 2017 09:36:13 -0000 1.8 +++ share/man/man4/switch.4 10 May 2019 16:02:30 -0000 @@ -92,6 +92,8 @@ and .Dv SIOCBRDGDEL .It .Dv SIOCBRDGGIFFLGS +.It +.Dv SIOCBRDGSIFPROT .El .Pp The following
