Home
last modified time | relevance | path

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

/xnu-12377.41.6/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.h218 ASSERT((_h).cp_ptype == QP_MBUF); \
219 ASSERT((_t).cp_ptype == QP_MBUF); \
226 ASSERT((_h).cp_ptype == QP_PACKET); \
227 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.c338 switch (p->cp_ptype) { in ifclassq_set_packet_metadata()
434 switch (head->cp_ptype) { in ifclassq_dequeue_common_default()
700 switch (pkt->cp_ptype) { in ifclassq_tbr_dequeue_common()
H A Dclassq_fq_codel.c613 if (p.cp_ptype == QP_INVALID) { in fq_getq_flow_internal()
/xnu-12377.41.6/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-12377.41.6/bsd/net/pktsched/
H A Dpktsched.h65 #define pktsched_ptype __pkt.cp_ptype
H A Dpktsched.c290 switch (cpkt->cp_ptype) { in pktsched_pkt_encap()
318 switch (cpkt->cp_ptype) { in pktsched_pkt_encap_chain()
H A Dpktsched_netem.c1161 switch (p->cp_ptype) { in netem_enqueue()
H A Dpktsched_fq_codel.c777 if (head->cp_ptype == QP_PACKET) { in fq_if_enqueue()
/xnu-12377.41.6/bsd/skywalk/nexus/netif/
H A Dnx_netif_filter_native.c266 ASSERT(head->cp_ptype == QP_PACKET); in nx_netif_native_tx_dequeue()
H A Dnx_netif_filter_compat.c265 ASSERT(head->cp_ptype == QP_MBUF); in nx_netif_compat_tx_dequeue()
H A Dnx_netif.c4165 ASSERT((pkt_head.cp_ptype == QP_PACKET) || (pkt_head.cp_kpkt == NULL));
/xnu-12377.41.6/bsd/net/
H A Ddlil.c2964 switch (p->cp_ptype) { in ifnet_enqueue_single()
3460 VERIFY((pkt.cp_ptype == QP_MBUF) || (pkt.cp_mbuf == NULL)); in ifnet_dequeue()
3489 VERIFY((pkt.cp_ptype == QP_MBUF) || (pkt.cp_mbuf == NULL)); in ifnet_dequeue_service_class()
3519 VERIFY((pkt_head.cp_ptype == QP_MBUF) || (pkt_head.cp_mbuf == NULL)); in ifnet_dequeue_multi()
3552 VERIFY((pkt_head.cp_ptype == QP_MBUF) || (pkt_head.cp_mbuf == NULL)); in ifnet_dequeue_multi_bytes()
3588 VERIFY((pkt_head.cp_ptype == QP_MBUF) || (pkt_head.cp_mbuf == NULL)); in ifnet_dequeue_service_class_multi()