Home | History | Annotate | Download | only in lib

Lines Matching refs:rule

2  * src/lib/rule.c     CLI Routing Rule Helpers
20 #include <netlink/cli/rule.h>
24 struct rtnl_rule *rule;
26 rule = rtnl_rule_alloc();
27 if (!rule)
28 nl_cli_fatal(ENOMEM, "Unable to allocate rule object");
30 return rule;
39 nl_cli_fatal(err, "Unable to allocate routing rule cache: %s\n",
47 void nl_cli_rule_parse_family(struct rtnl_rule *rule, char *arg)
52 rtnl_rule_set_family(rule, family);