include/netlink/cli/class.h
raw| 1 | /* SPDX-License-Identifier: LGPL-2.1-only */ |
| 2 | /* |
| 3 | * Copyright (c) 2010 Thomas Graf <[email protected]> |
| 4 | */ |
| 5 | |
| 6 | #ifndef __NETLINK_CLI_CLASS_H_ |
| 7 | #define __NETLINK_CLI_CLASS_H_ |
| 8 | |
| 9 | #include <netlink/route/class.h> |
| 10 | #include <netlink/cli/tc.h> |
| 11 | |
| 12 | #ifdef __cplusplus |
| 13 | extern "C" { |
| 14 | #endif |
| 15 | |
| 16 | extern struct rtnl_class *nl_cli_class_alloc(void); |
| 17 | extern struct nl_cache *nl_cli_class_alloc_cache(struct nl_sock *, int); |
| 18 | |
| 19 | #ifdef __cplusplus |
| 20 | } |
| 21 | #endif |
| 22 | |
| 23 | #endif |