12 #ifndef NETLINK_HFSC_H_ 13 #define NETLINK_HFSC_H_ 15 #include <netlink/netlink.h> 16 #include <netlink/route/tc.h> 17 #include <netlink/route/qdisc.h> 18 #include <netlink/route/class.h> 27 extern int rtnl_class_hfsc_get_rsc(
const struct rtnl_class *
class,
struct tc_service_curve *tsc);
28 extern int rtnl_class_hfsc_set_rsc(
struct rtnl_class *
class,
const struct tc_service_curve *tsc);
29 extern int rtnl_class_hfsc_get_fsc(
const struct rtnl_class *
class,
struct tc_service_curve *tsc);
30 extern int rtnl_class_hfsc_set_fsc(
struct rtnl_class *
class,
const struct tc_service_curve *tsc);
31 extern int rtnl_class_hfsc_get_usc(
const struct rtnl_class *
class,
struct tc_service_curve *tsc);
32 extern int rtnl_class_hfsc_set_usc(
struct rtnl_class *
class,
const struct tc_service_curve *tsc);
int rtnl_qdisc_hfsc_set_defcls(struct rtnl_qdisc *, uint32_t)
Set default class of the hfsc qdisc to the specified value.
uint32_t rtnl_qdisc_hfsc_get_defcls(const struct rtnl_qdisc *)
Return default class of HFSC qdisc.