Sowmini.Varadhan at Sun.COM writes: > So this presents a couple of choices: > - use the dladm_ether_info() interface and use the returned > le_attr[CURRENT] to get the info
That looks like _exactly_ what I need. > and/or > > - we could provide a separate set of libdladm interfaces to get > the link_duplex_t info (but then we would have to do something similar > for every property, in the interest of consistency). No problem ... I'll eventually need speed as well. (It's part of the link weighting scheme that STP uses, and I should have mentioned it.) I'll hack around it for now, and leave myself a bug so I remember to unhack later. Thanks! -- James Carlson, Solaris Networking <james.d.carlson at sun.com> Sun Microsystems / 35 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677
