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

12

/xnu-2782.1.97/bsd/net/altq/
H A Daltq_var.h67 #include <net/altq/if_altq.h>
69 #include <net/altq/altq_hfsc.h>
72 #include <net/altq/altq_fairq.h>
75 #include <net/altq/altq_cbq.h>
78 #include <net/altq/altq_priq.h>
80 #include <net/altq/altq_qfq.h>
H A Daltq_cbq.h66 #include <net/altq/altq.h>
H A Daltq_fairq.h62 * $DragonFly: src/sys/net/altq/altq_fairq.h,v 1.1 2008/04/06 18:58:15 dillon Exp $
69 #include <net/altq/altq.h>
H A Daltq_hfsc.h65 #include <net/altq/altq.h>
H A Daltq_priq.h61 #include <net/altq/altq.h>
H A Daltq_qfq.h33 #include <net/altq/altq.h>
H A Daltq_subr.c79 #include <net/altq/altq.h>
84 SYSCTL_NODE(_net, OID_AUTO, altq, CTLFLAG_RW|CTLFLAG_LOCKED, 0, "ALTQ");
117 altq_attach(struct ifaltq *altq, u_int32_t type, void *discipline, argument
121 IFCQ_LOCK_ASSERT_HELD(altq->altq_ifcq);
123 if (!ALTQ_IS_READY(altq))
130 altq->altq_type = type;
131 altq->altq_disc = discipline;
132 altq->altq_enqueue = enqueue;
133 altq
142 altq_detach(struct ifaltq *altq) argument
165 altq_enable(struct ifaltq *altq) argument
182 altq_disable(struct ifaltq *altq) argument
[all...]
H A Daltq.h29 /* $NetBSD: altq.h,v 1.4 2006/10/12 19:59:08 peter Exp $ */
30 /* $KAME: altq.h,v 1.10 2003/07/10 12:07:47 kjc Exp $ */
63 /* altq discipline type */
73 #include <net/altq/altq_var.h>
H A Daltq_fairq.c62 * $DragonFly: src/sys/net/altq/altq_fairq.c,v 1.2 2008/05/14 11:59:23 sephe Exp $
108 #include <net/altq/altq.h>
109 #include <net/altq/altq_fairq.h>
247 altq_fairq_request(struct ifaltq *altq, enum altrq req, void *arg) argument
249 struct fairq_if *fif = (struct fairq_if *)altq->altq_disc;
276 altq_fairq_enqueue(struct ifaltq *altq, struct mbuf *m) argument
282 if_name(altq->altq_ifcq->ifcq_ifp));
287 return (fairq_enqueue(altq->altq_disc, NULL, m, m_pftag(m)));
300 altq_fairq_dequeue(struct ifaltq *altq, enu argument
[all...]
H A Daltq_priq.c75 #include <net/altq/altq.h>
76 #include <net/altq/altq_priq.h>
212 altq_priq_request(struct ifaltq *altq, enum altrq req, void *arg) argument
214 struct priq_if *pif = (struct priq_if *)altq->altq_disc;
238 altq_priq_enqueue(struct ifaltq *altq, struct mbuf *m) argument
244 if_name(altq->altq_ifcq->ifcq_ifp));
249 return (priq_enqueue(altq->altq_disc, NULL, m, m_pftag(m)));
262 altq_priq_dequeue(struct ifaltq *altq, enum altdq_op op) argument
264 return (priq_dequeue(altq
[all...]
H A Daltq_qfq.c46 #include <net/altq/altq.h>
47 #include <net/altq/altq_qfq.h>
183 altq_qfq_request(struct ifaltq *altq, enum altrq req, void *arg) argument
185 struct qfq_if *qif = (struct qfq_if *)altq->altq_disc;
212 altq_qfq_enqueue(struct ifaltq *altq, struct mbuf *m) argument
218 if_name(altq->altq_ifcq->ifcq_ifp));
223 return (qfq_enqueue(altq->altq_disc, NULL, m, m_pftag(m)));
236 altq_qfq_dequeue(struct ifaltq *altq, enum altdq_op op) argument
238 return (qfq_dequeue(altq
[all...]
H A DMakefile14 altq.h altq_cbq.h altq_fairq.h altq_hfsc.h altq_priq.h altq_qfq.h
20 INSTALL_MI_DIR = net/altq
H A Daltq_cbq.c75 #include <net/altq/altq.h>
76 #include <net/altq/altq_cbq.h>
215 altq_cbq_request(struct ifaltq *altq, enum altrq req, void *arg) argument
217 cbq_state_t *cbqp = (cbq_state_t *)altq->altq_disc;
244 altq_cbq_enqueue(struct ifaltq *altq, struct mbuf *m) argument
250 if_name(altq->altq_ifcq->ifcq_ifp));
255 return (cbq_enqueue(altq->altq_disc, NULL, m, m_pftag(m)));
268 altq_cbq_dequeue(struct ifaltq *altq, enum altdq_op op) argument
270 return (cbq_dequeue(altq
[all...]
H A Daltq_hfsc.c77 #include <net/altq/altq.h>
78 #include <net/altq/altq_hfsc.h>
233 altq_hfsc_request(struct ifaltq *altq, enum altrq req, void *arg) argument
235 struct hfsc_if *hif = (struct hfsc_if *)altq->altq_disc;
262 altq_hfsc_enqueue(struct ifaltq *altq, struct mbuf *m) argument
268 if_name(altq->altq_ifcq->ifcq_ifp));
273 return (hfsc_enqueue(altq->altq_disc, NULL, m, m_pftag(m)));
286 altq_hfsc_dequeue(struct ifaltq *altq, enum altdq_op op) argument
288 return (hfsc_dequeue(altq
[all...]
/xnu-2782.1.97/bsd/net/classq/
H A Dclassq_subr.c57 #include <net/altq/altq.h>
320 struct ifaltq *altq = IFCQ_ALTQ(ifq); local
346 else if (ALTQ_IS_ENABLED(altq))
347 ALTQ_DEQUEUE_SC(altq, sc, *head);
355 else if (ALTQ_IS_ENABLED(altq))
356 ALTQ_DEQUEUE(altq, *head);
426 struct ifaltq *altq = IFCQ_ALTQ(ifq); local
438 else if (ALTQ_IS_ENABLED(altq))
439 ALTQ_POLL_SC(altq, s
673 struct ifaltq *altq = IFCQ_ALTQ(ifq); local
[all...]
H A Dif_classq.h74 #include <net/altq/if_altq.h>
/xnu-2782.1.97/bsd/net/
H A Dpf_ioctl.c127 #include <net/altq/altq.h>
128 #include <net/altq/altq_cbq.h>
492 PE_parse_boot_argn("altq", &altq_allowed, sizeof (altq_allowed));
960 struct pf_altq *altq; local
965 /* Purge the old altq list */
966 while ((altq = TAILQ_FIRST(pf_altqs_inactive)) != NULL) {
967 TAILQ_REMOVE(pf_altqs_inactive, altq, entries);
968 if (altq->qname[0] == '\0') {
970 error = altq_remove(altq);
985 struct pf_altq *altq; local
1010 struct pf_altq *altq; local
1060 pf_enable_altq(struct pf_altq *altq) argument
1102 pf_disable_altq(struct pf_altq *altq) argument
2004 struct pf_altq *altq; local
2022 struct pf_altq *altq; local
2041 struct pf_altq *altq, *a; local
2090 struct pf_altq *altq; local
2104 struct pf_altq *altq; local
2136 struct pf_altq *altq; local
[all...]
H A DMakefile11 altq classq pktsched
/xnu-2782.1.97/bsd/net/pktsched/
H A Dpktsched_cbq.c130 cbq_alloc(struct ifnet *ifp, int how, boolean_t altq) argument
143 if (altq)
H A Dpktsched_fairq.c62 * $DragonFly: src/sys/net/altq/altq_fairq.c,v 1.2 2008/05/14 11:59:23 sephe Exp $
106 * altq on em0 fairq bandwidth 650Kb queue { std, bulk }
202 fairq_alloc(struct ifnet *ifp, int how, boolean_t altq) argument
214 if (altq)
H A Dpktsched_priq.c144 priq_alloc(struct ifnet *ifp, int how, boolean_t altq) argument
155 if (altq)
H A Dpktsched_tcq.c116 tcq_alloc(struct ifnet *ifp, int how, boolean_t altq) argument
127 if (altq)
H A Dpktsched_hfsc.c199 hfsc_alloc(struct ifnet *ifp, int how, boolean_t altq) argument
210 if (altq) {
H A Dpktsched_qfq.c182 qfq_alloc(struct ifnet *ifp, int how, boolean_t altq) argument
192 if (altq) {
/xnu-2782.1.97/bsd/conf/
H A Dfiles263 bsd/net/altq/altq_cbq.c optional pktsched_cbq pf_altq
264 bsd/net/altq/altq_fairq.c optional pktsched_fairq pf_altq
265 bsd/net/altq/altq_hfsc.c optional pktsched_hfsc pf_altq
266 bsd/net/altq/altq_priq.c optional pktsched_priq pf_altq
267 bsd/net/altq/altq_qfq.c optional pf_altq
268 bsd/net/altq/altq_subr.c optional pf_altq

Completed in 65 milliseconds

12