Lines Matching refs:l_stats
406 link->l_stats[RTNL_LINK_RX_PACKETS] = st->rx_packets; in rtnl_link_info_parse()
407 link->l_stats[RTNL_LINK_TX_PACKETS] = st->tx_packets; in rtnl_link_info_parse()
408 link->l_stats[RTNL_LINK_RX_BYTES] = st->rx_bytes; in rtnl_link_info_parse()
409 link->l_stats[RTNL_LINK_TX_BYTES] = st->tx_bytes; in rtnl_link_info_parse()
410 link->l_stats[RTNL_LINK_RX_ERRORS] = st->rx_errors; in rtnl_link_info_parse()
411 link->l_stats[RTNL_LINK_TX_ERRORS] = st->tx_errors; in rtnl_link_info_parse()
412 link->l_stats[RTNL_LINK_RX_DROPPED] = st->rx_dropped; in rtnl_link_info_parse()
413 link->l_stats[RTNL_LINK_TX_DROPPED] = st->tx_dropped; in rtnl_link_info_parse()
414 link->l_stats[RTNL_LINK_MULTICAST] = st->multicast; in rtnl_link_info_parse()
415 link->l_stats[RTNL_LINK_COLLISIONS] = st->collisions; in rtnl_link_info_parse()
417 link->l_stats[RTNL_LINK_RX_LEN_ERR] = st->rx_length_errors; in rtnl_link_info_parse()
418 link->l_stats[RTNL_LINK_RX_OVER_ERR] = st->rx_over_errors; in rtnl_link_info_parse()
419 link->l_stats[RTNL_LINK_RX_CRC_ERR] = st->rx_crc_errors; in rtnl_link_info_parse()
420 link->l_stats[RTNL_LINK_RX_FRAME_ERR] = st->rx_frame_errors; in rtnl_link_info_parse()
421 link->l_stats[RTNL_LINK_RX_FIFO_ERR] = st->rx_fifo_errors; in rtnl_link_info_parse()
422 link->l_stats[RTNL_LINK_RX_MISSED_ERR] = st->rx_missed_errors; in rtnl_link_info_parse()
424 link->l_stats[RTNL_LINK_TX_ABORT_ERR] = st->tx_aborted_errors; in rtnl_link_info_parse()
425 link->l_stats[RTNL_LINK_TX_CARRIER_ERR] = st->tx_carrier_errors; in rtnl_link_info_parse()
426 link->l_stats[RTNL_LINK_TX_FIFO_ERR] = st->tx_fifo_errors; in rtnl_link_info_parse()
427 link->l_stats[RTNL_LINK_TX_HBEAT_ERR] = st->tx_heartbeat_errors; in rtnl_link_info_parse()
428 link->l_stats[RTNL_LINK_TX_WIN_ERR] = st->tx_window_errors; in rtnl_link_info_parse()
430 link->l_stats[RTNL_LINK_RX_COMPRESSED] = st->rx_compressed; in rtnl_link_info_parse()
431 link->l_stats[RTNL_LINK_TX_COMPRESSED] = st->tx_compressed; in rtnl_link_info_parse()
437 link->l_stats[RTNL_LINK_RX_NOHANDLER] = st->rx_nohandler; in rtnl_link_info_parse()
439 link->l_stats[RTNL_LINK_RX_NOHANDLER] = 0; in rtnl_link_info_parse()
456 link->l_stats[RTNL_LINK_RX_PACKETS] = st.rx_packets; in rtnl_link_info_parse()
457 link->l_stats[RTNL_LINK_TX_PACKETS] = st.tx_packets; in rtnl_link_info_parse()
458 link->l_stats[RTNL_LINK_RX_BYTES] = st.rx_bytes; in rtnl_link_info_parse()
459 link->l_stats[RTNL_LINK_TX_BYTES] = st.tx_bytes; in rtnl_link_info_parse()
460 link->l_stats[RTNL_LINK_RX_ERRORS] = st.rx_errors; in rtnl_link_info_parse()
461 link->l_stats[RTNL_LINK_TX_ERRORS] = st.tx_errors; in rtnl_link_info_parse()
462 link->l_stats[RTNL_LINK_RX_DROPPED] = st.rx_dropped; in rtnl_link_info_parse()
463 link->l_stats[RTNL_LINK_TX_DROPPED] = st.tx_dropped; in rtnl_link_info_parse()
464 link->l_stats[RTNL_LINK_MULTICAST] = st.multicast; in rtnl_link_info_parse()
465 link->l_stats[RTNL_LINK_COLLISIONS] = st.collisions; in rtnl_link_info_parse()
467 link->l_stats[RTNL_LINK_RX_LEN_ERR] = st.rx_length_errors; in rtnl_link_info_parse()
468 link->l_stats[RTNL_LINK_RX_OVER_ERR] = st.rx_over_errors; in rtnl_link_info_parse()
469 link->l_stats[RTNL_LINK_RX_CRC_ERR] = st.rx_crc_errors; in rtnl_link_info_parse()
470 link->l_stats[RTNL_LINK_RX_FRAME_ERR] = st.rx_frame_errors; in rtnl_link_info_parse()
471 link->l_stats[RTNL_LINK_RX_FIFO_ERR] = st.rx_fifo_errors; in rtnl_link_info_parse()
472 link->l_stats[RTNL_LINK_RX_MISSED_ERR] = st.rx_missed_errors; in rtnl_link_info_parse()
474 link->l_stats[RTNL_LINK_TX_ABORT_ERR] = st.tx_aborted_errors; in rtnl_link_info_parse()
475 link->l_stats[RTNL_LINK_TX_CARRIER_ERR] = st.tx_carrier_errors; in rtnl_link_info_parse()
476 link->l_stats[RTNL_LINK_TX_FIFO_ERR] = st.tx_fifo_errors; in rtnl_link_info_parse()
477 link->l_stats[RTNL_LINK_TX_HBEAT_ERR] = st.tx_heartbeat_errors; in rtnl_link_info_parse()
478 link->l_stats[RTNL_LINK_TX_WIN_ERR] = st.tx_window_errors; in rtnl_link_info_parse()
480 link->l_stats[RTNL_LINK_RX_COMPRESSED] = st.rx_compressed; in rtnl_link_info_parse()
481 link->l_stats[RTNL_LINK_TX_COMPRESSED] = st.tx_compressed; in rtnl_link_info_parse()
486 link->l_stats[RTNL_LINK_RX_NOHANDLER] = st.rx_nohandler; in rtnl_link_info_parse()
981 res = nl_cancel_down_bytes(link->l_stats[RTNL_LINK_RX_BYTES], &unit); in link_dump_stats()
987 link->l_stats[RTNL_LINK_RX_PACKETS], in link_dump_stats()
988 link->l_stats[RTNL_LINK_RX_ERRORS], in link_dump_stats()
989 link->l_stats[RTNL_LINK_RX_DROPPED], in link_dump_stats()
990 link->l_stats[RTNL_LINK_RX_FIFO_ERR], in link_dump_stats()
991 link->l_stats[RTNL_LINK_RX_COMPRESSED]); in link_dump_stats()
993 res = nl_cancel_down_bytes(link->l_stats[RTNL_LINK_TX_BYTES], &unit); in link_dump_stats()
999 link->l_stats[RTNL_LINK_TX_PACKETS], in link_dump_stats()
1000 link->l_stats[RTNL_LINK_TX_ERRORS], in link_dump_stats()
1001 link->l_stats[RTNL_LINK_TX_DROPPED], in link_dump_stats()
1002 link->l_stats[RTNL_LINK_TX_FIFO_ERR], in link_dump_stats()
1003 link->l_stats[RTNL_LINK_TX_COMPRESSED]); in link_dump_stats()
1011 link->l_stats[RTNL_LINK_RX_LEN_ERR], in link_dump_stats()
1012 link->l_stats[RTNL_LINK_RX_OVER_ERR], in link_dump_stats()
1013 link->l_stats[RTNL_LINK_RX_CRC_ERR], in link_dump_stats()
1014 link->l_stats[RTNL_LINK_RX_FRAME_ERR], in link_dump_stats()
1015 link->l_stats[RTNL_LINK_RX_MISSED_ERR], in link_dump_stats()
1016 link->l_stats[RTNL_LINK_MULTICAST]); in link_dump_stats()
1023 link->l_stats[RTNL_LINK_TX_ABORT_ERR], in link_dump_stats()
1024 link->l_stats[RTNL_LINK_TX_CARRIER_ERR], in link_dump_stats()
1025 link->l_stats[RTNL_LINK_TX_HBEAT_ERR], in link_dump_stats()
1026 link->l_stats[RTNL_LINK_TX_WIN_ERR], in link_dump_stats()
1027 link->l_stats[RTNL_LINK_COLLISIONS]); in link_dump_stats()
2511 return link->l_stats[id]; in rtnl_link_get_stat()
2531 link->l_stats[id] = value; in rtnl_link_set_stat()