unl: add support for connecting to rtnl
authorFelix Fietkau <nbd@nbd.name>
Wed, 5 Aug 2020 15:11:50 +0000 (17:11 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 5 Aug 2020 15:45:17 +0000 (17:45 +0200)
commitc291088f631d1694f7ba0444b59677b194348da8
treeae8cf2d7b6b9a934156469bb4777c6939e102954
parent2584ebc642b2eac6455cd15a7d6bd3b30369cb9d
unl: add support for connecting to rtnl

The API is almost the same and some unl_genl_* functions are renamed to unl_*
with compat #define in place
The only thing different between genl and rtnl is the init function and the
function for allocating a message

Signed-off-by: Felix Fietkau <nbd@nbd.name>
include/unl.h
unl.c