summaryrefslogtreecommitdiffstats
path: root/include/net/ip6_fib.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/ip6_fib.h')
-rw-r--r--include/net/ip6_fib.h20
1 files changed, 7 insertions, 13 deletions
diff --git a/include/net/ip6_fib.h b/include/net/ip6_fib.h
index 482c7c74a..6b355cc12 100644
--- a/include/net/ip6_fib.h
+++ b/include/net/ip6_fib.h
@@ -19,6 +19,7 @@
#include <net/dst.h>
#include <net/flow.h>
+#include <linux/rtnetlink.h>
struct rt6_info;
@@ -66,8 +67,9 @@ struct rt6_info {
int rt6i_keylen;
- unsigned long rt6i_flags;
- unsigned long rt6i_metric;
+ u32 rt6i_flags;
+ u32 rt6i_metric;
+ u8 rt6i_hoplimit;
unsigned long rt6i_expires;
union {
@@ -137,17 +139,9 @@ extern int fib6_add(struct fib6_node *root,
extern int fib6_del(struct rt6_info *rt);
-/*
- * auxiliary functions
- */
-extern __inline__ void rt6_release(struct rt6_info *rt)
-{
- struct dst_entry *dst = (struct dst_entry *) rt;
- if (atomic_dec_and_test(&dst->refcnt))
- dst_destroy(dst);
-}
-
-extern void rt6_ins(struct rt6_info *rt);
+extern void inet6_rt_notify(int event, struct rt6_info *rt);
+
+extern void fib6_run_gc(unsigned long dummy);
#endif
#endif