Home
last modified time | relevance | path

Searched refs:cp_ptype (Results 1 – 14 of 14) sorted by relevance

/xnu-10063.141.1/bsd/net/classq/
H A Dclassq.h96 classq_pkt_type_t cp_ptype; member
100 (classq_pkt_t){ .cp_mbuf = NULL, .cp_ptype = QP_INVALID }
103 (_p)->cp_ptype = QP_INVALID; \
108 (_p)->cp_ptype = QP_MBUF; \
114 (_p)->cp_ptype = QP_PACKET; \
H A Dclassq_fq_codel.h186 ASSERT((_h).cp_ptype == QP_MBUF); \
187 ASSERT((_t).cp_ptype == QP_MBUF); \
194 ASSERT((_h).cp_ptype == QP_PACKET); \
195 ASSERT((_t).cp_ptype == QP_PACKET); \
H A Dclassq.c120 ASSERT(pkt->cp_ptype == qptype(q)); in _addq()
155 ASSERT(pkt_head->cp_ptype == qptype(q)); in _addq_multi()
156 ASSERT(pkt_tail->cp_ptype == qptype(q)); in _addq_multi()
565 ASSERT(pkt->cp_ptype == QP_MBUF); in _removeq()
H A Dclassq_subr.c317 switch (p->cp_ptype) { in ifclassq_set_packet_metadata()
433 switch (head->cp_ptype) { in ifclassq_dequeue_common_default()
679 switch (pkt->cp_ptype) { in ifclassq_tbr_dequeue_common()
H A Dclassq_fq_codel.c595 if (p.cp_ptype == QP_INVALID) { in fq_getq_flow_internal()
/xnu-10063.141.1/bsd/skywalk/nexus/
H A Dnexus_pktq.h172 ASSERT((pkt.cp_kpkt == NULL) || (pkt.cp_ptype == QP_PACKET)); in __pktq_deq()
206 ASSERT((first.cp_kpkt == NULL) || (first.cp_ptype == QP_PACKET)); in __pktq_deq_all()
H A Dnexus_mbq.h198 ASSERT((pkt.cp_mbuf == NULL) || (pkt.cp_ptype == QP_MBUF)); in __mbq_deq()
232 ASSERT((first.cp_mbuf == NULL) || (first.cp_ptype == QP_MBUF)); in __mbq_deq_all()
/xnu-10063.141.1/bsd/net/pktsched/
H A Dpktsched.h64 #define pktsched_ptype __pkt.cp_ptype
H A Dpktsched.c188 switch (cpkt->cp_ptype) { in pktsched_pkt_encap()
216 switch (cpkt->cp_ptype) { in pktsched_pkt_encap_chain()
H A Dpktsched_fq_codel.c511 if (head->cp_ptype == QP_PACKET) { in fq_if_enqueue_classq()
/xnu-10063.141.1/bsd/skywalk/nexus/netif/
H A Dnx_netif_filter_compat.c264 ASSERT(head->cp_ptype == QP_MBUF); in nx_netif_compat_tx_dequeue()
H A Dnx_netif_filter_native.c265 ASSERT(head->cp_ptype == QP_PACKET); in nx_netif_native_tx_dequeue()
H A Dnx_netif.c4125 ASSERT((pkt_head.cp_ptype == QP_PACKET) || (pkt_head.cp_kpkt == NULL));
/xnu-10063.141.1/bsd/net/
H A Ddlil.c5354 switch (p->cp_ptype) { in ifnet_enqueue_ifclassq()
5881 VERIFY((pkt.cp_ptype == QP_MBUF) || (pkt.cp_mbuf == NULL)); in ifnet_dequeue()
5909 VERIFY((pkt.cp_ptype == QP_MBUF) || (pkt.cp_mbuf == NULL)); in ifnet_dequeue_service_class()
5938 VERIFY((pkt_head.cp_ptype == QP_MBUF) || (pkt_head.cp_mbuf == NULL)); in ifnet_dequeue_multi()
5970 VERIFY((pkt_head.cp_ptype == QP_MBUF) || (pkt_head.cp_mbuf == NULL)); in ifnet_dequeue_multi_bytes()
6005 VERIFY((pkt_head.cp_ptype == QP_MBUF) || (pkt_head.cp_mbuf == NULL)); in ifnet_dequeue_service_class_multi()