Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Mar 2000 14:37:58 +0200
From:      Sheldon Hearn <sheldonh@uunet.co.za>
To:        Brian Somers <brian@Awfulhak.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, brian@hak.lan.Awfulhak.org
Subject:   Re: cvs commit: src/share/man/man4 tun.4 
Message-ID:  <93506.952432678@axl.ops.uunet.co.za>
In-Reply-To: Your message of "Mon, 06 Mar 2000 23:09:53 GMT." <200003062309.XAA01735@hak.lan.Awfulhak.org> 

next in thread | previous in thread | raw e-mail | index | archive | help


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?93506.952432678>