Lines Matching defs:rule
171 static int ipmr_rule_action(struct fib_rule *rule, struct flowi *flp,
177 switch (rule->action) {
189 arg->table = fib_rule_get_table(rule, arg);
191 mrt = ipmr_get_table(rule->fr_net, arg->table);
198 static int ipmr_rule_match(struct fib_rule *rule, struct flowi *fl, int flags)
203 static int ipmr_rule_configure(struct fib_rule *rule, struct sk_buff *skb,
210 static int ipmr_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh,
216 static int ipmr_rule_fill(struct fib_rule *rule, struct sk_buff *skb,
295 bool ipmr_rule_default(const struct fib_rule *rule)
297 return fib_rule_matchall(rule) && rule->table == RT_TABLE_DEFAULT;
353 bool ipmr_rule_default(const struct fib_rule *rule)