summaryrefslogtreecommitdiff
path: root/ubus.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2021-08-22 08:00:18 +0200
committerFelix Fietkau <nbd@nbd.name>2021-08-24 12:58:57 +0200
commit6519cf31e4b033fd4a03c031ad882166be84fa6d (patch)
tree78f2fa0ef9bb0f59994b5c404edf76026fbbdba2 /ubus.h
parented84473b7af96f4fc4d161bf60eeaa51bed7077b (diff)
downloadnetifd-6519cf31e4b033fd4a03c031ad882166be84fa6d.tar.gz
bridge: add support for an external STP daemon
netifd notifies the stp daemon through the network.device object and sends STP related configuration parameters. The daemon can also trigger a STP restart in order to close the race on init Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'ubus.h')
-rw-r--r--ubus.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ubus.h b/ubus.h
index 590f5fc..dde7124 100644
--- a/ubus.h
+++ b/ubus.h
@@ -25,5 +25,6 @@ void netifd_ubus_add_interface(struct interface *iface);
void netifd_ubus_remove_interface(struct interface *iface);
void netifd_ubus_interface_event(struct interface *iface, bool up);
void netifd_ubus_interface_notify(struct interface *iface, bool up);
+void netifd_ubus_device_notify(const char *event, struct blob_attr *data, int timeout);
#endif