diff options
author | Thomas Haller <thaller@redhat.com> | 2019-09-01 13:57:12 (GMT) |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2019-09-01 13:57:12 (GMT) |
commit | 2c862a606bc18a9e17bc764db1d3ef2cc1b2e368 (patch) | |
tree | efc06edc5443569864f6b7b0904a176bee0f99a6 /include/netlink | |
parent | 2154891180bbae40af2f1abab5f6c4f7040de81a (diff) | |
parent | 03ee05d97565da9ef935ebbdd6d56f7ab3da5bfc (diff) | |
download | libnl-2c862a606bc18a9e17bc764db1d3ef2cc1b2e368.zip libnl-2c862a606bc18a9e17bc764db1d3ef2cc1b2e368.tar.gz libnl-2c862a606bc18a9e17bc764db1d3ef2cc1b2e368.tar.bz2 |
route/qdisc: merge branch 'd0u9/htb_64'
https://github.com/thom311/libnl/pull/205
Diffstat (limited to 'include/netlink')
-rw-r--r-- | include/netlink/route/qdisc/htb.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/include/netlink/route/qdisc/htb.h b/include/netlink/route/qdisc/htb.h index c5065f4..5d7ca45 100644 --- a/include/netlink/route/qdisc/htb.h +++ b/include/netlink/route/qdisc/htb.h @@ -30,10 +30,17 @@ extern int rtnl_htb_set_defcls(struct rtnl_qdisc *, uint32_t); extern uint32_t rtnl_htb_get_prio(struct rtnl_class *); extern int rtnl_htb_set_prio(struct rtnl_class *, uint32_t); -extern uint32_t rtnl_htb_get_rate(struct rtnl_class *); -extern int rtnl_htb_set_rate(struct rtnl_class *, uint32_t); -extern uint32_t rtnl_htb_get_ceil(struct rtnl_class *); -extern int rtnl_htb_set_ceil(struct rtnl_class *, uint32_t); + +extern uint32_t rtnl_htb_get_rate(struct rtnl_class *); +extern int rtnl_htb_set_rate(struct rtnl_class *, uint32_t); +extern uint32_t rtnl_htb_get_ceil(struct rtnl_class *); +extern int rtnl_htb_set_ceil(struct rtnl_class *, uint32_t); + +extern int rtnl_htb_get_rate64(struct rtnl_class *, uint64_t *); +extern int rtnl_htb_set_rate64(struct rtnl_class *, uint64_t); +extern int rtnl_htb_get_ceil64(struct rtnl_class *, uint64_t *); +extern int rtnl_htb_set_ceil64(struct rtnl_class *, uint64_t); + extern uint32_t rtnl_htb_get_rbuffer(struct rtnl_class *); extern int rtnl_htb_set_rbuffer(struct rtnl_class *, uint32_t); extern uint32_t rtnl_htb_get_cbuffer(struct rtnl_class *); |