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
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
int rtnl_qdisc_fq_codel_get_ecn(struct rtnl_qdisc *)
Get ecn of a fq_codel qdisc.
Definition: fq_codel.c:338
int rtnl_qdisc_fq_codel_get_flows(struct rtnl_qdisc *)
Get flows of a fq_codel qdisc.
Definition: fq_codel.c:302
int rtnl_qdisc_fq_codel_set_target(struct rtnl_qdisc *, uint32_t)
Set target of fq_codel qdisc.
Definition: fq_codel.c:179
uint32_t rtnl_qdisc_fq_codel_get_target(struct rtnl_qdisc *)
Get target of a fq_codel qdisc.
Definition: fq_codel.c:197
int rtnl_qdisc_fq_codel_set_interval(struct rtnl_qdisc *, uint32_t)
Set interval of fq_codel qdisc.
Definition: fq_codel.c:214
int rtnl_qdisc_fq_codel_set_flows(struct rtnl_qdisc *, int)
Set flows of fq_codel qdisc.
Definition: fq_codel.c:284
int rtnl_qdisc_fq_codel_set_quantum(struct rtnl_qdisc *, uint32_t)
Set quantum of fq_codel qdisc.
Definition: fq_codel.c:249
uint32_t rtnl_qdisc_fq_codel_get_quantum(struct rtnl_qdisc *)
Get quantum of a fq_codel qdisc.
Definition: fq_codel.c:267
int rtnl_qdisc_fq_codel_set_ecn(struct rtnl_qdisc *, int)
Set ecn of fq_codel qdisc.
Definition: fq_codel.c:320
int rtnl_qdisc_fq_codel_set_limit(struct rtnl_qdisc *, int)
Set limit of fq_codel qdisc.
Definition: fq_codel.c:142
uint32_t rtnl_qdisc_fq_codel_get_interval(struct rtnl_qdisc *)
Get target of a fq_codel qdisc.
Definition: fq_codel.c:232
int rtnl_qdisc_fq_codel_get_limit(struct rtnl_qdisc *)
Get limit of a fq_codel qdisc.
Definition: fq_codel.c:160