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

libnl 3.7.0

fq_codel.h
1 /* SPDX-License-Identifier: LGPL-2.1-only */
2 /*
3 * Copyright (c) 2013 Cong Wang <xiyou.wangcong@gmail.com>
4 */
5
6 #ifndef NETLINK_FQ_CODEL_H_
7 #define NETLINK_FQ_CODEL_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 int rtnl_qdisc_fq_codel_set_limit(struct rtnl_qdisc *, int);
17 extern int rtnl_qdisc_fq_codel_get_limit(struct rtnl_qdisc *);
18
19 extern int rtnl_qdisc_fq_codel_set_target(struct rtnl_qdisc *, uint32_t);
20 extern uint32_t rtnl_qdisc_fq_codel_get_target(struct rtnl_qdisc *);
21
22 extern int rtnl_qdisc_fq_codel_set_interval(struct rtnl_qdisc *, uint32_t);
23 extern uint32_t rtnl_qdisc_fq_codel_get_interval(struct rtnl_qdisc *);
24
25 extern int rtnl_qdisc_fq_codel_set_quantum(struct rtnl_qdisc *, uint32_t);
26 extern uint32_t rtnl_qdisc_fq_codel_get_quantum(struct rtnl_qdisc *);
27
28 extern int rtnl_qdisc_fq_codel_set_flows(struct rtnl_qdisc *, int);
29 extern int rtnl_qdisc_fq_codel_get_flows(struct rtnl_qdisc *);
30
31 extern int rtnl_qdisc_fq_codel_set_ecn(struct rtnl_qdisc *, int);
32 extern int rtnl_qdisc_fq_codel_get_ecn(struct rtnl_qdisc *);
33
34 #ifdef __cplusplus
35 }
36 #endif
37
38 #endif
rtnl_qdisc_fq_codel_get_ecn
int rtnl_qdisc_fq_codel_get_ecn(struct rtnl_qdisc *)
Get ecn of a fq_codel qdisc.
Definition: fq_codel.c:338
rtnl_qdisc_fq_codel_get_flows
int rtnl_qdisc_fq_codel_get_flows(struct rtnl_qdisc *)
Get flows of a fq_codel qdisc.
Definition: fq_codel.c:302
rtnl_qdisc_fq_codel_set_target
int rtnl_qdisc_fq_codel_set_target(struct rtnl_qdisc *, uint32_t)
Set target of fq_codel qdisc.
Definition: fq_codel.c:179
rtnl_qdisc_fq_codel_get_target
uint32_t rtnl_qdisc_fq_codel_get_target(struct rtnl_qdisc *)
Get target of a fq_codel qdisc.
Definition: fq_codel.c:197
rtnl_qdisc_fq_codel_set_interval
int rtnl_qdisc_fq_codel_set_interval(struct rtnl_qdisc *, uint32_t)
Set interval of fq_codel qdisc.
Definition: fq_codel.c:214
rtnl_qdisc_fq_codel_set_flows
int rtnl_qdisc_fq_codel_set_flows(struct rtnl_qdisc *, int)
Set flows of fq_codel qdisc.
Definition: fq_codel.c:284
rtnl_qdisc_fq_codel_set_quantum
int rtnl_qdisc_fq_codel_set_quantum(struct rtnl_qdisc *, uint32_t)
Set quantum of fq_codel qdisc.
Definition: fq_codel.c:249
rtnl_qdisc_fq_codel_get_quantum
uint32_t rtnl_qdisc_fq_codel_get_quantum(struct rtnl_qdisc *)
Get quantum of a fq_codel qdisc.
Definition: fq_codel.c:267
rtnl_qdisc_fq_codel_set_ecn
int rtnl_qdisc_fq_codel_set_ecn(struct rtnl_qdisc *, int)
Set ecn of fq_codel qdisc.
Definition: fq_codel.c:320
rtnl_qdisc_fq_codel_set_limit
int rtnl_qdisc_fq_codel_set_limit(struct rtnl_qdisc *, int)
Set limit of fq_codel qdisc.
Definition: fq_codel.c:142
rtnl_qdisc_fq_codel_get_interval
uint32_t rtnl_qdisc_fq_codel_get_interval(struct rtnl_qdisc *)
Get target of a fq_codel qdisc.
Definition: fq_codel.c:232
rtnl_qdisc_fq_codel_get_limit
int rtnl_qdisc_fq_codel_get_limit(struct rtnl_qdisc *)
Get limit of a fq_codel qdisc.
Definition: fq_codel.c:160