summaryrefslogtreecommitdiffhomepage
path: root/ubus.c
AgeCommit message (Collapse)Author
2013-01-15Initial IPv6 prefix supportSteven Barth
Signed-off-by: Steven Barth <steven@midlink.org>
2013-01-06fix removal of unknown deviceNathan Hintz
Netifd will crash if an attempt is made to remove a device that is not known to netifd. For instance: ubus call network.interface.lan remove_device "{ \"name\": \"xxx\" }" Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
2012-12-03fix error checking of asprintfFrank Meerkötter
see man asprintf [...] RETURN VALUE When successful, these functions return the number of bytes printed, just like sprintf(3). If memory allocation wasn't possible, or some other error occurs, these functions will return -1, and the contents of strp is undefined. Signed-off-by: Frank Meerkötter <frank@meerkoetter.org>
2012-10-29use FD_CLOEXEC instead of tracking lists of fdsFelix Fietkau
2012-10-19fix device_lock/device_unlock imbalancesFelix Fietkau
2012-09-13ubus.c: now that disabled routes are in the inactive subtable it makes no ↵Jo-Philipp Wich
sense to expose the enabled attribute anymore
2012-09-13ubus.c: move disabled routes, ips, dns server into an "inactive" subtableJo-Philipp Wich
2012-07-12apply basic device settings for hotplug devices, e.g. mtu and txqueuelenFelix Fietkau
2012-07-12ensure hotplug devices are marked as present in the add path - they are not ↵Felix Fietkau
cleaned up if they have config settings attached to them
2012-07-12fix device_lock/device_unlock imbalance in the hotplug device handlingFelix Fietkau
2012-07-05fix ifname for alias+vlan chainsFelix Fietkau
2012-06-29ubus.c: expose metric and mtu values if applicableJo-Philipp Wich
2012-06-29ubus.c: expose route enabled stateJo-Philipp Wich
2012-06-07device: add support for deferring bringup of devicesFelix Fietkau
2012-05-31add an ubus method for dumping available protocol handlersFelix Fietkau
2012-05-31ubus: show proto handler in interface statusFelix Fietkau
2012-05-29netifd: reconnect to ubus if the connection is lostFelix Fietkau
2012-05-20export dns server and search list in the ubus interface statusFelix Fietkau
2012-05-19ubus: split ipv4 and ipv6 address in interface statusFelix Fietkau
2012-05-04add copyright headersFelix Fietkau
2012-05-04add a ubus interface to dynamically create host routes to a particular ip ↵Felix Fietkau
address, returns the interface that the route goes through
2012-04-12ubus: split address from mask in interface statusFelix Fietkau
2012-03-23add support for attaching arbitrary state data to interfacesFelix Fietkau
2012-03-23move l3 device tracking to interface core to enforce proper order of ↵Felix Fietkau
address/route removal on device or interface state changes
2012-03-23dump interface routes via ubusFelix Fietkau
2012-03-23add network addresses to interface statusFelix Fietkau
2012-03-03ubus: use interface_{add,remove}_link for hotplug opsFelix Fietkau
2011-11-04add a hotplug op for preparing an interface bridge so that it's ready when ↵Felix Fietkau
an external process adds interfaces
2011-11-01mark hotplug-added devices as externalFelix Fietkau
2011-10-19rework device hotplug handling some more, add device_lock/device_unlock to ↵Felix Fietkau
prevent use-after-free bugs
2011-10-19rework and fix hotplug interface handlingFelix Fietkau
2011-10-18add support for alias devices, which are activated based on hotplug events ↵Felix Fietkau
containing the real device name
2011-10-18display device and l3_device separately in ubus statusFelix Fietkau
2011-10-15add support for tracking open file descriptors of modules and closing them ↵Felix Fietkau
for created child processes
2011-10-12define _GNU_SOURCE and include stdio.h in ubus.c to fix a compile errorFelix Fietkau
2011-10-12fix network interface object nameFelix Fietkau
2011-10-11implement a new ubus object "network.device", add a method for dumping ↵Felix Fietkau
detailed device information
2011-10-11rename the network.interface ubus object to just networkFelix Fietkau
2011-10-10add interface uptime to the status infoFelix Fietkau
2011-10-09add ubus events for interface up/downFelix Fietkau
2011-10-05rename check_device_state to device_check_stateFelix Fietkau
2011-10-03add a ubus call for triggering config reloadsFelix Fietkau
2011-10-02add an ubus callback for removing an interfaceFelix Fietkau
2011-09-11add an interface for notifying protocol handlers of state changes via ubusFelix Fietkau
2011-09-09add an ubus call for restarting netifdFelix Fietkau
2011-09-08rename "active" to "available"Felix Fietkau
2011-09-08change the status information provided via ubusFelix Fietkau
2011-09-05fix the ubus hotplug add/remove interface to properly clean up devicesFelix Fietkau
2011-09-05extend the ubus interface to allow adding/removing hotplug interfacesFelix Fietkau
2011-07-29s/set_interface_down/interface_set_down/Felix Fietkau