Lines Matching refs:fib_rule

38 bool fib_rule_matchall(const struct fib_rule *rule)  in fib_rule_matchall()
59 struct fib_rule *r; in fib_default_rule_add()
86 struct fib_rule *rule; in fib_default_rule_pref()
91 rule = list_entry(pos->next, struct fib_rule, list); in fib_default_rule_pref()
100 static void notify_rule_change(int event, struct fib_rule *rule,
143 if (ops->rule_size < sizeof(struct fib_rule)) in __fib_rules_register()
189 struct fib_rule *rule, *tmp; in fib_rules_cleanup_ops()
260 static bool fib_rule_iif_match(const struct fib_rule *rule, int iifindex, in fib_rule_iif_match()
269 static bool fib_rule_oif_match(const struct fib_rule *rule, int oifindex, in fib_rule_oif_match()
278 static int fib_rule_match(struct fib_rule *rule, struct fib_rules_ops *ops, in fib_rule_match()
316 struct fib_rule *rule; in fib_rules_lookup()
327 struct fib_rule *target; in fib_rules_lookup()
370 struct fib_rule *rule, int family, in call_fib_rule_notifier()
384 struct fib_rule *rule, in call_fib_rule_notifiers()
406 struct fib_rule *rule; in fib_rules_dump()
440 static struct fib_rule *rule_find(struct fib_rules_ops *ops, in rule_find()
443 struct fib_rule *rule, in rule_find()
446 struct fib_rule *r; in rule_find()
522 static int fib_nl2rule_l3mdev(struct nlattr *nla, struct fib_rule *nlrule, in fib_nl2rule_l3mdev()
534 static int fib_nl2rule_l3mdev(struct nlattr *nla, struct fib_rule *nlrule, in fib_nl2rule_l3mdev()
573 struct fib_rule **rule, in fib_nl2rule()
577 struct fib_rule *nlrule = NULL; in fib_nl2rule()
739 static int fib_nl2rule_rtnl(struct fib_rule *nlrule, in fib_nl2rule_rtnl()
777 struct nlattr **tb, struct fib_rule *rule) in rule_exists()
779 struct fib_rule *r; in rule_exists()
876 struct fib_rule *rule = NULL, *r, *last = NULL; in fib_newrule()
1005 struct fib_rule *rule = NULL, *nlrule = NULL; in fib_delrule()
1079 struct fib_rule *n, *r; in fib_delrule()
1122 struct fib_rule *rule) in fib_rule_nlmsg_size()
1148 static int fib_nl_fill_rule(struct sk_buff *skb, struct fib_rule *rule, in fib_nl_fill_rule()
1237 struct fib_rule *rule; in dump_rules()
1330 static void notify_rule_change(int event, struct fib_rule *rule, in notify_rule_change()
1359 struct fib_rule *rule; in attach_rules()
1379 struct fib_rule *rule; in detach_rules()