Dan Groves wrote:
> Hi,
>
> I posted a new link ID management API document at:
>
> http://www.opensolaris.org/os/project/clearview/uv/link_id_management.pdf
>
It looks good. Some initial comments at the first glance:
1. This type enumerates the different link classes supported. The
enumeration consists of: DLADM_CLASS_PHYS ...
Please be clear the listed classes are only the ones supported for now, we'd
expect other new classes be added, for example, DLADM_CLASS_IPTUN.
2. dladm_walk_linkids
dladm_status_t dladm_walk_link(void (*fn)(const char *, void *),
void *arg, dladm class t class, uint t flags)
I would think that the signature of the function be:
dladm_status_t dladm_walk_link(void (*fn)(dladm_linkid_t, void *),
void *arg, dladm class t class, uint t flags)
3. How to get the link name, link class from one specific dladm_conf_t?
Thanks
- Cathy