Lines Matching refs:mtc
1098 uint32_t mtc = m_get_traffic_class(m); in so_recv_data_stat() local
1100 if (mtc >= SO_TC_STATS_MAX) { in so_recv_data_stat()
1101 mtc = MBUF_TC_BE; in so_recv_data_stat()
1104 so->so_tc_stats[mtc].rxpackets += 1; in so_recv_data_stat()
1105 so->so_tc_stats[mtc].rxbytes += in so_recv_data_stat()
1111 uint32_t mtc) in so_inc_recv_data_stat() argument
1113 if (mtc >= SO_TC_STATS_MAX) { in so_inc_recv_data_stat()
1114 mtc = MBUF_TC_BE; in so_inc_recv_data_stat()
1117 so->so_tc_stats[mtc].rxpackets += pkts; in so_inc_recv_data_stat()
1118 so->so_tc_stats[mtc].rxbytes += bytes; in so_inc_recv_data_stat()
1343 mbuf_traffic_class_t mtc; in so_tc_update_stats() local
1351 mtc = MBUF_SC2TC(msc); in so_tc_update_stats()
1352 VERIFY(mtc < SO_TC_STATS_MAX); in so_tc_update_stats()
1353 so->so_tc_stats[mtc].txpackets += 1; in so_tc_update_stats()
1354 so->so_tc_stats[mtc].txbytes += m->m_pkthdr.len; in so_tc_update_stats()