net: ipmr: add support for dumping routing tables over netlink
authorPatrick McHardy <kaber@trash.net>
Mon, 26 Apr 2010 14:02:08 +0000 (16:02 +0200)
committerPatrick McHardy <kaber@trash.net>
Mon, 26 Apr 2010 14:22:50 +0000 (16:22 +0200)
commitcb6a4e461fb427689920472bd7335f926d521747
tree2c3fb3312590aabcc8cfd5f7ded10c197bf83661
parent25239cee7e8732dbdc9f5d324f1c22a3bdec1d1f
net: ipmr: add support for dumping routing tables over netlink

The ipmr /proc interface (ip_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/ipv4/ipmr.c