summaryrefslogtreecommitdiffstats
path: root/share/man/man4/tun.4
diff options
context:
space:
mode:
authorpeterj <peterj@FreeBSD.org>2014-11-30 04:50:13 +0000
committerpeterj <peterj@FreeBSD.org>2014-11-30 04:50:13 +0000
commit058535ab0fa4f8a1188baaed24e475c8de12b2d0 (patch)
tree2bc764e4e0333897e4060c78506d0754e280cbe5 /share/man/man4/tun.4
parentb77aaa6e5f333ca818bf47a37f58b4b778b3e44b (diff)
downloadFreeBSD-src-058535ab0fa4f8a1188baaed24e475c8de12b2d0.zip
FreeBSD-src-058535ab0fa4f8a1188baaed24e475c8de12b2d0.tar.gz
Cross reference tap(4) and tun(4) and include a short explanation as
to how they differ. This will assist users in selecting which interface is more appropriate for their purposes. Approved by: grog (co-mentor) MFC after: 2 week
Diffstat (limited to 'share/man/man4/tun.4')
-rw-r--r--share/man/man4/tun.414
1 files changed, 13 insertions, 1 deletions
diff --git a/share/man/man4/tun.4 b/share/man/man4/tun.4
index b5139a7..0b88b72 100644
--- a/share/man/man4/tun.4
+++ b/share/man/man4/tun.4
@@ -2,7 +2,7 @@
.\" $FreeBSD$
.\" Based on PR#2411
.\"
-.Dd February 4, 2007
+.Dd November 30, 2014
.Dt TUN 4
.Os
.Sh NAME
@@ -35,6 +35,17 @@ or a terminal for
and a character-special device
.Dq control
interface.
+A client program transfers IP (by default) packets to or from the
+.Nm
+.Dq control
+interface.
+The
+.Xr tap 4
+interface provides similar functionality at the Ethernet layer:
+a client will transfer Ethernet frames to or from a
+.Xr tap 4
+.Dq control
+interface.
.Pp
The network interfaces are named
.Dq Li tun0 ,
@@ -307,6 +318,7 @@ them pile up.
.Xr inet 4 ,
.Xr intro 4 ,
.Xr pty 4 ,
+.Xr tap 4 ,
.Xr ifconfig 8
.Sh AUTHORS
This manual page was originally obtained from
OpenPOWER on IntegriCloud