From owner-cvs-all Mon Mar 6 15:11: 3 2000 Delivered-To: cvs-all@freebsd.org Received: from awfulhak.org (tun.AwfulHak.org [194.242.139.173]) by hub.freebsd.org (Postfix) with ESMTP id 7105037BBA3; Mon, 6 Mar 2000 15:10:46 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.awfulhak.org [172.16.0.12]) by awfulhak.org (8.9.3/8.9.3) with ESMTP id XAA09617; Mon, 6 Mar 2000 23:09:55 GMT (envelope-from brian@hak.lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id XAA01735; Mon, 6 Mar 2000 23:09:53 GMT (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200003062309.XAA01735@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: Sheldon Hearn 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: Message from Sheldon Hearn of "Mon, 06 Mar 2000 09:13:33 +0200." <31562.952326813@axl.ops.uunet.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 06 Mar 2000 23:09:53 +0000 From: Brian Somers Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > On Sun, 05 Mar 2000 23:08:16 PST, Sheldon Hearn wrote: > > > Modified files: > > share/man/man4 tun.4 > [...] > > Obtained from: NetBSD > > Another difference between NetBSD's tun.4 and our own is that theirs > says that TUNSIFMODE can be either IFF_POINTOPOINT or IFF_BROADCAST _or_ > IFF_BROADCAST|IFF_MULTICAST. Is this true in our implementation? 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). Of course NetBSD doesn't even have a tuninfo struct - it uses an ioctl (SIOCSIFMTU) to set the tun mtu.... And what the hell is struct tuninfo's ``bandwidth'' variable supposed to be used for anyway ? What a mess. We need a ``BSD standards development'' committee ! > Ciao, > Sheldon. -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message