Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jan 2006 16:31:24 -0800
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Sam Leffler <sam@errno.com>
Cc:        John-Mark Gurney <gurney_j@resnet.uoregon.edu>, current@freebsd.org, rizzo@icir.org, Robert Watson <rwatson@freebsd.org>, julian@elischer.org, sthaug@nethelp.no
Subject:   Re: if_flags usage etc.
Message-ID:  <20060126003124.GA13079@odin.ac.hmc.edu>
In-Reply-To: <43D8147C.5080609@errno.com>
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>

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

--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--



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