[quagga-dev 1490] Re: link detection on NetBSD

Paul Jakma paul at clubi.ie
Mon Sep 13 20:47:47 BST 2004


On Mon, 13 Sep 2004, Andre Oppermann wrote:

> On BSD IFF_RUNNING is used inside the kernel as Greg Troxel already 
> said in another email.

Ok.

Then the question is which way to abstract things.

> All BSDs have agreed that 
> ifm_data.ifi_link_state is they way to do it there.

Which header file is it defined in? (even better, got a cvsweb link?)

Neither Linux (which often does it's own thing), nor Solaris (which 
is very BSD influenced) have this ifi_link_state member. So, it's not 
quite a standard. Linux has an MII abstraction, which, while not a 
Unix API standard, is a standard of sorts.

regards,
-- 
Paul Jakma	paul at clubi.ie	paul at jakma.org	Key ID: 64A2FF6A
Fortune:
There's such a thing as too much point on a pencil.
 		-- H. Allen Smith, "Let the Crabgrass Grow"



More information about the Quagga-dev mailing list