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

libnl 3.12.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
rtnl_sfq_get_quantum
int rtnl_sfq_get_quantum(struct rtnl_qdisc *)
Get quantum of SFQ qdisc.
Definition sfq.c:134
rtnl_sfq_set_perturb
void rtnl_sfq_set_perturb(struct rtnl_qdisc *, int)
Set perturbation interval of SFQ qdisc.
Definition sfq.c:189
rtnl_sfq_get_divisor
int rtnl_sfq_get_divisor(struct rtnl_qdisc *)
Get divisor of SFQ qdisc.
Definition sfq.c:223
rtnl_sfq_get_perturb
int rtnl_sfq_get_perturb(struct rtnl_qdisc *)
Get perturbation interval of SFQ qdisc.
Definition sfq.c:205
rtnl_sfq_set_quantum
void rtnl_sfq_set_quantum(struct rtnl_qdisc *, int)
Set quantum of SFQ qdisc.
Definition sfq.c:118
rtnl_sfq_get_limit
int rtnl_sfq_get_limit(struct rtnl_qdisc *)
Get limit of SFQ qdisc.
Definition sfq.c:169
rtnl_sfq_set_limit
void rtnl_sfq_set_limit(struct rtnl_qdisc *, int)
Set limit of SFQ qdisc.
Definition sfq.c:153
rtnl_qdisc
Definition nl-route.h:119