Home
last modified time | relevance | path

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

/xnu-8020.101.4/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.h111 ASSERT((_h).cp_ptype == QP_MBUF); \
112 ASSERT((_t).cp_ptype == QP_MBUF); \
119 ASSERT((_h).cp_ptype == QP_PACKET); \
120 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.c265 switch (p->cp_ptype) { in ifclassq_set_packet_metadata()
388 switch (head->cp_ptype) { in ifclassq_dequeue_common_default()
632 switch (pkt->cp_ptype) { in ifclassq_tbr_dequeue_common()
H A Dclassq_fq_codel.c516 if (p.cp_ptype == QP_INVALID) { in fq_getq_flow_internal()
/xnu-8020.101.4/bsd/skywalk/nexus/
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()
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()
/xnu-8020.101.4/bsd/net/pktsched/
H A Dpktsched.h64 #define pktsched_ptype __pkt.cp_ptype
H A Dpktsched.c183 switch (cpkt->cp_ptype) { in pktsched_pkt_encap()
211 switch (cpkt->cp_ptype) { in pktsched_pkt_encap_chain()
/xnu-8020.101.4/bsd/skywalk/nexus/netif/
H A Dnx_netif_filter_native.c265 ASSERT(head->cp_ptype == QP_PACKET); in nx_netif_native_tx_dequeue()
H A Dnx_netif_filter_compat.c264 ASSERT(head->cp_ptype == QP_MBUF); in nx_netif_compat_tx_dequeue()
H A Dnx_netif.c3876 ASSERT((pkt_head.cp_ptype == QP_PACKET) || (pkt_head.cp_kpkt == NULL));
/xnu-8020.101.4/bsd/net/
H A Ddlil.c4901 switch (p->cp_ptype) { in ifnet_enqueue_ifclassq()
5394 VERIFY((pkt.cp_ptype == QP_MBUF) || (pkt.cp_mbuf == NULL)); in ifnet_dequeue()
5422 VERIFY((pkt.cp_ptype == QP_MBUF) || (pkt.cp_mbuf == NULL)); in ifnet_dequeue_service_class()
5451 VERIFY((pkt_head.cp_ptype == QP_MBUF) || (pkt_head.cp_mbuf == NULL)); in ifnet_dequeue_multi()
5483 VERIFY((pkt_head.cp_ptype == QP_MBUF) || (pkt_head.cp_mbuf == NULL)); in ifnet_dequeue_multi_bytes()
5518 VERIFY((pkt_head.cp_ptype == QP_MBUF) || (pkt_head.cp_mbuf == NULL)); in ifnet_dequeue_service_class_multi()