tl_stats
struct tl_stats tl_stats;
bzero((char *)&tl_stats, sizeof(struct tl_stats));
p = (u_int32_t *)&tl_stats;
IFNET_STAT_INC(ifp, opackets, tl_tx_goodframes(tl_stats));
IFNET_STAT_INC(ifp, collisions, tl_stats.tl_tx_single_collision +
tl_stats.tl_tx_multi_collision);
IFNET_STAT_INC(ifp, ipackets, tl_rx_goodframes(tl_stats));
IFNET_STAT_INC(ifp, ierrors, tl_stats.tl_crc_errors +
tl_stats.tl_code_errors + tl_rx_overrun(tl_stats));
IFNET_STAT_INC(ifp, oerrors, tl_tx_underrun(tl_stats));
if (tl_tx_underrun(tl_stats)) {