libnl 3.5.0

cbq.h
1 /*
2 * netlink/route/sch/cbq.h Class Based Queueing
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_CBQ_H_
13 #define NETLINK_CBQ_H_
14
15 #include <netlink/netlink.h>
16 #include <netlink/cache.h>
17 #include <netlink/route/qdisc.h>
18
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22
23 extern char * nl_ovl_strategy2str(int, char *, size_t);
24 extern int nl_str2ovl_strategy(const char *);
25
26 #ifdef __cplusplus
27 }
28 #endif
29
30 #endif
nl_str2ovl_strategy
int nl_str2ovl_strategy(const char *)
Convert a string to a CBQ OVL strategy.
Definition: cbq.c:61
nl_ovl_strategy2str
char * nl_ovl_strategy2str(int, char *, size_t)
Convert a CBQ OVL strategy to a character string.
Definition: cbq.c:48