svn commit: r205024 - head/sys/net

Robert N. M. Watson rwatson at freebsd.org
Fri Mar 12 19:35:50 UTC 2010


On Mar 12, 2010, at 6:56 PM, Qing Li wrote:

> Right now I like to implement Robert's suggestion of using if_capabilities
> field. I'd like to create a new flag, IFCAP_LINKSTATE_NOTIFY flag.
> The routing decision will check against the if_link_state if this bit
> is set.
> 
> Only a handful of drivers have this capability. So updating those drivers
> is a small task.
> 
> Do we agree on this approach?

I'm good with this approach -- do you mind going with IFCAP_LINKSTATE or something similarly a bit shorter? Most of the other capability names are pretty short, and it will prevent the display in ifconfig from growing too much as the capability will be common.

Thanks!

Robert


More information about the svn-src-head mailing list