libnl  3.3.0
red.h
1 /*
2  * netlink/route/sch/red.h RED Qdisc
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation version 2.1
7  * of the License.
8  *
9  * Copyright (c) 2003-2006 Thomas Graf <tgraf@suug.ch>
10  */
11 
12 #ifndef NETLINK_RED_H_
13 #define NETLINK_RED_H_
14 
15 #include <netlink/netlink.h>
16 
17 extern void rtnl_red_set_limit(struct rtnl_qdisc *qdisc, int limit);
18 extern int rtnl_red_get_limit(struct rtnl_qdisc *qdisc);
19 
20 #endif
void rtnl_red_set_limit(struct rtnl_qdisc *qdisc, int limit)
Set limit of RED qdisc.
Definition: red.c:136
int rtnl_red_get_limit(struct rtnl_qdisc *qdisc)
Get limit of RED qdisc.
Definition: red.c:152