summaryrefslogtreecommitdiffstats
path: root/share/man/man4
diff options
context:
space:
mode:
authorpeterj <peterj@FreeBSD.org>2014-12-30 23:52:48 +0000
committerpeterj <peterj@FreeBSD.org>2014-12-30 23:52:48 +0000
commitbb94e30e60eb81e11ad88e00cd7c8255afe38048 (patch)
tree8439d3033897c357f1c3d2bfbcd85ff1c4f6fc22 /share/man/man4
parent10c6be06b424f54357c7ab09aee6e5ea3a110720 (diff)
downloadFreeBSD-src-bb94e30e60eb81e11ad88e00cd7c8255afe38048.zip
FreeBSD-src-bb94e30e60eb81e11ad88e00cd7c8255afe38048.tar.gz
MFH r274083:
convert .Nm to proper .Xr's... MFH r275298: 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. No objection: jmg (r274083) Approved by: grog (co-mentor)
Diffstat (limited to 'share/man/man4')
-rw-r--r--share/man/man4/tap.422
-rw-r--r--share/man/man4/tun.414
2 files changed, 30 insertions, 6 deletions
diff --git a/share/man/man4/tap.4 b/share/man/man4/tap.4
index 3bfab5b..229de60 100644
--- a/share/man/man4/tap.4
+++ b/share/man/man4/tap.4
@@ -1,7 +1,7 @@
.\" $FreeBSD$
.\" Based on PR#2411
.\"
-.Dd January 26, 2012
+.Dd November 30, 2014
.Dt TAP 4
.Os
.Sh NAME
@@ -18,22 +18,33 @@ described as the network interface analog of the
that is,
.Nm
does for network interfaces what the
-.Nm pty
+.Xr pty 4
driver does for terminals.
.Pp
The
.Nm
driver, like the
-.Nm pty
+.Xr pty 4
driver, provides two interfaces: an interface like the usual facility
it is simulating
(an Ethernet network interface in the case of
.Nm ,
or a terminal for
-.Nm pty ) ,
+.Xr pty 4 ) ,
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
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