extdev: add support for external device handlers
authorArne Kappen <arne.kappen@hhi.fraunhofer.de>
Wed, 9 Dec 2020 15:01:24 +0000 (16:01 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Wed, 31 Mar 2021 00:19:55 +0000 (01:19 +0100)
commit80bf9d74884693cf74914edafe2a0b5e5ed45ada
tree7a20c555ca6ff463a4e0ad75300b91dcfff597ac
parentb22f83d752d4d53e120bbbcb089ec2d980cbd957
extdev: add support for external device handlers

This allows to integrate external daemons that configure network devices with
netifd. At startup, netifd generates device handler stubs from descriptions in
/lib/netifd/extdev-config via the mechanism in handler.c. These are then added
to the list of device handlers. Device handlers stubs act as relays forwarding
calls against the device handler interface to the external daemon.

Signed-off-by: Arne Kappen <arne.kappen@hhi.fraunhofer.de>
CMakeLists.txt
extdev.c [new file with mode: 0644]
extdev.h [new file with mode: 0644]
main.c
ubus.c
ubus.h