libnl: /data/src/libnl3/include/netlink/route/qdisc/sfq.h Source File

libnl 3.7.0

sfq.h
1 /* SPDX-License-Identifier: LGPL-2.1-only */
2 /*
3 * Copyright (c) 2003-2011 Thomas Graf <tgraf@suug.ch>
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
rtnl_sfq_get_quantum
int rtnl_sfq_get_quantum(struct rtnl_qdisc *)
Get quantum of SFQ qdisc.
Definition: sfq.c:124
rtnl_sfq_set_perturb
void rtnl_sfq_set_perturb(struct rtnl_qdisc *, int)
Set perturbation interval of SFQ qdisc.
Definition: sfq.c:179
rtnl_sfq_get_divisor
int rtnl_sfq_get_divisor(struct rtnl_qdisc *)
Get divisor of SFQ qdisc.
Definition: sfq.c:213
rtnl_sfq_get_perturb
int rtnl_sfq_get_perturb(struct rtnl_qdisc *)
Get perturbation interval of SFQ qdisc.
Definition: sfq.c:195
rtnl_sfq_set_quantum
void rtnl_sfq_set_quantum(struct rtnl_qdisc *, int)
Set quantum of SFQ qdisc.
Definition: sfq.c:108
rtnl_sfq_get_limit
int rtnl_sfq_get_limit(struct rtnl_qdisc *)
Get limit of SFQ qdisc.
Definition: sfq.c:159
rtnl_sfq_set_limit
void rtnl_sfq_set_limit(struct rtnl_qdisc *, int)
Set limit of SFQ qdisc.
Definition: sfq.c:143