From owner-cvs-all Tue Mar 7 4:38:29 2000 Delivered-To: cvs-all@freebsd.org Received: from axl.ops.uunet.co.za (axl.ops.uunet.co.za [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id BB6FD37BF32; Tue, 7 Mar 2000 04:38:21 -0800 (PST) (envelope-from sheldonh@axl.ops.uunet.co.za) Received: from sheldonh (helo=axl.ops.uunet.co.za) by axl.ops.uunet.co.za with local-esmtp (Exim 3.13 #1) id 12SJFO-000OKB-00; Tue, 07 Mar 2000 14:37:58 +0200 From: Sheldon Hearn To: Brian Somers Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, brian@hak.lan.Awfulhak.org Subject: Re: cvs commit: src/share/man/man4 tun.4 In-reply-to: Your message of "Mon, 06 Mar 2000 23:09:53 GMT." <200003062309.XAA01735@hak.lan.Awfulhak.org> Date: Tue, 07 Mar 2000 14:37:58 +0200 Message-ID: <93506.952432678@axl.ops.uunet.co.za> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 06 Mar 2000 23:09:53 GMT, Brian Somers wrote: > Yes - with the TUNSIFMODE ioctl. This is different from how OpenBSD > does it (where our struct tuninfo has a ``dummy'' field, OpenBSDs has > a ``flags'' field where you put IFF_* bits). So then the following patch from NetBSD makes sense, yes? Index: tun.4 =================================================================== RCS file: /home/ncvs/src/share/man/man4/tun.4,v retrieving revision 1.9 diff -u -d -r1.9 tun.4 --- tun.4 2000/03/06 07:08:14 1.9 +++ tun.4 2000/03/07 12:37:25 @@ -147,7 +147,10 @@ its value must be either .Dv IFF_POINTOPOINT or -.Dv IFF_BROADCAST . +.Dv IFF_BROADCAST +(optionally +.Dv IFF_MULTICAST +may be or'ed into the value). The type of the corresponding .Em tun Ns Sy n interface is set to the supplied type. If the value is anything else, Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message