libnl
3.2.3
|
00001 /* 00002 * netlink/cli/rule.h CLI Routing Rule Helpers 00003 * 00004 * This library is free software; you can redistribute it and/or 00005 * modify it under the terms of the GNU Lesser General Public 00006 * License as published by the Free Software Foundation version 2.1 00007 * of the License. 00008 * 00009 * Copyright (c) 2008-2009 Thomas Graf <tgraf@suug.ch> 00010 */ 00011 00012 #ifndef __NETLINK_CLI_RULE_H_ 00013 #define __NETLINK_CLI_RULE_H_ 00014 00015 #include <netlink/route/rule.h> 00016 00017 extern struct rtnl_rule *nl_cli_rule_alloc(void); 00018 extern struct nl_cache *nl_cli_rule_alloc_cache(struct nl_sock *); 00019 extern void nl_cli_rule_parse_family(struct rtnl_rule *, char *); 00020 00021 #endif