Lines Matching defs:GET_STAT
7757 #define GET_STAT(name) \
7763 p->tx_pause += GET_STAT(TX_PORT_PAUSE);
7764 p->tx_octets += GET_STAT(TX_PORT_BYTES);
7765 p->tx_frames += GET_STAT(TX_PORT_FRAMES);
7766 p->tx_bcast_frames += GET_STAT(TX_PORT_BCAST);
7767 p->tx_mcast_frames += GET_STAT(TX_PORT_MCAST);
7768 p->tx_ucast_frames += GET_STAT(TX_PORT_UCAST);
7769 p->tx_error_frames += GET_STAT(TX_PORT_ERROR);
7770 p->tx_frames_64 += GET_STAT(TX_PORT_64B);
7771 p->tx_frames_65_127 += GET_STAT(TX_PORT_65B_127B);
7772 p->tx_frames_128_255 += GET_STAT(TX_PORT_128B_255B);
7773 p->tx_frames_256_511 += GET_STAT(TX_PORT_256B_511B);
7774 p->tx_frames_512_1023 += GET_STAT(TX_PORT_512B_1023B);
7775 p->tx_frames_1024_1518 += GET_STAT(TX_PORT_1024B_1518B);
7776 p->tx_frames_1519_max += GET_STAT(TX_PORT_1519B_MAX);
7777 p->tx_drop += GET_STAT(TX_PORT_DROP);
7778 p->tx_ppp0 += GET_STAT(TX_PORT_PPP0);
7779 p->tx_ppp1 += GET_STAT(TX_PORT_PPP1);
7780 p->tx_ppp2 += GET_STAT(TX_PORT_PPP2);
7781 p->tx_ppp3 += GET_STAT(TX_PORT_PPP3);
7782 p->tx_ppp4 += GET_STAT(TX_PORT_PPP4);
7783 p->tx_ppp5 += GET_STAT(TX_PORT_PPP5);
7784 p->tx_ppp6 += GET_STAT(TX_PORT_PPP6);
7785 p->tx_ppp7 += GET_STAT(TX_PORT_PPP7);
7787 p->rx_pause += GET_STAT(RX_PORT_PAUSE);
7788 p->rx_octets += GET_STAT(RX_PORT_BYTES);
7789 p->rx_frames += GET_STAT(RX_PORT_FRAMES);
7790 p->rx_bcast_frames += GET_STAT(RX_PORT_BCAST);
7791 p->rx_mcast_frames += GET_STAT(RX_PORT_MCAST);
7792 p->rx_ucast_frames += GET_STAT(RX_PORT_UCAST);
7793 p->rx_too_long += GET_STAT(RX_PORT_MTU_ERROR);
7794 p->rx_jabber += GET_STAT(RX_PORT_MTU_CRC_ERROR);
7795 p->rx_len_err += GET_STAT(RX_PORT_LEN_ERROR);
7796 p->rx_symbol_err += GET_STAT(RX_PORT_SYM_ERROR);
7797 p->rx_runt += GET_STAT(RX_PORT_LESS_64B);
7798 p->rx_frames_64 += GET_STAT(RX_PORT_64B);
7799 p->rx_frames_65_127 += GET_STAT(RX_PORT_65B_127B);
7800 p->rx_frames_128_255 += GET_STAT(RX_PORT_128B_255B);
7801 p->rx_frames_256_511 += GET_STAT(RX_PORT_256B_511B);
7802 p->rx_frames_512_1023 += GET_STAT(RX_PORT_512B_1023B);
7803 p->rx_frames_1024_1518 += GET_STAT(RX_PORT_1024B_1518B);
7804 p->rx_frames_1519_max += GET_STAT(RX_PORT_1519B_MAX);
7805 p->rx_ppp0 += GET_STAT(RX_PORT_PPP0);
7806 p->rx_ppp1 += GET_STAT(RX_PORT_PPP1);
7807 p->rx_ppp2 += GET_STAT(RX_PORT_PPP2);
7808 p->rx_ppp3 += GET_STAT(RX_PORT_PPP3);
7809 p->rx_ppp4 += GET_STAT(RX_PORT_PPP4);
7810 p->rx_ppp5 += GET_STAT(RX_PORT_PPP5);
7811 p->rx_ppp6 += GET_STAT(RX_PORT_PPP6);
7812 p->rx_ppp7 += GET_STAT(RX_PORT_PPP7);
7815 p->rx_fcs_err += GET_STAT(RX_PORT_CRC_ERROR);
7818 #undef GET_STAT
7864 #define GET_STAT(name) \
7869 p->octets = GET_STAT(BYTES);
7870 p->frames = GET_STAT(FRAMES);
7871 p->bcast_frames = GET_STAT(BCAST);
7872 p->mcast_frames = GET_STAT(MCAST);
7873 p->ucast_frames = GET_STAT(UCAST);
7874 p->error_frames = GET_STAT(ERROR);
7876 p->frames_64 = GET_STAT(64B);
7877 p->frames_65_127 = GET_STAT(65B_127B);
7878 p->frames_128_255 = GET_STAT(128B_255B);
7879 p->frames_256_511 = GET_STAT(256B_511B);
7880 p->frames_512_1023 = GET_STAT(512B_1023B);
7881 p->frames_1024_1518 = GET_STAT(1024B_1518B);
7882 p->frames_1519_max = GET_STAT(1519B_MAX);
7883 p->drop = GET_STAT(DROP_FRAMES);
7898 #undef GET_STAT