xref: /aosp_15_r20/external/libnl/include/netlink/cli/qdisc.h (revision 4dc78e53d49367fa8e61b07018507c90983a077d)
1 /* SPDX-License-Identifier: LGPL-2.1-only */
2 /*
3  * Copyright (c) 2008-2011 Thomas Graf <[email protected]>
4  */
5 
6 #ifndef __NETLINK_CLI_QDISC_H_
7 #define __NETLINK_CLI_QDISC_H_
8 
9 #include <netlink/route/qdisc.h>
10 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
15 #define nl_cli_qdisc_alloc_cache(sk) \
16 		nl_cli_alloc_cache((sk), "queueing disciplines", \
17 				   rtnl_qdisc_alloc_cache)
18 
19 extern struct rtnl_qdisc *nl_cli_qdisc_alloc(void);
20 
21 #ifdef __cplusplus
22 }
23 #endif
24 
25 #endif
26