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

libnl 3.7.0

red.h
1 /* SPDX-License-Identifier: LGPL-2.1-only */
2 /*
3 * Copyright (c) 2003-2006 Thomas Graf <tgraf@suug.ch>
4 */
5
6 #ifndef NETLINK_RED_H_
7 #define NETLINK_RED_H_
8
9 #include <netlink/netlink.h>
10
11 extern void rtnl_red_set_limit(struct rtnl_qdisc *qdisc, int limit);
12 extern int rtnl_red_get_limit(struct rtnl_qdisc *qdisc);
13
14 #endif
rtnl_red_set_limit
void rtnl_red_set_limit(struct rtnl_qdisc *qdisc, int limit)
Set limit of RED qdisc.
Definition: red.c:130
rtnl_red_get_limit
int rtnl_red_get_limit(struct rtnl_qdisc *qdisc)
Get limit of RED qdisc.
Definition: red.c:146