Lines Matching refs:mtc
1087 uint32_t mtc = m_get_traffic_class(m); in so_recv_data_stat() local
1089 if (mtc >= SO_TC_STATS_MAX) { in so_recv_data_stat()
1090 mtc = MBUF_TC_BE; in so_recv_data_stat()
1093 so->so_tc_stats[mtc].rxpackets += 1; in so_recv_data_stat()
1094 so->so_tc_stats[mtc].rxbytes += in so_recv_data_stat()
1100 uint32_t mtc) in so_inc_recv_data_stat() argument
1102 if (mtc >= SO_TC_STATS_MAX) { in so_inc_recv_data_stat()
1103 mtc = MBUF_TC_BE; in so_inc_recv_data_stat()
1106 so->so_tc_stats[mtc].rxpackets += pkts; in so_inc_recv_data_stat()
1107 so->so_tc_stats[mtc].rxbytes += bytes; in so_inc_recv_data_stat()
1332 mbuf_traffic_class_t mtc; in so_tc_update_stats() local
1340 mtc = MBUF_SC2TC(msc); in so_tc_update_stats()
1341 VERIFY(mtc < SO_TC_STATS_MAX); in so_tc_update_stats()
1342 so->so_tc_stats[mtc].txpackets += 1; in so_tc_update_stats()
1343 so->so_tc_stats[mtc].txbytes += m->m_pkthdr.len; in so_tc_update_stats()