1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-29 12:03:03 +00:00

Document TAPGIFNAME, TAPSIFINFO and TAPGIFINFO tap(4)

character device ioctl's.

MFC after:	1 week
This commit is contained in:
Maksim Yevmenkin 2008-09-08 22:44:51 +00:00
parent 03bbca8f63
commit 618f3d8c0a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=182881

View File

@ -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