libnl
3.2.7
Main Page
Related Pages
Modules
Data Structures
tbf.h
1
/*
2
* netlink/route/sch/tbf.h TBF Qdisc
3
*
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
7
* of the License.
8
*
9
* Copyright (c) 2003-2011 Thomas Graf <tgraf@suug.ch>
10
*/
11
12
#ifndef NETLINK_TBF_H_
13
#define NETLINK_TBF_H_
14
15
#include <netlink/netlink.h>
16
#include <netlink/route/tc.h>
17
18
#ifdef __cplusplus
19
extern
"C"
{
20
#endif
21
22
extern
void
rtnl_qdisc_tbf_set_limit
(
struct
rtnl_qdisc *,
int
);
23
extern
int
rtnl_qdisc_tbf_set_limit_by_latency
(
struct
rtnl_qdisc *,
int
);
24
extern
int
rtnl_qdisc_tbf_get_limit
(
struct
rtnl_qdisc *);
25
26
extern
void
rtnl_qdisc_tbf_set_rate
(
struct
rtnl_qdisc *,
int
,
int
,
int
);
27
extern
int
rtnl_qdisc_tbf_get_rate
(
struct
rtnl_qdisc *);
28
extern
int
rtnl_qdisc_tbf_get_rate_bucket
(
struct
rtnl_qdisc *);
29
extern
int
rtnl_qdisc_tbf_get_rate_cell
(
struct
rtnl_qdisc *);
30
31
extern
int
rtnl_qdisc_tbf_set_peakrate
(
struct
rtnl_qdisc *,
int
,
int
,
int
);
32
extern
int
rtnl_qdisc_tbf_get_peakrate
(
struct
rtnl_qdisc *);
33
extern
int
rtnl_qdisc_tbf_get_peakrate_bucket
(
struct
rtnl_qdisc *);
34
extern
int
rtnl_qdisc_tbf_get_peakrate_cell
(
struct
rtnl_qdisc *);
35
36
#ifdef __cplusplus
37
}
38
#endif
39
40
#endif
include
netlink
route
qdisc
tbf.h
Generated on Mon Apr 10 2017 18:00:42 for libnl by
1.8.1.2