xref: /openbsd/share/man/man4/mpe.4 (revision 3cab2bb3)
1.\"	$OpenBSD: mpe.4,v 1.10 2018/01/12 04:36:44 deraadt Exp $
2.\"
3.\" Copyright (C) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
4.\"
5.\" Permission to use, copy, modify, and distribute this software for any
6.\" purpose with or without fee is hereby granted, provided that the above
7.\" copyright notice and this permission notice appear in all copies.
8.\"
9.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16.\"
17.Dd $Mdocdate: January 12 2018 $
18.Dt MPE 4
19.Os
20.Sh NAME
21.Nm mpe
22.Nd MPLS Provider Edge
23.Sh SYNOPSIS
24.Cd "pseudo-device mpe"
25.Sh DESCRIPTION
26The
27.Nm
28interface is a Multiprotocol Label Switching (MPLS) Provider Edge
29pseudo-device used to enter and leave an MPLS domain.
30.Pp
31An
32.Nm
33interface can be created at runtime using the
34.Ic ifconfig mpe Ns Ar N Ic create
35command or by setting up a
36.Xr hostname.if 5
37configuration file for
38.Xr netstart 8 .
39The interface itself can be configured with
40.Xr ifconfig 8 ;
41see its manual page for more information.
42.Pp
43.Nm
44interfaces support the following unique ioctls:
45.Bl -tag -width "SIOCSETLABEL" -offset 3n
46.It SIOCSETLABEL
47Encapsulate packets entering this interface in MPLS using
48the specified label.
49.It SIOCGETLABEL
50Report the label that packets entering this interface will be
51tagged with.
52.El
53.\"
54.Sh SEE ALSO
55.Xr sysctl 2 ,
56.Xr hostname.if 5 ,
57.Xr ifconfig 8 ,
58.Xr ldpd 8 ,
59.Xr netstart 8
60.\"
61.Sh HISTORY
62The
63.Nm
64device first appeared in
65.Ox 4.4 .
66.\"
67.Sh AUTHORS
68The
69.Nm
70driver was written by
71.An Pierre-Yves Ritschard Aq Mt pyr@openbsd.org .
72