libnl  3.6.0
cbq.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_CBQ_H_
7 #define NETLINK_CBQ_H_
8 
9 #include <netlink/netlink.h>
10 #include <netlink/cache.h>
11 #include <netlink/route/qdisc.h>
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 extern char * nl_ovl_strategy2str(int, char *, size_t);
18 extern int nl_str2ovl_strategy(const char *);
19 
20 #ifdef __cplusplus
21 }
22 #endif
23 
24 #endif
int nl_str2ovl_strategy(const char *)
Convert a string to a CBQ OVL strategy.
Definition: cbq.c:55
char * nl_ovl_strategy2str(int, char *, size_t)
Convert a CBQ OVL strategy to a character string.
Definition: cbq.c:42