summaryrefslogtreecommitdiff
path: root/include/net/fib_rules.h
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2010-04-13 09:03:15 +0400
committerDavid S. Miller <davem@davemloft.net>2010-04-14 01:49:30 +0400
commitd8a566beaa75c6ad5e38cdccf0ea5294323e7866 (patch)
tree56fc11f0806e9e869e65c44a697c896add4b78f6 /include/net/fib_rules.h
parent561155110307ad304226a23272244398fa46cbae (diff)
downloadlinux-d8a566beaa75c6ad5e38cdccf0ea5294323e7866.tar.xz
net: fib_rules: consolidate IPv4 and DECnet ->default_pref() functions.
Both functions are equivalent, consolidate them since a following patch needs a third implementation for multicast routing. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/fib_rules.h')
-rw-r--r--include/net/fib_rules.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/fib_rules.h b/include/net/fib_rules.h
index c49086d2bc7d..52bd9e6c9141 100644
--- a/include/net/fib_rules.h
+++ b/include/net/fib_rules.h
@@ -114,4 +114,5 @@ extern int fib_rules_lookup(struct fib_rules_ops *,
extern int fib_default_rule_add(struct fib_rules_ops *,
u32 pref, u32 table,
u32 flags);
+extern u32 fib_default_rule_pref(struct fib_rules_ops *ops);
#endif