From owner-freebsd-current@FreeBSD.ORG Thu Jan 26 00:31:28 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D257D16A420; Thu, 26 Jan 2006 00:31:28 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EC5F43D46; Thu, 26 Jan 2006 00:31:28 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id k0Q0VPeG017244; Wed, 25 Jan 2006 16:31:25 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id k0Q0VOtp017243; Wed, 25 Jan 2006 16:31:24 -0800 Date: Wed, 25 Jan 2006 16:31:24 -0800 From: Brooks Davis To: Sam Leffler Message-ID: <20060126003124.GA13079@odin.ac.hmc.edu> References: <20060124075437.B67285@xorpc.icir.org> <43D67C6E.7020403@errno.com> <43D6811D.9070309@elischer.org> <20060124.231504.74682748.sthaug@nethelp.no> <20060124223539.GH69162@funkthat.com> <20060125104901.X70912@fledge.watson.org> <43D8147C.5080609@errno.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cNdxnHkX5QqsyA0e" Content-Disposition: inline In-Reply-To: <43D8147C.5080609@errno.com> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu Cc: John-Mark Gurney , current@freebsd.org, rizzo@icir.org, Robert Watson , julian@elischer.org, sthaug@nethelp.no Subject: Re: if_flags usage etc. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jan 2006 00:31:28 -0000 --cNdxnHkX5QqsyA0e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 25, 2006 at 04:14:52PM -0800, Sam Leffler wrote: > Robert Watson wrote: > > > >On Tue, 24 Jan 2006, John-Mark Gurney wrote: > > > >>sthaug@nethelp.no wrote this message on Tue, Jan 24, 2006 at 23:15 +010= 0: > >> > >>>>We should probably better document the interface "interface". if we a= re > >>>>going to (as Sam suggests) > >>>>do some cleanups we might as well consider what other changes should = be > >>>>put in at the same time. > >>> > >>> > >>>A couple of other suggestions: > >>> > >>>- For software routers (quagga, zebra etc.) it would be very nice to > >>>have "link up" / "link down" notifications to the routing process(es). > >> > >> > >>already supported, either through kqueue, routing socket, or devd (I=20 > >>believe)... > > > > > >However, I believe some interface drivers don't generate these events.= =20 > >Drivers not supporting a specific event delivered by an interrupt=20 > >probably need to learn to poll for state changes so that they can=20 > >generate an event. >=20 > I am not aware of any drivers that do not generate the events; only=20 > drivers that do not properly detect link status changes. We do have some pseudo devices that could simulate a link and don't appear to. For instance tap could pretend to have media and produce notifications based on whether the /dev/tap# device is open. It seems like that could be useful in some scenarios where you're hanging a virtual machine off the other end. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --cNdxnHkX5QqsyA0e Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFD2BhbXY6L6fI4GtQRAttEAKCsrjJb/YaMn+3f23zkZYKTtyaG2QCdHmus PAFKZMVWhSz8vDGh9QYPfxQ= =yxsn -----END PGP SIGNATURE----- --cNdxnHkX5QqsyA0e--