Get link information only from specified interface
Get link information only from specified interface

libsocketcan always retrieves link information from all interfaces
instead of only specified one. This commit fixes the issue by appending
an interface information to dump request netlink message.
See man 7 rtnetlink for detail description in section 'RTM_GETLINK'.

Signed-off-by: Leo Ruan <53e403f995b6277e66b8ce8f323db24e1227c7d3@cn.bosch.com>
Signed-off-by: Mark Jonas <18570c504793992d851cba7a15ef1fb594b465e5@de.bosch.com>
Signed-off-by: Marc Kleine-Budde <4a0ea1158d3cc63151119c05b1bff00c0bdbf421@pengutronix.de>

lalten/libsocketcan,lalten/libsocketcan,lalten/libsocketcan