2
* netlink/route/sch/htb.h HTB Qdisc
4
* This library is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU Lesser General Public
6
* License as published by the Free Software Foundation version 2.1
9
* Copyright (c) 2003-2010 Thomas Graf <tgraf@suug.ch>
10
* Copyright (c) 2005 Petr Gotthard <petr.gotthard@siemens.com>
11
* Copyright (c) 2005 Siemens AG Oesterreich
14
#ifndef NETLINK_HTB_H_
15
#define NETLINK_HTB_H_
17
#include <netlink/netlink.h>
18
#include <netlink/route/tc.h>
24
extern void rtnl_htb_set_rate2quantum(struct rtnl_qdisc *, uint32_t);
25
extern void rtnl_htb_set_defcls(struct rtnl_qdisc *, uint32_t);
27
extern void rtnl_htb_set_prio(struct rtnl_class *, uint32_t);
28
extern void rtnl_htb_set_rate(struct rtnl_class *, uint32_t);
29
extern uint32_t rtnl_htb_get_rate(struct rtnl_class *);
30
extern void rtnl_htb_set_ceil(struct rtnl_class *, uint32_t);
31
extern void rtnl_htb_set_rbuffer(struct rtnl_class *, uint32_t);
32
extern void rtnl_htb_set_cbuffer(struct rtnl_class *, uint32_t);
33
extern void rtnl_htb_set_quantum(struct rtnl_class *, uint32_t quantum);