[PATCH iproute2 5/6] ip vrf: Add ipvrf_get_table

2016-06-27 Thread David Ahern
Add ipvrf_get_table to lookup table id for device name. Returns 0 on any error or if name is not a VRF device. Signed-off-by: David Ahern --- ip/ip_common.h | 1 + ip/iplink_vrf.c | 66 + 2 files changed, 67 insertions(+) diff --git a/ip

[PATCH iproute2 5/6] ip vrf: Add ipvrf_get_table

2016-06-14 Thread David Ahern
Add ipvrf_get_table to lookup table id for device name. Returns 0 on any error or if name is not a VRF device. Signed-off-by: David Ahern --- ip/ip_common.h | 1 + ip/iplink_vrf.c | 66 + 2 files changed, 67 insertions(+) diff --git a/ip