summaryrefslogtreecommitdiff
path: root/include/net/ip6_route.h
diff options
context:
space:
mode:
authorMahesh Bandewar <maheshb@google.com>2016-09-16 22:59:08 +0300
committerDavid S. Miller <davem@davemloft.net>2016-09-19 08:25:22 +0300
commitd409b84768037ad03d1d73538d99fb902adf7365 (patch)
treef87590d64ea9e613b58140647e6aa9ad2b559473 /include/net/ip6_route.h
parenta5ea31f573098d39e6b29327d01c986607e118cb (diff)
downloadlinux-d409b84768037ad03d1d73538d99fb902adf7365.tar.xz
ipv6: Export p6_route_input_lookup symbol
Make ip6_route_input_lookup available outside of ipv6 the module similar to ip_route_input_noref in the IPv4 world. Signed-off-by: Mahesh Bandewar <maheshb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip6_route.h')
-rw-r--r--include/net/ip6_route.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/ip6_route.h b/include/net/ip6_route.h
index d97305d0e71f..e0cd318d5103 100644
--- a/include/net/ip6_route.h
+++ b/include/net/ip6_route.h
@@ -64,6 +64,9 @@ static inline bool rt6_need_strict(const struct in6_addr *daddr)
}
void ip6_route_input(struct sk_buff *skb);
+struct dst_entry *ip6_route_input_lookup(struct net *net,
+ struct net_device *dev,
+ struct flowi6 *fl6, int flags);
struct dst_entry *ip6_route_output_flags(struct net *net, const struct sock *sk,
struct flowi6 *fl6, int flags);