Searched refs:altq_disc (Results 1 - 10 of 10) sorted by relevance

/xnu-2782.1.97/bsd/net/altq/
H A Daltq_fairq.c127 if ((ifp = ifunit(a->ifname)) == NULL || a->altq_disc == NULL)
131 error = altq_attach(IFCQ_ALTQ(&ifp->if_snd), ALTQT_FAIRQ, a->altq_disc,
156 a->altq_disc = fif;
168 if ((fif = a->altq_disc) == NULL)
170 a->altq_disc = NULL;
184 if ((fif = a->altq_disc) == NULL)
204 if ((fif = a->altq_disc) == NULL)
249 struct fairq_if *fif = (struct fairq_if *)altq->altq_disc;
287 return (fairq_enqueue(altq->altq_disc, NULL, m, m_pftag(m)));
302 return (fairq_dequeue(altq->altq_disc, (cqdq_op_
[all...]
H A Daltq_priq.c94 if ((ifp = ifunit(a->ifname)) == NULL || a->altq_disc == NULL)
98 error = altq_attach(IFCQ_ALTQ(&ifp->if_snd), ALTQT_PRIQ, a->altq_disc,
123 a->altq_disc = pif;
135 if ((pif = a->altq_disc) == NULL)
137 a->altq_disc = NULL;
150 if ((pif = a->altq_disc) == NULL)
169 if ((pif = a->altq_disc) == NULL)
214 struct priq_if *pif = (struct priq_if *)altq->altq_disc;
249 return (priq_enqueue(altq->altq_disc, NULL, m, m_pftag(m)));
264 return (priq_dequeue(altq->altq_disc, (cqdq_op_
[all...]
H A Daltq_qfq.c65 if ((ifp = ifunit(a->ifname)) == NULL || a->altq_disc == NULL)
69 error = altq_attach(IFCQ_ALTQ(&ifp->if_snd), ALTQT_QFQ, a->altq_disc,
94 a->altq_disc = qif;
106 if ((qif = a->altq_disc) == NULL)
108 a->altq_disc = NULL;
121 if ((qif = a->altq_disc) == NULL)
140 if ((qif = a->altq_disc) == NULL)
185 struct qfq_if *qif = (struct qfq_if *)altq->altq_disc;
223 return (qfq_enqueue(altq->altq_disc, NULL, m, m_pftag(m)));
238 return (qfq_dequeue(altq->altq_disc, (cqdq_op_
[all...]
H A Daltq_cbq.c94 if ((ifp = ifunit(a->ifname)) == NULL || a->altq_disc == NULL)
98 error = altq_attach(IFCQ_ALTQ(&ifp->if_snd), ALTQT_CBQ, a->altq_disc,
123 a->altq_disc = cbqp;
135 if ((cbqp = a->altq_disc) == NULL)
137 a->altq_disc = NULL;
151 if ((cbqp = a->altq_disc) == NULL)
172 if ((cbqp = a->altq_disc) == NULL)
217 cbq_state_t *cbqp = (cbq_state_t *)altq->altq_disc;
255 return (cbq_enqueue(altq->altq_disc, NULL, m, m_pftag(m)));
270 return (cbq_dequeue(altq->altq_disc, (cqdq_op_
[all...]
H A Daltq_hfsc.c96 if ((ifp = ifunit(a->ifname)) == NULL || a->altq_disc == NULL)
100 error = altq_attach(IFCQ_ALTQ(&ifp->if_snd), ALTQT_HFSC, a->altq_disc,
125 a->altq_disc = hif;
137 if ((hif = a->altq_disc) == NULL)
139 a->altq_disc = NULL;
154 if ((hif = a->altq_disc) == NULL)
190 if ((hif = a->altq_disc) == NULL)
235 struct hfsc_if *hif = (struct hfsc_if *)altq->altq_disc;
273 return (hfsc_enqueue(altq->altq_disc, NULL, m, m_pftag(m)));
288 return (hfsc_dequeue(altq->altq_disc, (cqdq_op_
[all...]
H A Daltq_subr.c105 state = IFCQ_ALTQ(&ifp->if_snd)->altq_disc;
131 altq->altq_disc = discipline;
154 altq->altq_disc = NULL;
473 if (a->altq_disc == NULL ||
474 a->altq_disc != IFCQ_ALTQ(&ifp->if_snd)->altq_disc) {
H A Dif_altq.h89 void *altq_disc; /* for discipline-specific use */ member in struct:ifaltq
113 #define ALTQ_IS_ATTACHED(_altq) ((_altq)->altq_disc != NULL)
/xnu-2782.1.97/bsd/net/classq/
H A Dclassq_subr.c137 VERIFY(IFCQ_ALTQ(ifq)->altq_disc == NULL);
172 VERIFY(IFCQ_ALTQ(ifq)->altq_disc == NULL);
/xnu-2782.1.97/bsd/net/
H A Dpf_ioctl.c1119 if (altq->altq_disc != IFCQ_ALTQ(ifq)->altq_disc) {
1144 dst->altq_disc = NULL;
1155 pa.altq_disc = NULL;
2067 altq->altq_disc = NULL;
2071 altq->altq_disc = a->altq_disc;
H A Dpfvar.h1672 void *altq_disc __attribute__((aligned(8))); member in struct:pf_altq

Completed in 144 milliseconds