From owner-svn-src-all@FreeBSD.ORG Tue Feb 10 20:03:27 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 08947106564A; Tue, 10 Feb 2009 20:03:27 +0000 (UTC) (envelope-from emax@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id E990E8FC17; Tue, 10 Feb 2009 20:03:26 +0000 (UTC) (envelope-from emax@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n1AK3QVj002939; Tue, 10 Feb 2009 20:03:26 GMT (envelope-from emax@svn.freebsd.org) Received: (from emax@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n1AK3QQD002938; Tue, 10 Feb 2009 20:03:26 GMT (envelope-from emax@svn.freebsd.org) Message-Id: <200902102003.n1AK3QQD002938@svn.freebsd.org> From: Maksim Yevmenkin Date: Tue, 10 Feb 2009 20:03:26 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r188449 - stable/7/share/man/man4 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2009 20:03:27 -0000 Author: emax Date: Tue Feb 10 20:03:26 2009 New Revision: 188449 URL: http://svn.freebsd.org/changeset/base/188449 Log: MFC r182881 Document TAPGIFNAME, TAPSIFINFO and TAPGIFINFO tap(4) character device ioctl's. Modified: stable/7/share/man/man4/ (props changed) stable/7/share/man/man4/igb.4 (props changed) stable/7/share/man/man4/tap.4 Modified: stable/7/share/man/man4/tap.4 ============================================================================== --- stable/7/share/man/man4/tap.4 Tue Feb 10 19:37:38 2009 (r188448) +++ stable/7/share/man/man4/tap.4 Tue Feb 10 20:03:26 2009 (r188449) @@ -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