00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef NETLINK_PSP_H_
00015 #define NETLINK_PSP_H_
00016
00017 #include <netlink/netlink.h>
00018 #include <netlink/route/tc.h>
00019
00020
00021 extern int rtnl_psp_set_defcls(struct rtnl_qdisc *, uint32_t);
00022 extern int rtnl_psp_get_defcls(struct rtnl_qdisc *);
00023
00024 extern int rtnl_psp_set_totalrate(struct rtnl_qdisc *, uint32_t);
00025 extern int rtnl_psp_get_totalrate(struct rtnl_qdisc *);
00026
00027
00028 extern int rtnl_psp_set_rate(struct rtnl_class *, uint32_t);
00029 extern int rtnl_psp_get_rate(struct rtnl_class *);
00030
00031 extern int rtnl_psp_set_mode(struct rtnl_class *, uint32_t);
00032 extern int rtnl_psp_get_mode(struct rtnl_class *);
00033
00034 #endif