Lines Matching defs:htb
198 * Name used by kernel in the TCA_KIND attribute of tcmsg, e.g. "htb".
205 * Name used in OVS database, e.g. "linux-htb". Must be nonnull.
2519 struct htb {
2536 * Equivalent to "tc qdisc add dev <dev> root handle 1: htb default 1".
2547 static struct htb *
2554 return (CONTAINER_OF(netdev->tc, struct htb, tc));
2562 struct htb *htb;
2565 htb = xmalloc(sizeof (*htb));
2566 tc_init(&htb->tc, &tc_ops_htb);
2567 htb->max_rate = max_rate;
2569 netdev->tc = &htb->tc;
2649 struct htb *htb = CONTAINER_OF(tc, struct htb, tc);
2652 HMAP_FOR_EACH_SAFE(hc, next, tc_queue.hmap_node, &htb->tc.queues) {
2653 hmap_remove(&htb->tc.queues, &hc->tc_queue.hmap_node);
2657 free(htb);
2663 const struct htb *htb = htb_get__(netdev);
2666 smap_add_format(details, "max-rate", "%llu", 8ULL * htb->max_rate);
2714 const struct htb *htb = htb_get__(netdev);
2722 : htb->max_rate);
2733 struct htb *htb = htb_get__(netdev);
2748 hmap_insert(&htb->tc.queues, &queue->hmap_node, hash);
2781 struct htb *htb = htb_get__(netdev);
2787 hmap_remove(&htb->tc.queues, &hc->tc_queue.hmap_node);
2806 "htb", /* linux_name */
2807 "linux-htb", /* ovs_name */