Lines Matching refs:l_stats

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