Home
last modified time | relevance | path

Searched refs:m_pktlen (Results 1 – 13 of 13) sorted by relevance

/freebsd/sys/net/altq/
H A Daltq_codel.c196 PKTCNTR_ADD(&cif->cl_stats.cl_dropcnt, m_pktlen(m)); in codel_request()
221 PKTCNTR_ADD(&cif->cl_stats.cl_dropcnt, m_pktlen(m)); in codel_enqueue()
226 PKTCNTR_ADD(&cif->cl_stats.cl_dropcnt, m_pktlen(m)); in codel_enqueue()
251 PKTCNTR_ADD(&cif->cl_stats.cl_xmitcnt, m_pktlen(m)); in codel_dequeue()
334 c->stats.maxpacket = MAX(c->stats.maxpacket, m_pktlen(m)); in codel_should_drop()
423 PKTCNTR_ADD(&c->stats.drop_cnt, m_pktlen(m)); in codel_getq()
439 PKTCNTR_ADD(&c->stats.drop_cnt, m_pktlen(m)); in codel_getq()
H A Daltq_classq.h107 qsize(q) += m_pktlen(m); in _addq()
122 qsize(q) -= m_pktlen(m0); in _getq()
H A Daltq_fairq.c514 len = m_pktlen(m); in fairq_enqueue()
558 PKTCNTR_ADD(&best_cl->cl_xmitcnt, m_pktlen(m)); in fairq_dequeue()
600 PKTCNTR_ADD(&best_cl->cl_xmitcnt, m_pktlen(m)); in fairq_dequeue()
848 PKTCNTR_ADD(&cl->cl_dropcnt, m_pktlen(m)); in fairq_purgeq()
H A Daltq_rio.c402 PKTCNTR_ADD(&rp->q_stats[dpindex].drop_cnt, m_pktlen(m)); in rio_addq()
423 PKTCNTR_ADD(&rp->q_stats[dpindex].xmit_cnt, m_pktlen(m)); in rio_addq()
H A Daltq_priq.c474 len = m_pktlen(m); in priq_enqueue()
520 PKTCNTR_ADD(&cl->cl_xmitcnt, m_pktlen(m)); in priq_dequeue()
591 PKTCNTR_ADD(&cl->cl_dropcnt, m_pktlen(m)); in priq_purgeq()
H A Daltq_red.c388 PKTCNTR_ADD(&rp->red_stats.drop_cnt, m_pktlen(m)); in red_addq()
396 PKTCNTR_ADD(&rp->red_stats.xmit_cnt, m_pktlen(m)); in red_addq()
H A Daltq_var.h160 #define m_pktlen(m) ((m)->m_pkthdr.len) macro
H A Daltq_hfsc.c683 len = m_pktlen(m); in hfsc_enqueue()
694 set_active(cl, m_pktlen(m)); in hfsc_enqueue()
781 len = m_pktlen(m); in hfsc_dequeue()
793 next_len = m_pktlen(qhead(cl->cl_q)); in hfsc_dequeue()
871 PKTCNTR_ADD(&cl->cl_stats.drop_cnt, m_pktlen(m)); in hfsc_purgeq()
H A Daltq_rmclass.c1084 cl->bytes_alloc_ -= m_pktlen(m); in _rmc_wrr_dequeue_next()
1092 ifd->curlen_[ifd->qi_] = m_pktlen(m); in _rmc_wrr_dequeue_next()
1198 ifd->curlen_[ifd->qi_] = m_pktlen(m); in _rmc_prr_dequeue_next()
H A Daltq_cbq.c485 len = m_pktlen(m); in cbq_enqueue()
H A Daltq_subr.c325 tbr->tbr_token -= TBR_SCALE(m_pktlen(m)); in tbr_dequeue()
/freebsd/sys/netgraph/netflow/
H A Dnetflow_v9.c179 len = (uint16_t)(m_pktlen(m) - t->flow_header); in close_flowset()
213 if (m_pktlen(m) != t->flow_header) in export9_send()
338 t->flow_header = m_pktlen(m); in export9_add()
355 …if (m_pktlen(m) + sizeof(struct netflow_v9_record_general) + sizeof(struct netflow_v9_flowset_head… in export9_add()
H A Dng_netflow.h498 #define m_pktlen(m) ((m)->m_pkthdr.len) macro