Lines Matching refs:rule
63 res->r = arg.rule; in dn_fib_lookup()
68 static int dn_fib_rule_action(struct fib_rule *rule, struct flowi *flp, in dn_fib_rule_action() argument
75 switch(rule->action) { in dn_fib_rule_action()
93 tbl = dn_fib_get_table(rule->table, 0); in dn_fib_rule_action()
108 static int dn_fib_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) in dn_fib_rule_match() argument
110 struct dn_fib_rule *r = (struct dn_fib_rule *)rule; in dn_fib_rule_match()
122 static int dn_fib_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in dn_fib_rule_configure() argument
128 struct dn_fib_rule *r = (struct dn_fib_rule *)rule; in dn_fib_rule_configure()
135 if (rule->table == RT_TABLE_UNSPEC) { in dn_fib_rule_configure()
136 if (rule->action == FR_ACT_TO_TBL) { in dn_fib_rule_configure()
145 rule->table = table->n; in dn_fib_rule_configure()
164 static int dn_fib_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in dn_fib_rule_compare() argument
167 struct dn_fib_rule *r = (struct dn_fib_rule *)rule; in dn_fib_rule_compare()
202 static int dn_fib_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in dn_fib_rule_fill() argument
205 struct dn_fib_rule *r = (struct dn_fib_rule *)rule; in dn_fib_rule_fill()