summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authoremax <emax@FreeBSD.org>2008-09-08 22:44:51 +0000
committeremax <emax@FreeBSD.org>2008-09-08 22:44:51 +0000
commit3ce5090dce9c7267bfbf724bb1b5128fa94fe71d (patch)
tree399fe21be467dd92a8e5a381a84d191db6ac474e /share
parent60554f1baf5cf6ff86059657ae583bb36a5d17f4 (diff)
downloadFreeBSD-src-3ce5090dce9c7267bfbf724bb1b5128fa94fe71d.zip
FreeBSD-src-3ce5090dce9c7267bfbf724bb1b5128fa94fe71d.tar.gz
Document TAPGIFNAME, TAPSIFINFO and TAPGIFINFO tap(4)
character device ioctl's. MFC after: 1 week
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/tap.417
1 files changed, 16 insertions, 1 deletions
diff --git a/share/man/man4/tap.4 b/share/man/man4/tap.4
index 86c880e..9f04725 100644
--- a/share/man/man4/tap.4
+++ b/share/man/man4/tap.4
@@ -1,7 +1,7 @@
.\" $FreeBSD$
.\" Based on PR#2411
.\"
-.Dd March 19, 2007
+.Dd September 8, 2008
.Os
.Dt TAP 4
.Sh NAME
@@ -163,6 +163,14 @@ calls are supported
(defined in
.In net/if_tap.h ) :
.Bl -tag -width VMIO_SIOCSETMACADDR
+.It Dv TAPSIFINFO
+Set network interface information (line speed, MTU and type).
+The argument should be a pointer to a
+.Va struct tapinfo .
+.It Dv TAPGIFINFO
+Retrieve network interface information (line speed, MTU and type).
+The argument should be a pointer to a
+.Va struct tapinfo .
.It Dv TAPSDEBUG
The argument should be a pointer to an
.Va int ;
@@ -174,6 +182,13 @@ code.
The argument should be a pointer to an
.Va int ;
this stores the internal debugging variable's value into it.
+.It Dv TAPGIFNAME
+Retrieve network interface name.
+The argument should be a pointer to a
+.Va struct ifreq .
+The interface name will be returned in the
+.Va ifr_name
+field.
.It Dv FIONBIO
Turn non-blocking I/O for reads off or on, according as the argument
.Va int Ns 's
OpenPOWER on IntegriCloud