summaryrefslogtreecommitdiffstats
path: root/include/net/ipv6.h
diff options
context:
space:
mode:
authorCong Wang2013-08-31 07:44:28 +0200
committerDavid S. Miller2013-09-01 04:29:59 +0200
commit3ce9b35ff6de8dfebb0b0045e667c000f632e563 (patch)
treeecde35b0c857ba52ef90724bf12f037f52ab4957 /include/net/ipv6.h
parentMerge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/bwh... (diff)
downloadkernel-qcow2-linux-3ce9b35ff6de8dfebb0b0045e667c000f632e563.tar.gz
kernel-qcow2-linux-3ce9b35ff6de8dfebb0b0045e667c000f632e563.tar.xz
kernel-qcow2-linux-3ce9b35ff6de8dfebb0b0045e667c000f632e563.zip
ipv6: move ip6_dst_hoplimit() into core kernel
It will be used by vxlan, and may not be inlined. Cc: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: Cong Wang <amwang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ipv6.h')
-rw-r--r--include/net/ipv6.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/ipv6.h b/include/net/ipv6.h
index 7bdff0455065..bbf1c8fb8511 100644
--- a/include/net/ipv6.h
+++ b/include/net/ipv6.h
@@ -658,6 +658,8 @@ static inline int ipv6_addr_diff(const struct in6_addr *a1, const struct in6_add
extern void ipv6_select_ident(struct frag_hdr *fhdr, struct rt6_info *rt);
+extern int ip6_dst_hoplimit(struct dst_entry *dst);
+
/*
* Header manipulation
*/