11#include <netlink/netlink.h>
12#include <netlink/route/tc.h>
13#include <netlink/route/qdisc.h>
14#include <netlink/route/class.h>
21extern int rtnl_htb_set_rate2quantum(
struct rtnl_qdisc *, uint32_t);
25extern uint32_t rtnl_htb_get_prio(
struct rtnl_class *);
26extern int rtnl_htb_set_prio(
struct rtnl_class *, uint32_t);
int rtnl_htb_set_rbuffer(struct rtnl_class *, uint32_t)
Set size of the rate bucket of HTB class.
int rtnl_htb_set_level(struct rtnl_class *, int)
Set level of HTB class.
uint32_t rtnl_htb_get_ceil(struct rtnl_class *)
Return ceil rate of HTB class.
int rtnl_htb_set_defcls(struct rtnl_qdisc *, uint32_t)
Set default class of the htb qdisc to the specified value.
uint32_t rtnl_htb_get_defcls(struct rtnl_qdisc *)
Return default class of HTB qdisc.
int rtnl_htb_set_quantum(struct rtnl_class *, uint32_t)
Set quantum of HTB class (overwrites value calculated based on r2q)
int rtnl_htb_set_rate(struct rtnl_class *, uint32_t)
Set rate of HTB class.
int rtnl_htb_get_ceil64(struct rtnl_class *, uint64_t *)
Return ceil rate of HTB class.
int rtnl_htb_get_rate64(struct rtnl_class *, uint64_t *)
Return rate of HTB class.
uint32_t rtnl_htb_get_rate2quantum(struct rtnl_qdisc *)
Return rate/quantum ratio of HTB qdisc.
int rtnl_htb_set_rate64(struct rtnl_class *, uint64_t)
Set rate of HTB class.
uint32_t rtnl_htb_get_rbuffer(struct rtnl_class *)
Return burst buffer size of HTB class.
int rtnl_htb_set_ceil(struct rtnl_class *, uint32_t)
Set ceil rate of HTB class.
int rtnl_htb_set_cbuffer(struct rtnl_class *, uint32_t)
Set size of the ceil bucket of HTB class.
int rtnl_htb_set_ceil64(struct rtnl_class *, uint64_t)
Set ceil rate of HTB class.
uint32_t rtnl_htb_get_quantum(struct rtnl_class *)
Return quantum of HTB class.
uint32_t rtnl_htb_get_rate(struct rtnl_class *)
Return rate of HTB class.
uint32_t rtnl_htb_get_cbuffer(struct rtnl_class *)
Return ceil burst buffer size of HTB class.
int rtnl_htb_get_level(struct rtnl_class *)
Return level of HTB class.