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_rate(struct rtnl_class *, uint32_t);
00029 extern uint32_t rtnl_htb_get_rate(struct rtnl_class *);
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 *, uint32_t quantum);
00034
00035 #ifdef __cplusplus
00036 }
00037 #endif
00038
00039 #endif