libnl  3.2.24-rc1
rule.h
1 /*
2  * netlink/cli/rule.h CLI Routing Rule Helpers
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) 2008-2009 Thomas Graf <tgraf@suug.ch>
10  */
11 
12 #ifndef __NETLINK_CLI_RULE_H_
13 #define __NETLINK_CLI_RULE_H_
14 
15 #include <netlink/route/rule.h>
16 
17 extern struct rtnl_rule *nl_cli_rule_alloc(void);
18 extern struct nl_cache *nl_cli_rule_alloc_cache(struct nl_sock *);
19 extern void nl_cli_rule_parse_family(struct rtnl_rule *, char *);
20 
21 #endif