Debian Codegraph @

include/netlink/route/qdisc/sfq.h

raw
1 /* SPDX-License-Identifier: LGPL-2.1-only */
2 /*
3 * Copyright (c) 2003-2011 Thomas Graf <[email protected]>
4 */
5
6 #ifndef NETLINK_SFQ_H_
7 #define NETLINK_SFQ_H_
8
9 #include <netlink/netlink.h>
10 #include <netlink/route/qdisc.h>
11
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15
16 extern void rtnl_sfq_set_quantum(struct rtnl_qdisc *, int);
17 extern int rtnl_sfq_get_quantum(struct rtnl_qdisc *);
18
19 extern void rtnl_sfq_set_limit(struct rtnl_qdisc *, int);
20 extern int rtnl_sfq_get_limit(struct rtnl_qdisc *);
21
22 extern void rtnl_sfq_set_perturb(struct rtnl_qdisc *, int);
23 extern int rtnl_sfq_get_perturb(struct rtnl_qdisc *);
24
25 extern int rtnl_sfq_get_divisor(struct rtnl_qdisc *);
26
27 #ifdef __cplusplus
28 }
29 #endif
30
31 #endif