> It can work. But I think a more reasonable logic should be:
>
> if (is_generic(prop_name)) {
> dladm_gen_set_prop();
> } else (is_wifi(prop_name)) {
> wladm_set_prop();
> } else ... {
> ...
> }The problem is that this requires libdladm to have global knowledge of all properties, which we'd like to avoid. -- meem
