diff options
author | Daniel Lezcano <dlezcano@fr.ibm.com> | 2008-03-04 02:27:06 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-04 02:27:06 -0500 |
commit | f3db48517f59133610f558f29de8834d7b007691 (patch) | |
tree | d4a69e551fb9f10ea64430a26e917ce1d77e39ff /include/net/ip6_fib.h | |
parent | 58f09b78b730cf0d936597272bf35b3d615e967c (diff) |
[NETNS][IPV6] ip6_fib - fib6_clean_all handle several network namespaces
The function fib6_clean_all takes the network namespace as
parameter. That allows to flush the routes related to a specific
network namespace.
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: Benjamin Thery <benjamin.thery@bull.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip6_fib.h')
-rw-r--r-- | include/net/ip6_fib.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/ip6_fib.h b/include/net/ip6_fib.h index 4d4c8aca8fb9..e54075d902db 100644 --- a/include/net/ip6_fib.h +++ b/include/net/ip6_fib.h | |||
@@ -195,7 +195,8 @@ struct fib6_node *fib6_locate(struct fib6_node *root, | |||
195 | struct in6_addr *daddr, int dst_len, | 195 | struct in6_addr *daddr, int dst_len, |
196 | struct in6_addr *saddr, int src_len); | 196 | struct in6_addr *saddr, int src_len); |
197 | 197 | ||
198 | extern void fib6_clean_all(int (*func)(struct rt6_info *, void *arg), | 198 | extern void fib6_clean_all(struct net *net, |
199 | int (*func)(struct rt6_info *, void *arg), | ||
199 | int prune, void *arg); | 200 | int prune, void *arg); |
200 | 201 | ||
201 | extern int fib6_add(struct fib6_node *root, | 202 | extern int fib6_add(struct fib6_node *root, |