Searched refs:lg_ports (Results 1 - 4 of 4) sorted by relevance

/osnet-11/usr/src/lib/libdladm/common/
H A Dlibdlaggr.h65 dladm_aggr_port_attr_t *lg_ports; member in struct:dladm_aggr_grp_attr
H A Dlibdlaggr.c157 * Caller must free attr.lg_ports. The ptr pointer is advanced while convert
182 if ((attrp->lg_ports = malloc(grp->lg_nports *
196 attrp->lg_ports[i].lp_linkid = port->lp_linkid;
197 bcopy(port->lp_mac, attrp->lg_ports[i].lp_mac, ETHERADDRL);
198 attrp->lg_ports[i].lp_state = port->lp_state;
199 attrp->lg_ports[i].lp_lacp_state = port->lp_lacp_state;
362 if ((attrp->lg_ports = malloc(nports *
370 &attrp->lg_ports[i].lp_linkid)) != DLADM_STATUS_OK)
371 free(attrp->lg_ports);
763 datalink_id_t portid = attr.lg_ports[
[all...]
H A Dlibdllink.c612 if (ginfo.lg_ports[i].lp_linkid == hold_arg->linkid) {
896 if (ginfo.lg_ports[i].lp_linkid == del_arg->linkid)
H A Dlibdlstat.c2747 portp = &(ginfo.lg_ports[i]);
2791 free(ginfo.lg_ports);

Completed in 2088 milliseconds