summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSachin Saxena <sachin.saxena@freescale.com>2013-03-04 10:24:04 (GMT)
committerFleming Andrew-AFLEMING <AFLEMING@freescale.com>2013-04-03 21:27:57 (GMT)
commit0be89b380df53df162dcd87a8b56eb660e02bd7e (patch)
tree5c8aebaf048b077b4ee309d596f3e0861d7997ba /include
parent3bb568b890309eac9f36674ad0d956c32292ec00 (diff)
downloadlinux-fsl-qoriq-0be89b380df53df162dcd87a8b56eb660e02bd7e.tar.xz
net/ipv6: Callback added for IPv6 route change indications.
Signed-off-by: Arun Pathak <arun.pathak@freescale.com> Signed-off-by: Nikhil Agarwal <nikhil.agarwal@freescale.com> Change-Id: I215d7925d97e4de1bd88d5308279c960580af34f Reviewed-on: http://git.am.freescale.net:8181/873 Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com> Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/net/ip6_route.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/ip6_route.h b/include/net/ip6_route.h
index 27d8318..1859f3f 100644
--- a/include/net/ip6_route.h
+++ b/include/net/ip6_route.h
@@ -194,4 +194,8 @@ static inline int ip6_skb_dst_mtu(struct sk_buff *skb)
skb_dst(skb)->dev->mtu : dst_mtu(skb_dst(skb));
}
+#ifdef CONFIG_AS_FASTPATH
+typedef void ipv6_route_flush_hook(void);
+void ipv6_route_hook_fn_register(ipv6_route_flush_hook *flush);
+#endif
#endif