Date: Mon, 16 May 2005 13:38:17 +0100 From: Bruce M Simpson <bms@spc.org> To: Sebastien Petit <spe@phear.org> Cc: jeremie@le-hen.org Subject: Re: SIOCGIFMEDIA problems Message-ID: <20050516123817.GF828@empiric.icir.org> In-Reply-To: <20050516143136.4dea9cb9.spe@phear.org> References: <20050513111013.41905e73.spe@phear.org> <m2wtq3cnkz.wl%gnn@neville-neil.com> <20050513191705.61d2b742.spe@phear.org> <20050516094309.GD777@obiwan.tataz.chchile.org> <20050516143136.4dea9cb9.spe@phear.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 16, 2005 at 02:31:36PM +0200, Sebastien Petit wrote: > As I can see in kqueue man, I can only monitor events by file descriptor (read/write), a process id, a signal or a timer (under NetBSD 2) > How I can use it for monitoring link status change on a network card ? You need to use EVFILT_NETDEV and that may only be implemented on FreeBSD to the best of my knowledge. See kqueue(2) on FreeBSD for more details. BMS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050516123817.GF828>