diff options
author | Patrick McHardy <kaber@trash.net> | 2006-08-11 02:11:17 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-22 17:54:27 -0400 |
commit | 1b43af5480c351dbcb2eef478bafe179cbeb6e83 (patch) | |
tree | c69adf005f89c7f5147ad338f1e7243aebc14008 /include/net/ip6_route.h | |
parent | 1af5a8c4a11cfed0c9a7f30fcfb689981750599c (diff) |
[IPV6]: Increase number of possible routing tables to 2^32
Increase number of possible routing tables to 2^32 by replacing iterations
over all possible table IDs by hash table walking.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip6_route.h')
-rw-r--r-- | include/net/ip6_route.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/net/ip6_route.h b/include/net/ip6_route.h index 9bfa3cc6cedb..01bfe404784f 100644 --- a/include/net/ip6_route.h +++ b/include/net/ip6_route.h | |||
@@ -137,6 +137,13 @@ extern int inet6_rtm_newroute(struct sk_buff *skb, struct nlmsghdr* nlh, void *a | |||
137 | extern int inet6_rtm_delroute(struct sk_buff *skb, struct nlmsghdr* nlh, void *arg); | 137 | extern int inet6_rtm_delroute(struct sk_buff *skb, struct nlmsghdr* nlh, void *arg); |
138 | extern int inet6_rtm_getroute(struct sk_buff *skb, struct nlmsghdr* nlh, void *arg); | 138 | extern int inet6_rtm_getroute(struct sk_buff *skb, struct nlmsghdr* nlh, void *arg); |
139 | 139 | ||
140 | struct rt6_rtnl_dump_arg | ||
141 | { | ||
142 | struct sk_buff *skb; | ||
143 | struct netlink_callback *cb; | ||
144 | }; | ||
145 | |||
146 | extern int rt6_dump_route(struct rt6_info *rt, void *p_arg); | ||
140 | extern void rt6_ifdown(struct net_device *dev); | 147 | extern void rt6_ifdown(struct net_device *dev); |
141 | extern void rt6_mtu_change(struct net_device *dev, unsigned mtu); | 148 | extern void rt6_mtu_change(struct net_device *dev, unsigned mtu); |
142 | 149 | ||