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
13extern "C" {
14#endif
15
16extern void rtnl_sfq_set_quantum(struct rtnl_qdisc *, int);
17extern int rtnl_sfq_get_quantum(struct rtnl_qdisc *);
18
19extern void rtnl_sfq_set_limit(struct rtnl_qdisc *, int);
20extern int rtnl_sfq_get_limit(struct rtnl_qdisc *);
21
22extern void rtnl_sfq_set_perturb(struct rtnl_qdisc *, int);
23extern int rtnl_sfq_get_perturb(struct rtnl_qdisc *);
24
25extern int rtnl_sfq_get_divisor(struct rtnl_qdisc *);
26
27#ifdef __cplusplus
28}
29#endif
30
31#endif
int rtnl_sfq_get_quantum(struct rtnl_qdisc *)
Get quantum of SFQ qdisc.
Definition: sfq.c:124
void rtnl_sfq_set_perturb(struct rtnl_qdisc *, int)
Set perturbation interval of SFQ qdisc.
Definition: sfq.c:179
int rtnl_sfq_get_divisor(struct rtnl_qdisc *)
Get divisor of SFQ qdisc.
Definition: sfq.c:213
int rtnl_sfq_get_perturb(struct rtnl_qdisc *)
Get perturbation interval of SFQ qdisc.
Definition: sfq.c:195
void rtnl_sfq_set_quantum(struct rtnl_qdisc *, int)
Set quantum of SFQ qdisc.
Definition: sfq.c:108
int rtnl_sfq_get_limit(struct rtnl_qdisc *)
Get limit of SFQ qdisc.
Definition: sfq.c:159
void rtnl_sfq_set_limit(struct rtnl_qdisc *, int)
Set limit of SFQ qdisc.
Definition: sfq.c:143