Refactor ip address to export its capability to save a list of nlmsg's for links and its link filter. Use both to add an 'ip vrf show' command to list all configured VRF with table id.
David Ahern (4): ip address: Export ip_linkaddr_list ip address: Move filter struct to ip_common.h ip address: Change print_linkinfo_brief to take filter as an input ip vrf: Add show command include/libnetlink.h | 10 ++++ ip/ip_common.h | 27 ++++++++- ip/ipaddress.c | 144 +++++++++++++++++++++++------------------------- ip/iplink.c | 2 +- ip/ipvrf.c | 153 +++++++++++++++++++++++++++++++++++++++++++++++++-- man/man8/ip-vrf.8 | 11 ++++ 6 files changed, 266 insertions(+), 81 deletions(-) -- 2.11.0 (Apple Git-81)