/xnu-2782.1.97/bsd/net/altq/ |
H A D | altq_var.h | 67 #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 D | altq_cbq.h | 66 #include <net/altq/altq.h>
|
H A D | altq_fairq.h | 62 * $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 D | altq_hfsc.h | 65 #include <net/altq/altq.h>
|
H A D | altq_priq.h | 61 #include <net/altq/altq.h>
|
H A D | altq_qfq.h | 33 #include <net/altq/altq.h>
|
H A D | altq_subr.c | 79 #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 D | altq.h | 29 /* $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 D | altq_fairq.c | 62 * $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 D | altq_priq.c | 75 #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 D | altq_qfq.c | 46 #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 D | Makefile | 14 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 D | altq_cbq.c | 75 #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 D | altq_hfsc.c | 77 #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 D | classq_subr.c | 57 #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 D | if_classq.h | 74 #include <net/altq/if_altq.h>
|
/xnu-2782.1.97/bsd/net/ |
H A D | pf_ioctl.c | 127 #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 D | Makefile | 11 altq classq pktsched
|
/xnu-2782.1.97/bsd/net/pktsched/ |
H A D | pktsched_cbq.c | 130 cbq_alloc(struct ifnet *ifp, int how, boolean_t altq) argument 143 if (altq)
|
H A D | pktsched_fairq.c | 62 * $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 D | pktsched_priq.c | 144 priq_alloc(struct ifnet *ifp, int how, boolean_t altq) argument 155 if (altq)
|
H A D | pktsched_tcq.c | 116 tcq_alloc(struct ifnet *ifp, int how, boolean_t altq) argument 127 if (altq)
|
H A D | pktsched_hfsc.c | 199 hfsc_alloc(struct ifnet *ifp, int how, boolean_t altq) argument 210 if (altq) {
|
H A D | pktsched_qfq.c | 182 qfq_alloc(struct ifnet *ifp, int how, boolean_t altq) argument 192 if (altq) {
|
/xnu-2782.1.97/bsd/conf/ |
H A D | files | 263 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
|