ipv6: ip6mr: add support for dumping routing tables over netlink
authorPatrick McHardy <kaber@trash.net>
Tue, 11 May 2010 12:40:56 +0000 (14:40 +0200)
committerPatrick McHardy <kaber@trash.net>
Tue, 11 May 2010 12:40:56 +0000 (14:40 +0200)
commit5b285cac3570a935aaa28312c1ea28f9e01c5452
treea39d8602eb21eb4a721fda933fe21b0c79d3d383
parentd1db275dd3f6e4182c4c4b4a1ac6287925d60569
ipv6: ip6mr: add support for dumping routing tables over netlink

The ip6mr /proc interface (ip6_mr_cache) can't be extended to dump routes
from any tables but the main table in a backwards compatible fashion since
the output format ends in a variable amount of output interfaces.

Introduce a new netlink interface to dump multicast routes from all tables,
similar to the netlink interface for regular routes.

Signed-off-by: Patrick McHardy <kaber@trash.net>
net/ipv6/ip6mr.c