diff options
Diffstat (limited to 'include/net/ip6_fib.h')
-rw-r--r-- | include/net/ip6_fib.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/include/net/ip6_fib.h b/include/net/ip6_fib.h index 8eea35d32a75..20e80fa7bbdd 100644 --- a/include/net/ip6_fib.h +++ b/include/net/ip6_fib.h | |||
@@ -74,6 +74,11 @@ struct fib6_node { | |||
74 | #define FIB6_SUBTREE(fn) ((fn)->subtree) | 74 | #define FIB6_SUBTREE(fn) ((fn)->subtree) |
75 | #endif | 75 | #endif |
76 | 76 | ||
77 | struct mx6_config { | ||
78 | const u32 *mx; | ||
79 | DECLARE_BITMAP(mx_valid, RTAX_MAX); | ||
80 | }; | ||
81 | |||
77 | /* | 82 | /* |
78 | * routing information | 83 | * routing information |
79 | * | 84 | * |
@@ -291,9 +296,8 @@ struct fib6_node *fib6_locate(struct fib6_node *root, | |||
291 | void fib6_clean_all(struct net *net, int (*func)(struct rt6_info *, void *arg), | 296 | void fib6_clean_all(struct net *net, int (*func)(struct rt6_info *, void *arg), |
292 | void *arg); | 297 | void *arg); |
293 | 298 | ||
294 | int fib6_add(struct fib6_node *root, struct rt6_info *rt, struct nl_info *info, | 299 | int fib6_add(struct fib6_node *root, struct rt6_info *rt, |
295 | struct nlattr *mx, int mx_len); | 300 | struct nl_info *info, struct mx6_config *mxc); |
296 | |||
297 | int fib6_del(struct rt6_info *rt, struct nl_info *info); | 301 | int fib6_del(struct rt6_info *rt, struct nl_info *info); |
298 | 302 | ||
299 | void inet6_rt_notify(int event, struct rt6_info *rt, struct nl_info *info); | 303 | void inet6_rt_notify(int event, struct rt6_info *rt, struct nl_info *info); |