Searched refs:if_snd (Results 1 - 25 of 25) sorted by relevance

/darwin-on-arm/xnu/bsd/net/altq/
H A Daltq_subr.c102 IFCQ_LOCK(&ifp->if_snd);
104 IFCQ_ALTQ(&ifp->if_snd)->altq_type == type)
105 state = IFCQ_ALTQ(&ifp->if_snd)->altq_disc;
107 IFCQ_UNLOCK(&ifp->if_snd);
111 IFCQ_LOCK_ASSERT_HELD(&ifp->if_snd);
472 IFCQ_LOCK(&ifp->if_snd);
474 a->altq_disc != IFCQ_ALTQ(&ifp->if_snd)->altq_disc) {
475 IFCQ_UNLOCK(&ifp->if_snd);
479 if (ALTQ_IS_ENABLED(IFCQ_ALTQ(&ifp->if_snd)))
480 error = altq_disable(IFCQ_ALTQ(&ifp->if_snd));
[all...]
H A Daltq_fairq.c130 IFCQ_LOCK(&ifp->if_snd);
131 error = altq_attach(IFCQ_ALTQ(&ifp->if_snd), ALTQT_FAIRQ, a->altq_disc,
133 IFCQ_UNLOCK(&ifp->if_snd);
148 if (!ALTQ_IS_READY(IFCQ_ALTQ(&ifp->if_snd)))
H A Daltq_priq.c97 IFCQ_LOCK(&ifp->if_snd);
98 error = altq_attach(IFCQ_ALTQ(&ifp->if_snd), ALTQT_PRIQ, a->altq_disc,
100 IFCQ_UNLOCK(&ifp->if_snd);
115 if (!ALTQ_IS_READY(IFCQ_ALTQ(&ifp->if_snd)))
H A Daltq_qfq.c68 IFCQ_LOCK(&ifp->if_snd);
69 error = altq_attach(IFCQ_ALTQ(&ifp->if_snd), ALTQT_QFQ, a->altq_disc,
71 IFCQ_UNLOCK(&ifp->if_snd);
86 if (!ALTQ_IS_READY(IFCQ_ALTQ(&ifp->if_snd)))
H A Daltq_cbq.c97 IFCQ_LOCK(&ifp->if_snd);
98 error = altq_attach(IFCQ_ALTQ(&ifp->if_snd), ALTQT_CBQ, a->altq_disc,
100 IFCQ_UNLOCK(&ifp->if_snd);
115 if (!ALTQ_IS_READY(IFCQ_ALTQ(&ifp->if_snd)))
H A Daltq_hfsc.c99 IFCQ_LOCK(&ifp->if_snd);
100 error = altq_attach(IFCQ_ALTQ(&ifp->if_snd), ALTQT_HFSC, a->altq_disc,
102 IFCQ_UNLOCK(&ifp->if_snd);
117 if (!ALTQ_IS_READY(IFCQ_ALTQ(&ifp->if_snd)))
/darwin-on-arm/xnu/bsd/net/
H A Dif_mib.c136 ifmd.ifmd_snd_len = IFCQ_LEN(&ifp->if_snd);
137 ifmd.ifmd_snd_maxlen = IFCQ_MAXLEN(&ifp->if_snd);
138 ifmd.ifmd_snd_drops = ifp->if_snd.ifcq_dropcnt.packets;
160 ifp->if_snd.ifq_maxlen = ifmd.ifmd_snd_maxlen;
161 ifp->if_snd.ifq_drops = ifmd.ifmd_snd_drops;
H A Ddlil.c2119 struct ifclassq *ifq = &ifp->if_snd;
2430 ifq = &ifp->if_snd;
2449 ifclassq_set_maxlen(&ifp->if_snd, maxqlen);
2462 *maxqlen = ifclassq_get_maxlen(&ifp->if_snd);
2475 *qlen = ifclassq_get_len(&ifp->if_snd);
2542 error = ifclassq_enqueue(&ifp->if_snd, m);
2564 return (ifclassq_dequeue(&ifp->if_snd, 1, mp, NULL, NULL, NULL));
2577 return (ifclassq_dequeue_sc(&ifp->if_snd, sc, 1, mp, NULL, NULL, NULL));
2590 return (ifclassq_dequeue(&ifp->if_snd, limit, head, tail, cnt, len));
2605 return (ifclassq_dequeue_sc(&ifp->if_snd, s
[all...]
H A Dkpi_interface.c294 IFCQ_MAXLEN(&ifp->if_snd) = einit.sndq_maxlen;
1022 ifq = &ifp->if_snd;
1080 struct ifclassq *ifq = &ifp->if_snd;
1087 u_int64_t tbr_rate = ifp->if_snd.ifcq_tbr.tbr_rate_raw;
1089 rate = MIN(rate, ifp->if_snd.ifcq_tbr.tbr_rate_raw);
H A Dif.c1232 struct ifclassq *ifq = &ifp->if_snd;
1318 struct ifclassq *ifq = &ifp->if_snd;
1342 struct ifclassq *ifq = &ifp->if_snd;
1753 struct ifclassq *ifq = &ifp->if_snd;
1777 struct ifclassq *ifq = &ifp->if_snd;
1822 error = ifclassq_getqstats(&ifp->if_snd, ifqr_slot,
2086 struct ifclassq *ifq = &ifp->if_snd;
H A Drtsock.c1690 ifm->ifm_snd_len = IFCQ_LEN(&ifp->if_snd);
1691 ifm->ifm_snd_maxlen = IFCQ_MAXLEN(&ifp->if_snd);
1693 ifp->if_snd.ifcq_dropcnt.packets;
H A Dif_var.h564 struct ifclassq if_snd; /* transmit queue */ member in struct:ifnet
H A Dpf_ioctl.c1068 ifq = &ifp->if_snd;
1114 ifq = &ifp->if_snd;
/darwin-on-arm/xnu/bsd/net/classq/
H A Dclassq_blue.c286 IFCQ_CONVERT_LOCK(&bp->blue_ifp->if_snd);
327 IFCQ_CONVERT_LOCK(&bp->blue_ifp->if_snd);
H A Dclassq_sfb.c283 IFCQ_CONVERT_LOCK(&sp->sfb_ifp->if_snd);
403 IFCQ_CONVERT_LOCK(&sp->sfb_ifp->if_snd);
823 IFCQ_CONVERT_LOCK(&sp->sfb_ifp->if_snd);
997 IFCQ_CONVERT_LOCK(&sp->sfb_ifp->if_snd);
1097 IFCQ_CONVERT_LOCK(&sp->sfb_ifp->if_snd);
H A Dclassq_red.c428 IFCQ_CONVERT_LOCK(&rp->red_ifp->if_snd);
501 IFCQ_CONVERT_LOCK(&rp->red_ifp->if_snd);
H A Dclassq_rio.c441 IFCQ_CONVERT_LOCK(&rp->rio_ifp->if_snd);
501 IFCQ_CONVERT_LOCK(&rp->rio_ifp->if_snd);
H A Dclassq_subr.c91 struct ifclassq *ifq = &ifp->if_snd;
149 struct ifclassq *ifq = &ifp->if_snd;
308 ifq = &ifp->if_snd;
/darwin-on-arm/xnu/bsd/net/pktsched/
H A Dpktsched_cbq.c142 cbqp->ifnp.ifq_ = &ifp->if_snd; /* keep the ifclassq */
H A Dpktsched_fairq.c213 fif->fif_ifq = &ifp->if_snd;
H A Dpktsched_priq.c153 pif->pif_ifq = &ifp->if_snd;
H A Dpktsched_tcq.c125 tif->tif_ifq = &ifp->if_snd;
H A Dpktsched_hfsc.c209 hif->hif_ifq = &ifp->if_snd;
H A Dpktsched_qfq.c190 qif->qif_ifq = &ifp->if_snd;
/darwin-on-arm/xnu/bsd/netinet/
H A Dip_dummynet.c890 if (p->ifp && !IFCQ_IS_EMPTY(&p->ifp->if_snd))
1181 ifp->if_unit, IFCQ_LEN(&ifp->if_snd)));

Completed in 192 milliseconds