summaryrefslogtreecommitdiffstats
path: root/include/net/ip6_fib.h
diff options
context:
space:
mode:
authorDavid Ahern2018-05-10 05:34:20 +0200
committerDaniel Borkmann2018-05-11 00:10:56 +0200
commit3b290a31bbc5969f9193f73d547a6dc8a25c6f9e (patch)
tree409043376e379ce018f3a1d848788fd71e288882 /include/net/ip6_fib.h
parentnet/ipv6: Rename fib6_lookup to fib6_node_lookup (diff)
downloadkernel-qcow2-linux-3b290a31bbc5969f9193f73d547a6dc8a25c6f9e.tar.gz
kernel-qcow2-linux-3b290a31bbc5969f9193f73d547a6dc8a25c6f9e.tar.xz
kernel-qcow2-linux-3b290a31bbc5969f9193f73d547a6dc8a25c6f9e.zip
net/ipv6: Rename rt6_multipath_select
Rename rt6_multipath_select to fib6_multipath_select and export it. A later patch wants access to it similar to IPv4's fib_select_path. Signed-off-by: David Ahern <dsahern@gmail.com> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'include/net/ip6_fib.h')
-rw-r--r--include/net/ip6_fib.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/ip6_fib.h b/include/net/ip6_fib.h
index 43ab545e64ea..2597d8fdd92f 100644
--- a/include/net/ip6_fib.h
+++ b/include/net/ip6_fib.h
@@ -376,6 +376,11 @@ struct dst_entry *fib6_rule_lookup(struct net *net, struct flowi6 *fl6,
const struct sk_buff *skb,
int flags, pol_lookup_t lookup);
+struct fib6_info *fib6_multipath_select(const struct net *net,
+ struct fib6_info *match,
+ struct flowi6 *fl6, int oif,
+ const struct sk_buff *skb, int strict);
+
struct fib6_node *fib6_node_lookup(struct fib6_node *root,
const struct in6_addr *daddr,
const struct in6_addr *saddr);