diff options
author | 2021-03-18 14:22:04 +0000 | |
---|---|---|
committer | 2021-03-18 14:22:04 +0000 | |
commit | 50b58632bb7a382f2e0298ac25dc19cc756af85e (patch) | |
tree | fc3015451f68200533b243719458c738cda36dce | |
parent | Document "-tunneldomain" and "-mplslabel", complete MPLS synopsis (diff) | |
download | wireguard-openbsd-50b58632bb7a382f2e0298ac25dc19cc756af85e.tar.xz wireguard-openbsd-50b58632bb7a382f2e0298ac25dc19cc756af85e.zip |
Document SIOCDELLABEL, link among MPLS drivers
Use of the IOCTL section losely adopted from bridge(4),
the list of ioctls however is still incomplete.
mpw(4) and mpip(4) could use a reference to mpe(4) IOCTL or so,
but this is good enough for starters.
Feedback OK claudio
-rw-r--r-- | share/man/man4/mpe.4 | 20 | ||||
-rw-r--r-- | share/man/man4/mpip.4 | 6 | ||||
-rw-r--r-- | share/man/man4/mpw.4 | 6 |
3 files changed, 23 insertions, 9 deletions
diff --git a/share/man/man4/mpe.4 b/share/man/man4/mpe.4 index 3b87140f927..9b0e0acd900 100644 --- a/share/man/man4/mpe.4 +++ b/share/man/man4/mpe.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mpe.4,v 1.10 2018/01/12 04:36:44 deraadt Exp $ +.\" $OpenBSD: mpe.4,v 1.11 2021/03/18 14:22:04 kn Exp $ .\" .\" Copyright (C) 2008 Pierre-Yves Ritschard <pyr@openbsd.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: January 12 2018 $ +.Dd $Mdocdate: March 18 2021 $ .Dt MPE 4 .Os .Sh NAME @@ -39,9 +39,15 @@ configuration file for The interface itself can be configured with .Xr ifconfig 8 ; see its manual page for more information. -.Pp -.Nm -interfaces support the following unique ioctls: +.Sh IOCTLS +The following +.Nm ioctl 2 +calls are specific to +.Nm , +.Xr mpip 4 +and +.Xr mpw 4 +interfaces: .Bl -tag -width "SIOCSETLABEL" -offset 3n .It SIOCSETLABEL Encapsulate packets entering this interface in MPLS using @@ -49,10 +55,14 @@ the specified label. .It SIOCGETLABEL Report the label that packets entering this interface will be tagged with. +.It SIOCDELLABEL +Unset the MPLS label. .El .\" .Sh SEE ALSO .Xr sysctl 2 , +.Xr mpip 4 , +.Xr mpw 4 , .Xr hostname.if 5 , .Xr ifconfig 8 , .Xr ldpd 8 , diff --git a/share/man/man4/mpip.4 b/share/man/man4/mpip.4 index 31192db312a..89fb35c3cd3 100644 --- a/share/man/man4/mpip.4 +++ b/share/man/man4/mpip.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mpip.4,v 1.2 2019/03/11 18:55:29 jmc Exp $ +.\" $OpenBSD: mpip.4,v 1.3 2021/03/18 14:22:04 kn Exp $ .\" .\" Copyright (C) 2019 David Gwynne <dlg@openbsd.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: March 11 2019 $ +.Dd $Mdocdate: March 18 2021 $ .Dt MPIP 4 .Os .Sh NAME @@ -60,6 +60,8 @@ Transport of Pseudowires: # ifconfig mpip5 -pwecw pwefat .Ed .Sh SEE ALSO +.Xr mpe 4 , +.Xr mpw 4 , .Xr hostname.if 5 , .Xr ifconfig 8 , .Xr ldpd 8 , diff --git a/share/man/man4/mpw.4 b/share/man/man4/mpw.4 index f37b8dd2d1e..9d90b591f9c 100644 --- a/share/man/man4/mpw.4 +++ b/share/man/man4/mpw.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mpw.4,v 1.8 2019/04/03 06:24:07 jmc Exp $ +.\" $OpenBSD: mpw.4,v 1.9 2021/03/18 14:22:04 kn Exp $ .\" .\" Copyright (C) 2015 Rafael Zalamena <rzalamena@openbsd.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: April 3 2019 $ +.Dd $Mdocdate: March 18 2021 $ .Dt MPW 4 .Os .Sh NAME @@ -85,6 +85,8 @@ using different identifiers for their protected domains: # ifconfig bridge0 protected mpw12 1 .Ed .Sh SEE ALSO +.Xr mpe 4 , +.Xr mpip 4 , .Xr hostname.if 5 , .Xr ifconfig 8 , .Xr ldpd 8 , |