SIOCGIFMEDIA problems

Bruce M Simpson bms at spc.org
Mon May 16 05:38:34 PDT 2005


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


More information about the freebsd-net mailing list