00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef NETLINK_HTB_H_
00015 #define NETLINK_HTB_H_
00016
00017 #include <netlink/netlink.h>
00018 #include <netlink/route/tc.h>
00019
00020 #ifdef __cplusplus
00021 extern "C" {
00022 #endif
00023
00024 extern void rtnl_htb_set_rate2quantum(struct rtnl_qdisc *, uint32_t);
00025 extern void rtnl_htb_set_defcls(struct rtnl_qdisc *, uint32_t);
00026
00027 extern void rtnl_htb_set_prio(struct rtnl_class *, uint32_t);
00028 extern void rtnl_htb_set_mtu(struct rtnl_class *, uint32_t);
00029 extern void rtnl_htb_set_rate(struct rtnl_class *, uint32_t);
00030 extern void rtnl_htb_set_ceil(struct rtnl_class *, uint32_t);
00031 extern void rtnl_htb_set_rbuffer(struct rtnl_class *, uint32_t);
00032 extern void rtnl_htb_set_cbuffer(struct rtnl_class *, uint32_t);
00033 extern void rtnl_htb_set_quantum(struct rtnl_class *class, uint32_t quantum);
00034 extern void rtnl_htb_set_overhead(struct rtnl_class *class, uint8_t overhead);
00035 extern void rtnl_htb_set_mpu(struct rtnl_class *class, uint8_t mpu);
00036
00037 #ifdef __cplusplus
00038 }
00039 #endif
00040
00041 #endif