Lines Matching refs:fib_rule
26 bool fib_rule_matchall(const struct fib_rule *rule) in fib_rule_matchall()
47 struct fib_rule *r; in fib_default_rule_add()
75 struct fib_rule *rule; in fib_default_rule_pref()
80 rule = list_entry(pos->next, struct fib_rule, list); in fib_default_rule_pref()
89 static void notify_rule_change(int event, struct fib_rule *rule,
131 if (ops->rule_size < sizeof(struct fib_rule)) in __fib_rules_register()
177 struct fib_rule *rule, *tmp; in fib_rules_cleanup_ops()
248 static int fib_rule_match(struct fib_rule *rule, struct fib_rules_ops *ops, in fib_rule_match()
281 struct fib_rule *rule; in fib_rules_lookup()
292 struct fib_rule *target; in fib_rules_lookup()
329 struct fib_rule *rule, int family) in call_fib_rule_notifier()
341 struct fib_rule *rule, in call_fib_rule_notifiers()
359 struct fib_rule *rule; in fib_rules_dump()
390 static struct fib_rule *rule_find(struct fib_rules_ops *ops, in rule_find()
393 struct fib_rule *rule, in rule_find()
396 struct fib_rule *r; in rule_find()
469 static int fib_nl2rule_l3mdev(struct nlattr *nla, struct fib_rule *nlrule, in fib_nl2rule_l3mdev()
481 static int fib_nl2rule_l3mdev(struct nlattr *nla, struct fib_rule *nlrule, in fib_nl2rule_l3mdev()
493 struct fib_rule **rule, in fib_nl2rule()
498 struct fib_rule *nlrule = NULL; in fib_nl2rule()
660 struct nlattr **tb, struct fib_rule *rule) in rule_exists()
662 struct fib_rule *r; in rule_exists()
732 struct fib_rule *rule = NULL, *r, *last = NULL; in fib_nl_newrule()
839 struct fib_rule *rule = NULL, *r, *nlrule = NULL; in fib_nl_delrule()
902 struct fib_rule *n; in fib_nl_delrule()
934 struct fib_rule *rule) in fib_rule_nlmsg_size()
958 static int fib_nl_fill_rule(struct sk_buff *skb, struct fib_rule *rule, in fib_nl_fill_rule()
1043 struct fib_rule *rule; in dump_rules()
1102 static void notify_rule_change(int event, struct fib_rule *rule, in notify_rule_change()
1132 struct fib_rule *rule; in attach_rules()
1146 struct fib_rule *rule; in detach_rules()