if_flags usage etc.

Sam Leffler sam at errno.com
Wed Jan 25 16:13:15 PST 2006


Robert Watson wrote:
> 
> On Tue, 24 Jan 2006, John-Mark Gurney wrote:
> 
>> sthaug at nethelp.no wrote this message on Tue, Jan 24, 2006 at 23:15 +0100:
>>
>>>> We should probably better document the interface "interface". if we are
>>>> going to (as Sam suggests)
>>>> do some cleanups we might as well consider what other changes should be
>>>> put in at the same time.
>>>
>>>
>>> A couple of other suggestions:
>>>
>>> - For software routers (quagga, zebra etc.) it would be very nice to
>>> have "link up" / "link down" notifications to the routing process(es).
>>
>>
>> already supported, either through kqueue, routing socket, or devd (I 
>> believe)...
> 
> 
> However, I believe some interface drivers don't generate these events. 
> Drivers not supporting a specific event delivered by an interrupt 
> probably need to learn to poll for state changes so that they can 
> generate an event.

I am not aware of any drivers that do not generate the events; only 
drivers that do not properly detect link status changes.

	Sam


More information about the freebsd-current mailing list