Searched refs:m_pktlen (Results 1 – 13 of 13) sorted by relevance
/freebsd/sys/net/altq/ |
H A D | altq_codel.c | 196 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 D | altq_classq.h | 107 qsize(q) += m_pktlen(m); in _addq() 122 qsize(q) -= m_pktlen(m0); in _getq()
|
H A D | altq_fairq.c | 514 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 D | altq_rio.c | 402 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 D | altq_priq.c | 474 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 D | altq_red.c | 388 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 D | altq_var.h | 160 #define m_pktlen(m) ((m)->m_pkthdr.len) macro
|
H A D | altq_hfsc.c | 683 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 D | altq_rmclass.c | 1084 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 D | altq_cbq.c | 485 len = m_pktlen(m); in cbq_enqueue()
|
H A D | altq_subr.c | 325 tbr->tbr_token -= TBR_SCALE(m_pktlen(m)); in tbr_dequeue()
|
/freebsd/sys/netgraph/netflow/ |
H A D | netflow_v9.c | 179 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 D | ng_netflow.h | 498 #define m_pktlen(m) ((m)->m_pkthdr.len) macro
|