summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSachin Saxena <sachin.saxena@freescale.com>2013-03-04 10:24:19 (GMT)
committerFleming Andrew-AFLEMING <AFLEMING@freescale.com>2013-04-03 21:28:15 (GMT)
commitb5a03e1244be91b05209d4a53973393f021dd999 (patch)
treea64a1975ef7ebd6412cb34ab44258970dea30331 /include
parent9cbcdc5041a6bee7959865bdfd31c807662d1d0e (diff)
downloadlinux-fsl-qoriq-b5a03e1244be91b05209d4a53973393f021dd999.tar.xz
net/ipv4: IPv4 Route Flush callback added.
Signed-off-by: Sachin Saxena <sachin.saxena@freescale.com> Change-Id: Ia9cc025e36b67beedad57f7fff5a4846be39ad10 Reviewed-on: http://git.am.freescale.net:8181/875 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/route.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/route.h b/include/net/route.h
index 2ea40c1..fcbff36 100644
--- a/include/net/route.h
+++ b/include/net/route.h
@@ -306,6 +306,11 @@ static inline int inet_iif(const struct sk_buff *skb)
return skb->skb_iif;
}
+#ifdef CONFIG_AS_FASTPATH
+typedef void route_flush_hook(void);
+void route_hook_fn_register(route_flush_hook *flush);
+#endif
+
extern int sysctl_ip_default_ttl;
static inline int ip4_dst_hoplimit(const struct dst_entry *dst)