1.\" $OpenBSD: mpe.4,v 1.6 2010/04/11 15:29:07 jmc 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: April 11 2010 $ 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 an MPLS Provider Edge pseudo-device used to enter 29and 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 3 , 56.Xr hostname.if 5 , 57.Xr ifconfig 8 , 58.Xr netstart 8 59.\" 60.Sh HISTORY 61The 62.Nm 63device first appeared in 64.Ox 4.4 . 65.\" 66.Sh AUTHORS 67The 68.Nm 69driver was written by 70.An Pierre-Yves Ritschard Aq pyr@openbsd.org . 71