]> err.no Git - linux-2.6/blobdiff - include/net/fib_rules.h
[IPV4]: last default route is a fib table property
[linux-2.6] / include / net / fib_rules.h
index 017aebd9068317f387df8f62de160cc7bad36a08..2364db1a47e62e7c21f2b973db0999c9e6c7b852 100644 (file)
@@ -103,8 +103,12 @@ static inline u32 frh_get_table(struct fib_rule_hdr *frh, struct nlattr **nla)
 
 extern int                     fib_rules_register(struct fib_rules_ops *);
 extern int                     fib_rules_unregister(struct fib_rules_ops *);
+extern void                     fib_rules_cleanup_ops(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