| 1 |
/* SPDX-License-Identifier: LGPL-2.1-only */ |
| 2 |
/* |
| 3 |
* Copyright (c) 2008-2009 Thomas Graf <[email protected]> |
| 4 |
*/ |
| 5 |
|
| 6 |
#ifndef __NETLINK_CLI_RULE_H_ |
| 7 |
#define __NETLINK_CLI_RULE_H_ |
| 8 |
|
| 9 |
#include <netlink/route/rule.h> |
| 10 |
|
| 11 |
#ifdef __cplusplus |
| 12 |
extern "C" { |
| 13 |
#endif |
| 14 |
|
| 15 |
extern struct rtnl_rule *nl_cli_rule_alloc(void); |
| 16 |
extern struct nl_cache *nl_cli_rule_alloc_cache(struct nl_sock *); |
| 17 |
extern void nl_cli_rule_parse_family(struct rtnl_rule *, char *); |
| 18 |
|
| 19 |
#ifdef __cplusplus |
| 20 |
} |
| 21 |
#endif |
| 22 |
|
| 23 |
#endif |