Lines Matching refs:l_stats
296 link->l_stats[RTNL_LINK_RX_PACKETS] = st->rx_packets;
297 link->l_stats[RTNL_LINK_RX_BYTES] = st->rx_bytes;
298 link->l_stats[RTNL_LINK_RX_ERRORS] = st->rx_errors;
299 link->l_stats[RTNL_LINK_RX_DROPPED] = st->rx_dropped;
300 link->l_stats[RTNL_LINK_RX_COMPRESSED] = st->rx_compressed;
301 link->l_stats[RTNL_LINK_RX_FIFO_ERR] = st->rx_fifo_errors;
302 link->l_stats[RTNL_LINK_TX_PACKETS] = st->tx_packets;
303 link->l_stats[RTNL_LINK_TX_BYTES] = st->tx_bytes;
304 link->l_stats[RTNL_LINK_TX_ERRORS] = st->tx_errors;
305 link->l_stats[RTNL_LINK_TX_DROPPED] = st->tx_dropped;
306 link->l_stats[RTNL_LINK_TX_COMPRESSED] = st->tx_compressed;
307 link->l_stats[RTNL_LINK_TX_FIFO_ERR] = st->tx_fifo_errors;
308 link->l_stats[RTNL_LINK_RX_LEN_ERR] = st->rx_length_errors;
309 link->l_stats[RTNL_LINK_RX_OVER_ERR] = st->rx_over_errors;
310 link->l_stats[RTNL_LINK_RX_CRC_ERR] = st->rx_crc_errors;
311 link->l_stats[RTNL_LINK_RX_FRAME_ERR] = st->rx_frame_errors;
312 link->l_stats[RTNL_LINK_RX_MISSED_ERR] = st->rx_missed_errors;
313 link->l_stats[RTNL_LINK_TX_ABORT_ERR] = st->tx_aborted_errors;
314 link->l_stats[RTNL_LINK_TX_CARRIER_ERR] = st->tx_carrier_errors;
315 link->l_stats[RTNL_LINK_TX_HBEAT_ERR] = st->tx_heartbeat_errors;
316 link->l_stats[RTNL_LINK_TX_WIN_ERR] = st->tx_window_errors;
317 link->l_stats[RTNL_LINK_MULTICAST] = st->multicast;
517 res = nl_cancel_down_bytes(link->l_stats[RTNL_LINK_RX_BYTES], &unit);
523 link->l_stats[RTNL_LINK_RX_PACKETS],
524 link->l_stats[RTNL_LINK_RX_ERRORS],
525 link->l_stats[RTNL_LINK_RX_DROPPED],
526 link->l_stats[RTNL_LINK_RX_FIFO_ERR],
527 link->l_stats[RTNL_LINK_RX_COMPRESSED]);
529 res = nl_cancel_down_bytes(link->l_stats[RTNL_LINK_TX_BYTES], &unit);
535 link->l_stats[RTNL_LINK_TX_PACKETS],
536 link->l_stats[RTNL_LINK_TX_ERRORS],
537 link->l_stats[RTNL_LINK_TX_DROPPED],
538 link->l_stats[RTNL_LINK_TX_FIFO_ERR],
539 link->l_stats[RTNL_LINK_TX_COMPRESSED]);
547 link->l_stats[RTNL_LINK_RX_LEN_ERR],
548 link->l_stats[RTNL_LINK_RX_OVER_ERR],
549 link->l_stats[RTNL_LINK_RX_CRC_ERR],
550 link->l_stats[RTNL_LINK_RX_FRAME_ERR],
551 link->l_stats[RTNL_LINK_RX_MISSED_ERR],
552 link->l_stats[RTNL_LINK_MULTICAST]);
559 link->l_stats[RTNL_LINK_TX_ABORT_ERR],
560 link->l_stats[RTNL_LINK_TX_CARRIER_ERR],
561 link->l_stats[RTNL_LINK_TX_HBEAT_ERR],
562 link->l_stats[RTNL_LINK_TX_WIN_ERR],
563 link->l_stats[RTNL_LINK_TX_COLLISIONS]);
628 nl_dump_line(p, "%s=%" PRIu64 "\n", buf, link->l_stats[i]);
1374 return link->l_stats[id];