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

/illumos-gate/usr/src/cmd/dladm/
H A Ddladm.c3278 pktsum_t pktsumtot, *port_stat; local
3287 port_stat = malloc(ginfop->lg_nports * sizeof (pktsum_t));
3288 if (port_stat == NULL) {
3302 get_mac_stats(dpa.dp_dev, &port_stat[i]);
3307 * port_stat[] once we have the stats displayed.
3310 dladm_stats_diff(&state->gs_prevstats[i], &port_stat[i],
3337 state->gs_prevstats[i] = port_stat[i];
3340 free(port_stat);

Completed in 63 milliseconds