I'm sponsoring this case for Sowmini Varadhan. It is comprised of a
small number of fairly obvious and minor changes to the Brussels project
(which integrated into ON last week), and is thus closed approved automatic.
1. Summary
This case comprises modifications and cleanup to interfaces
presented in PSARC 2007/429.
2. Details
2.1 Updates to struct dld_ioc_prop_s
The dld_ioc_prop_s structure is used to pass data between
user and kernel space as part of the DLDIOCSETPROP and
DLDIOCGETPROP ioctl. This structure, as defined in
PSARC 2007/429, contains the name of the link in the
pr_linkname field.
This fast-track changes that field to contain a datalink_id_t
value introduced as part of PSARC 2006/499 (Clearview Nemo
unification and vanity naming). Thus the new structure shall be:
typedef struct dld_ioc_prop_s {
int pr_version;
uint_t pr_flags;
datalink_id_t pr_linkid;
dld_prop_id_t pr_num;
char pr_name[DLD_LINKPROP_NAME_MAX];
uint_t pr_valsize;
char pr_val[1];
} dld_ioc_prop_t;
2.2 Changes to Exported interfaces:
This fast-track updates the names of the following properties.
Note that the Classification of the interface is not modified
by this Fast-track.
2007/429 Proposed
interface interface
name name
--------------------------------
ifspeed speed
link_duplex duplex
default_mtu mtu
link_up state