14 #ifndef NETLINK_HTB_H_
15 #define NETLINK_HTB_H_
17 #include <netlink/netlink.h>
18 #include <netlink/route/tc.h>
24 extern void rtnl_htb_set_rate2quantum(
struct rtnl_qdisc *, uint32_t);
27 extern void rtnl_htb_set_prio(
struct rtnl_class *, uint32_t);
void rtnl_htb_set_quantum(struct rtnl_class *class, uint32_t quantum)
Set how much bytes to serve from leaf at once of HTB class {use r2q}.
void rtnl_htb_set_cbuffer(struct rtnl_class *class, uint32_t cbuffer)
Set size of the ceil bucket of HTB class.
void rtnl_htb_set_ceil(struct rtnl_class *class, uint32_t ceil)
Set ceil of HTB class.
void rtnl_htb_set_mpu(struct rtnl_class *class, uint8_t mpu)
Set the minimum packet size used in rate computations of HTB class.
void rtnl_htb_set_rate(struct rtnl_class *class, uint32_t rate)
Set rate of HTB class.
void rtnl_htb_set_mtu(struct rtnl_class *class, uint32_t mtu)
Set MTU of the data link.
void rtnl_htb_set_overhead(struct rtnl_class *class, uint8_t overhead)
Set per-packet size overhead used in rate computations of HTB class.
void rtnl_htb_set_defcls(struct rtnl_qdisc *qdisc, uint32_t defcls)
Set default class of the htb qdisc to the specified value.
void rtnl_htb_set_rbuffer(struct rtnl_class *class, uint32_t rbuffer)
Set size of the rate bucket of HTB class.