aboutsummaryrefslogtreecommitdiffstats
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.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/include/net/ip6_fib.h b/include/net/ip6_fib.h
index eaa315868792..14830edc2ac0 100644
--- a/include/net/ip6_fib.h
+++ b/include/net/ip6_fib.h
@@ -226,8 +226,18 @@ extern void fib6_gc_cleanup(void);
226 226
227extern int fib6_init(void); 227extern int fib6_init(void);
228 228
229#ifdef CONFIG_IPV6_MULTIPLE_TABLES
229extern int fib6_rules_init(void); 230extern int fib6_rules_init(void);
230extern void fib6_rules_cleanup(void); 231extern void fib6_rules_cleanup(void);
231 232#else
233static inline int fib6_rules_init(void)
234{
235 return 0;
236}
237static inline void fib6_rules_cleanup(void)
238{
239 return ;
240}
241#endif
232#endif 242#endif
233#endif 243#endif