From 3ce5090dce9c7267bfbf724bb1b5128fa94fe71d Mon Sep 17 00:00:00 2001 From: emax Date: Mon, 8 Sep 2008 22:44:51 +0000 Subject: Document TAPGIFNAME, TAPSIFINFO and TAPGIFINFO tap(4) character device ioctl's. MFC after: 1 week --- share/man/man4/tap.4 | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) 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 -- cgit v1.1