SIOCGIFMEDIA problems
Sebastien Petit
spe at phear.org
Mon May 16 05:30:42 PDT 2005
On Mon, 16 May 2005 11:43:09 +0200
Jeremie Le Hen <jeremie at le-hen.org> wrote:
> Hi Sebastien,
>
> On Fri, May 13, 2005 at 07:17:05PM +0200, Sebastien Petit wrote:
> > [...]
>
> as a side note, you may wish to use the kqueue(2) framework to watch
> at link stat changes. The main advantage is that it will change the
> way it works from a polling model to a notification model. One major
> drawback in your situation (portable software) is that kqueue(2) only
> exists in BSD world, not in Linux.
>
Hi Jeremie,
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 ?
Regards,
Sebastien.
--
spe at b0l.org
More information about the freebsd-net
mailing list