em0 link_state

Maxim Konovalov maxim at macomnet.ru
Fri Dec 17 00:29:50 PST 2004


On Thu, 16 Dec 2004, 19:25-0500, Josh Kayse wrote:

> I was working on some test machines and using ifstated which uses the
> KQUEUE event to register changes in link state.  I noticed that
> ifstated did register any events having to do with the em interfaces.
> Looking through the code, it doesn't appear to support the KQUEUE
> events.  Am I correct in saying that?

Correct.  From kqueue.2:

: The EVFILT_NETDEV filter is currently only implemented for devices
: that use the miibus(4) driver for LINKUP and LINKDOWN operations.
: Therefore, it will not work with many non-ethernet devices.

-- 
Maxim Konovalov


More information about the freebsd-net mailing list