6 #ifndef NETLINK_HFSC_H_
7 #define NETLINK_HFSC_H_
9 #include <netlink/netlink.h>
10 #include <netlink/route/tc.h>
11 #include <netlink/route/qdisc.h>
12 #include <netlink/route/class.h>
18 struct tc_service_curve;
23 extern int rtnl_class_hfsc_get_rsc(
const struct rtnl_class *cls,
struct tc_service_curve *tsc);
24 extern int rtnl_class_hfsc_set_rsc(
struct rtnl_class *cls,
const struct tc_service_curve *tsc);
25 extern int rtnl_class_hfsc_get_fsc(
const struct rtnl_class *cls,
struct tc_service_curve *tsc);
26 extern int rtnl_class_hfsc_set_fsc(
struct rtnl_class *cls,
const struct tc_service_curve *tsc);
27 extern int rtnl_class_hfsc_get_usc(
const struct rtnl_class *cls,
struct tc_service_curve *tsc);
28 extern int rtnl_class_hfsc_set_usc(
struct rtnl_class *cls,
const struct tc_service_curve *tsc);
uint32_t rtnl_qdisc_hfsc_get_defcls(const struct rtnl_qdisc *)
Return default class of HFSC qdisc.
int rtnl_qdisc_hfsc_set_defcls(struct rtnl_qdisc *, uint32_t)
Set default class of the hfsc qdisc to the specified value.