I'm taking a stab at the "dladm -o" command,
and trying to see how much of the existing code for the wifi related
show* commands can be reused. print_wifi_field() also seems to be more
generally usable than just for wifi itself.. and pieces of
parse_wifi_fields could be extracted to be less wifi-specific.

It seems like the wifi_field_t structure is a good candidate
for generalization to be used by the other show* commands as well. 
But I can't see how the wf_cmdtype is used. what am I missing?

--Sowmini


Reply via email to