X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fnet%2Ffib_rules.h;h=41a301e386433006e659ae14409e1373f905d36b;hb=69d6da0b0faa70249a243a14e6066c013e9294e5;hp=83e41dd15ccde6e88b304687dac539462815d7dd;hpb=9cadcd28f05e1957a8f61ae726fce31d0b29a3f9;p=linux-2.6 diff --git a/include/net/fib_rules.h b/include/net/fib_rules.h index 83e41dd15c..41a301e386 100644 --- a/include/net/fib_rules.h +++ b/include/net/fib_rules.h @@ -65,7 +65,7 @@ struct fib_rules_ops int nlgroup; const struct nla_policy *policy; - struct list_head *rules_list; + struct list_head rules_list; struct module *owner; }; @@ -107,4 +107,7 @@ extern int fib_rules_unregister(struct fib_rules_ops *); extern int fib_rules_lookup(struct fib_rules_ops *, struct flowi *, int flags, struct fib_lookup_arg *); +extern int fib_default_rule_add(struct fib_rules_ops *, + u32 pref, u32 table, + u32 flags); #endif