summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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)