On Mon, 7 Jan 2019 14:55:52 -0800 David Ahern <dsah...@kernel.org> wrote:
> + idx = ll_link_get(name); > + if (idx == 0) > + idx = if_nametoindex(name); What is advantage of using netlink, other than not having to open a socket.
On Mon, 7 Jan 2019 14:55:52 -0800 David Ahern <dsah...@kernel.org> wrote:
> + idx = ll_link_get(name); > + if (idx == 0) > + idx = if_nametoindex(name); What is advantage of using netlink, other than not having to open a socket.