Home | History | Annotate | Download | only in pfctl

Lines Matching defs:altq

35 #include <altq/altq.h>
36 #include <altq/altq_cbq.h>
37 #include <altq/altq_priq.h>
38 #include <altq/altq_hfsc.h>
62 struct pf_altq altq;
97 if (iface != NULL && strcmp(node->altq.ifname, iface))
100 pfctl_print_title("ALTQ:");
113 if (iface != NULL && strcmp(node->altq.ifname, iface))
154 if (pa.altq.qid > 0) {
163 if ((node = pfctl_find_altq_node(*root, pa.altq.qname,
164 pa.altq.ifname)) != NULL) {
169 pfctl_insert_altq_node(root, pa.altq, qstats);
178 const struct pf_altq altq, const struct queue_stats qstats)
185 memcpy(&node->altq, &altq, sizeof(struct pf_altq));
191 else if (!altq.parent[0]) {
200 parent = pfctl_find_altq_node(*root, altq.parent, altq.ifname);
202 errx(1, "parent %s not found", altq.parent);
223 if (!strcmp(node->altq.qname, qname)
224 && !(strcmp(node->altq.ifname, ifname)))
245 print_altq(&node->altq, level, NULL, NULL);
251 printf("%s", child->altq.qname);
264 node->altq.qid, node->altq.ifname,
265 rate2str((double)(node->altq.ifbandwidth)));
275 if (a->altq.qid == 0)
278 switch (a->altq.scheduler) {
373 if (a->altq.qid == 0)
379 switch (a->altq.scheduler) {