> > if (is_generic(prop_name)) {
> > dladm_gen_set_prop();
> > } else (is_wifi(prop_name)) {
> > wladm_set_prop();
> > } else ... {
> > ...
> > }
>
> Who will control the property name space? For example,
> can we use the same name as a "general property" and
> as a "link specific property?" If yes, then the above
> may not work well. If the use of same name should not
> happen, I guess somehow we need the logic to prevent it.
All of the stable names will have ARC cases associated with them and
whatnot, so I don't think there's a risk of collisions. As pert
PSARC/2006/623, there's a special namespace starting with "link_"
for unstable properties.
--
meem