On Sun, Apr 11, 2021 at 04:48:40PM +0200, Marcus MERIGHI wrote:
> hello!
> 
> the description of bpe(4) is missing from ifconfig(8).
> my attempt with what I could gather from bpe(4) below.
> 
> marcus
> 

hi.

the sections are ordered alphabetically, so it should go first,
immediately before BRIDGE.

except for that, it reads fine to me.
jmc

> Index: ifconfig.8
> ===================================================================
> RCS file: /cvs/src/sbin/ifconfig/ifconfig.8,v
> retrieving revision 1.371
> diff -u -p -u -r1.371 ifconfig.8
> --- ifconfig.8        19 Mar 2021 19:36:10 -0000      1.371
> +++ ifconfig.8        11 Apr 2021 14:41:08 -0000
> @@ -182,6 +182,7 @@ Create the specified network pseudo-devi
>  At least the following devices can be created on demand:
>  .Pp
>  .Xr aggr 4 ,
> +.Xr bpe 4 ,
>  .Xr bridge 4 ,
>  .Xr carp 4 ,
>  .Xr egre 4 ,
> @@ -2205,6 +2206,31 @@ Valid tag values are from 1 to 4094 incl
>  Clear the tag value.
>  Packets on a VLAN interface without a tag set will use a value of
>  0 in their headers.
> +.El
> +.Sh BPE
> +.nr nS 1
> +.Bk -words
> +.Nm ifconfig
> +.Ar bpe-interface
> +.Op Oo Fl Oc Ns Cm parent Ar parent-interface
> +.Op Ns Cm vnetid Ar vnetid-tag
> +.Ek
> +.nr nS 0
> +.Pp
> +The following options are available for
> +.Xr bpe 4
> +interfaces:
> +.Bl -tag -width Ds
> +.It Cm parent Ar parent-interface
> +Associate the BPE interface with the interface
> +.Ar parent-interface .
> +.It Cm -parent
> +Disassociate from the parent interface.
> +This breaks the link between the BPE interface and its parent.
> +.It Cm vnetid Ar vnetid-tag
> +Set the virtual network identifier tag value to
> +.Ar vnetid-tag .
> +This is a 24-bit value in the range 0 to 16777215.
>  .El
>  .Sh WIREGUARD
>  .nr nS 1
> 

Reply via email to