add an assertion in rtnl_tc_set_link()

So that we can catch the bug easily.

Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Revert "basic: Declare rtnl_act in basic.h to silence warning"

This reverts commit a858d996e952af5bf449b87775f74355d492a0ec.
Revert "basic: Add missing declaration for rtnl_basic_add_action()"

This reverts commit 4b84836085067722882129b8c6a864364ae4ca42.
add declaration for rtnl_basic_add_action()

Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
cache: Add missing declaration for nl_cache_find()

Reported-by: Andrej.Gantvorg@wago.com
Signed-off-by: Thomas Graf <tgraf@suug.ch>
u32: add rtnl_u32_get_key()

Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Cc: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Thomas Haller <thaller@redhat.com>
build: fix build failure when using different build dir (make distcheck)

`make distcheck` builds outside the source directory using
`../configure --srcdir=..`. This was broken because libnl.sym was
expected in the $(top_srcdir) instead of $(top_builddir).

Signed-off-by: Thomas Haller <thaller@redhat.com>