tap.4 (256281) | tap.4 (276433) |
---|---|
1.\" $FreeBSD: stable/10/share/man/man4/tap.4 230580 2012-01-26 10:53:39Z glebius $ | 1.\" $FreeBSD: stable/10/share/man/man4/tap.4 276433 2014-12-30 23:52:48Z peterj $ |
2.\" Based on PR#2411 3.\" | 2.\" Based on PR#2411 3.\" |
4.Dd January 26, 2012 | 4.Dd November 30, 2014 |
5.Dt TAP 4 6.Os 7.Sh NAME 8.Nm tap 9.Nd Ethernet tunnel software network interface 10.Sh SYNOPSIS 11.Cd device tap 12.Sh DESCRIPTION 13The 14.Nm 15interface is a software loopback mechanism that can be loosely 16described as the network interface analog of the 17.Xr pty 4 , 18that is, 19.Nm 20does for network interfaces what the | 5.Dt TAP 4 6.Os 7.Sh NAME 8.Nm tap 9.Nd Ethernet tunnel software network interface 10.Sh SYNOPSIS 11.Cd device tap 12.Sh DESCRIPTION 13The 14.Nm 15interface is a software loopback mechanism that can be loosely 16described as the network interface analog of the 17.Xr pty 4 , 18that is, 19.Nm 20does for network interfaces what the |
21.Nm pty | 21.Xr pty 4 |
22driver does for terminals. 23.Pp 24The 25.Nm 26driver, like the | 22driver does for terminals. 23.Pp 24The 25.Nm 26driver, like the |
27.Nm pty | 27.Xr pty 4 |
28driver, provides two interfaces: an interface like the usual facility 29it is simulating 30(an Ethernet network interface in the case of 31.Nm , 32or a terminal for | 28driver, provides two interfaces: an interface like the usual facility 29it is simulating 30(an Ethernet network interface in the case of 31.Nm , 32or a terminal for |
33.Nm pty ) , | 33.Xr pty 4 ) , |
34and a character-special device 35.Dq control 36interface. | 34and a character-special device 35.Dq control 36interface. |
37A client program transfers Ethernet frames to or from the 38.Nm 39.Dq control 40interface. 41The 42.Xr tun 4 43interface provides similar functionality at the network layer: 44a client will transfer IP (by default) packets to or from a 45.Xr tun 4 46.Dq control 47interface. |
|
37.Pp 38The network interfaces are named 39.Dq Li tap0 , 40.Dq Li tap1 , 41etc., one for each control device that has been opened. 42These Ethernet network interfaces persist until 43.Pa if_tap.ko 44module is unloaded, or until removed with "ifconfig destroy" (see below). --- 264 unchanged lines hidden (view full) --- 309calls, there is an additional one for the VMware port. 310.Bl -tag -width VMIO_SIOCSETMACADDR 311.It Dv VMIO_SIOCSIFFLAGS 312VMware 313.Dv SIOCSIFFLAGS . 314.El 315.Sh SEE ALSO 316.Xr inet 4 , | 48.Pp 49The network interfaces are named 50.Dq Li tap0 , 51.Dq Li tap1 , 52etc., one for each control device that has been opened. 53These Ethernet network interfaces persist until 54.Pa if_tap.ko 55module is unloaded, or until removed with "ifconfig destroy" (see below). --- 264 unchanged lines hidden (view full) --- 320calls, there is an additional one for the VMware port. 321.Bl -tag -width VMIO_SIOCSETMACADDR 322.It Dv VMIO_SIOCSIFFLAGS 323VMware 324.Dv SIOCSIFFLAGS . 325.El 326.Sh SEE ALSO 327.Xr inet 4 , |
317.Xr intro 4 | 328.Xr intro 4 , 329.Xr tun 4 |