Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Nov 2014 04:50:14 +0000 (UTC)
From:      Peter Jeremy <peterj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r275298 - head/share/man/man4
Message-ID:  <201411300450.sAU4oEug028544@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: peterj
Date: Sun Nov 30 04:50:13 2014
New Revision: 275298
URL: https://svnweb.freebsd.org/changeset/base/275298

Log:
  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

Modified:
  head/share/man/man4/tap.4
  head/share/man/man4/tun.4

Modified: head/share/man/man4/tap.4
==============================================================================
--- head/share/man/man4/tap.4	Sun Nov 30 03:02:20 2014	(r275297)
+++ head/share/man/man4/tap.4	Sun Nov 30 04:50:13 2014	(r275298)
@@ -1,7 +1,7 @@
 .\" $FreeBSD$
 .\" Based on PR#2411
 .\"
-.Dd November 4, 2014
+.Dd November 30, 2014
 .Dt TAP 4
 .Os
 .Sh NAME
@@ -34,6 +34,17 @@ or a terminal for
 and a character-special device
 .Dq control
 interface.
+A client program transfers Ethernet frames to or from the 
+.Nm
+.Dq control
+interface.
+The
+.Xr tun 4
+interface provides similar functionality at the network layer:
+a client will transfer IP (by default) packets to or from a
+.Xr tun 4
+.Dq control
+interface.
 .Pp
 The network interfaces are named
 .Dq Li tap0 ,
@@ -314,4 +325,5 @@ VMware
 .El
 .Sh SEE ALSO
 .Xr inet 4 ,
-.Xr intro 4
+.Xr intro 4 ,
+.Xr tun 4

Modified: head/share/man/man4/tun.4
==============================================================================
--- head/share/man/man4/tun.4	Sun Nov 30 03:02:20 2014	(r275297)
+++ head/share/man/man4/tun.4	Sun Nov 30 04:50:13 2014	(r275298)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411300450.sAU4oEug028544>