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

libnl 3.12.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
13extern "C" {
14#endif
15
16extern int rtnl_qdisc_fq_codel_set_limit(struct rtnl_qdisc *, int);
17extern int rtnl_qdisc_fq_codel_get_limit(struct rtnl_qdisc *);
18
19extern int rtnl_qdisc_fq_codel_set_target(struct rtnl_qdisc *, uint32_t);
20extern uint32_t rtnl_qdisc_fq_codel_get_target(struct rtnl_qdisc *);
21
22extern int rtnl_qdisc_fq_codel_set_interval(struct rtnl_qdisc *, uint32_t);
23extern uint32_t rtnl_qdisc_fq_codel_get_interval(struct rtnl_qdisc *);
24
25extern int rtnl_qdisc_fq_codel_set_quantum(struct rtnl_qdisc *, uint32_t);
26extern uint32_t rtnl_qdisc_fq_codel_get_quantum(struct rtnl_qdisc *);
27
28extern int rtnl_qdisc_fq_codel_set_flows(struct rtnl_qdisc *, int);
29extern int rtnl_qdisc_fq_codel_get_flows(struct rtnl_qdisc *);
30
31extern int rtnl_qdisc_fq_codel_set_ecn(struct rtnl_qdisc *, int);
32extern 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:349
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:313
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:190
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:208
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:225
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:295
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:260
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:278
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:331
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:153
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:243
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:171
rtnl_qdisc
Definition nl-route.h:119