Lines Matching refs:rule
62 res->r = arg.rule; in dn_fib_lookup()
67 static int dn_fib_rule_action(struct fib_rule *rule, struct flowi *flp, in dn_fib_rule_action() argument
74 switch(rule->action) { in dn_fib_rule_action()
92 tbl = dn_fib_get_table(rule->table, 0); in dn_fib_rule_action()
107 static int dn_fib_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) in dn_fib_rule_match() argument
109 struct dn_fib_rule *r = (struct dn_fib_rule *)rule; in dn_fib_rule_match()
121 static int dn_fib_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in dn_fib_rule_configure() argument
126 struct dn_fib_rule *r = (struct dn_fib_rule *)rule; in dn_fib_rule_configure()
131 if (rule->table == RT_TABLE_UNSPEC) { in dn_fib_rule_configure()
132 if (rule->action == FR_ACT_TO_TBL) { in dn_fib_rule_configure()
141 rule->table = table->n; in dn_fib_rule_configure()
160 static int dn_fib_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in dn_fib_rule_compare() argument
163 struct dn_fib_rule *r = (struct dn_fib_rule *)rule; in dn_fib_rule_compare()
198 static int dn_fib_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in dn_fib_rule_fill() argument
201 struct dn_fib_rule *r = (struct dn_fib_rule *)rule; in dn_fib_rule_fill()