On (09/20/07 14:13), Artem Kachitchkine wrote:
>
> > *i_mac_prop_hash::modhash -e
> ADDR VAL KEY
> fffffffec5677520 fffffffec7f13e70 fffffffec7f13e78 bge0
>
> > fffffffec7f13e70::print mac_proplist_t mpl_props | ::list mac_prop_t
> mp_next | ::print mac_prop_t mp_prop
> {
> mp_prop.pr_version = 0x1
> mp_prop.pr_flags = 0
> mp_prop.pr_ifname = [ "bge0" ]
> mp_prop.pr_num = 0x5
> mp_prop.pr_name = [ "default_mtu" ]
> mp_prop.pr_valsize = 0x8
> mp_prop.pr_val = [ '\334' ]
> }
> {
> mp_prop.pr_version = 0x1
> mp_prop.pr_flags = 0
> mp_prop.pr_ifname = [ "bge0" ]
> mp_prop.pr_num = 0x4
> mp_prop.pr_name = [ "adv_autoneg_cap" ]
> mp_prop.pr_valsize = 0x1
> mp_prop.pr_val = [ '\001' ]
> }
> >
>
I was thinking of something like [<addr>]::macprops
along the lines of the ::ire dcmd- something
that we can pass to customers who are not mac_proplist (or even GLDv3)
power-users. Of course, we would first need to add a mac module for
mdb itself (none currently exists).
--Sowmini