Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | netifd: Allow to add link devices which can be marked as non external | Hans Dedecker | 2014-07-30 | 1 | -6/+23 |
| | | | | Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> | ||||
* | add_dynamic: remove redundant code | Steven Barth | 2014-07-29 | 1 | -7/+0 |
| | | | | | | | device_config is unneeded since add_dynamic is used to create aliases checking of setup state is unneeded because of race condition fixes Signed-off-by: Steven Barth <steven@midlink.org> | ||||
* | ubus: add del_dynamic as complement to add_dynamic | Steven Barth | 2014-07-28 | 1 | -0/+26 |
| | | | | Signed-off-by: Steven Barth <steven@midlink.org> | ||||
* | Only add dynamic interfaces if the underlying interface is ready | Steven Barth | 2014-07-25 | 1 | -0/+4 |
| | | | | Signed-off-by: Steven Barth <steven@midlink.org> | ||||
* | netifd: Route type support | Hans Dedecker | 2014-06-18 | 1 | -0/+3 |
| | | | | | | | | Patch adds route type support in netifd by means of the route parameter type. By default the route type was unicast; the parameter adss support for local/broadcast/multicast/unicast routes which will be put into the appropriate routing table. If route type parameter is unset the route type will be unicast as before. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> | ||||
* | add a interface. prefix to ubus_notify calls | John Crispin | 2014-06-05 | 1 | -1/+1 |
| | | | | Signed-off-by: John Crispin <blogic@openwrt.org> | ||||
* | netifd: Mark interface as dynamic after it has been added in the interface list | Hans Dedecker | 2014-04-24 | 1 | -2/+5 |
| | | | | | | | Adding an interface in the interface list in case of a config update will override the node version of the old interface and thus overriding the dynamic interface marker. In case of config update interface_set_dynamic is done on an invalid interface pointer as the new interface pointer has been freed. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> | ||||
* | ubus: check the l3_dev pointer before dereferencing it | Felix Fietkau | 2014-04-19 | 1 | -1/+2 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | ubus: use list_empty() instead of the compat wrapper | Felix Fietkau | 2014-03-21 | 1 | -1/+1 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | ubus: fix displaying interface data items | Felix Fietkau | 2014-03-20 | 1 | -1/+1 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | Revert "ubus events: don't incorrectly announce an interface as being up" | Felix Fietkau | 2014-03-11 | 1 | -5/+5 |
| | | | | | | Made obsolete by b114b86c70766f67f503077ad1de013c17fbf366 This reverts commit 4d1a597f65bbb49aa843112812d5ca929478c706. | ||||
* | ubus events: don't incorrectly announce an interface as being up | Steven Barth | 2014-03-05 | 1 | -5/+5 |
| | | | | Signed-off-by: Steven Barth <steven@midlink.org> | ||||
* | wireless: add a "get_validate" methode to ubus | John Crispin | 2014-02-17 | 1 | -0/+24 |
| | | | | Signed-off-by: John Crispin <blogic@openwrt.org> | ||||
* | netifd : Fix ubus route src mask printing | Hans Dedecker | 2014-02-14 | 1 | -1/+1 |
| | | | | | | Fix printing of route src mask attribute when it contains 3 digits Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> | ||||
* | Add indicator-flags to ubus and hotplug update-events | Steven Barth | 2014-01-17 | 1 | -0/+15 |
| | |||||
* | Set dynamic interface flag after adding them so the version is preserved | Steven Barth | 2013-12-12 | 1 | -1/+1 |
| | |||||
* | netifd: Don't export default route via UBUS when disabled | Hans Dedecker | 2013-12-08 | 1 | -0/+3 |
| | | | | Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> | ||||
* | netifd: Export ip4table/ip6table via UBUS | Hans Dedecker | 2013-12-08 | 1 | -0/+4 |
| | | | | | | | Export ip4table/ip6table parameters via UBUS to facilitate route inspection and usage by other applications Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> | ||||
* | wireless: add support for global up/down command | Felix Fietkau | 2013-11-29 | 1 | -4/+16 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | add initial support for handling wireless devices via scripts | Felix Fietkau | 2013-11-29 | 1 | -16/+133 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | IPv6: add class support to regular IPv6 addresses | Steven Barth | 2013-11-27 | 1 | -0/+3 |
| | |||||
* | IPv6: Export delegation setting via ubus | Steven Barth | 2013-10-30 | 1 | -0/+1 |
| | | | | | | | This allows foreign prefix delegators to quickly distinguish between managed and unmanaged prefixes. Signed-off-by: Steven Barth <steven@midlink.org> | ||||
* | add helper function for adding/removing devices to interfaces | Felix Fietkau | 2013-10-22 | 1 | -25/+1 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | interface: rework code to get rid of arbitrary IFNAMSIZ limitation for ↵ | Felix Fietkau | 2013-10-19 | 1 | -2/+1 |
| | | | | | | interface names Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | interface: remove "dynamic" argument for interface_init, add the ↵ | Felix Fietkau | 2013-10-19 | 1 | -1/+2 |
| | | | | | | interface_set_dynamic function instead Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | Add source-restricted routes | Steven Barth | 2013-10-18 | 1 | -0/+6 |
| | |||||
* | Add protocol update notifications and hotplug legacy calls | Steven Barth | 2013-10-17 | 1 | -1/+12 |
| | |||||
* | Add ubus function to create nested interfaces | Steven Barth | 2013-10-17 | 1 | -0/+58 |
| | |||||
* | Add ubus methods for global interface status | Steven Barth | 2013-10-17 | 1 | -8/+38 |
| | |||||
* | IPv6: reorganize prefix assignment | Steven Barth | 2013-05-30 | 1 | -0/+2 |
| | | | | | * put parameters in a more suitable place * add support for prefix classes | ||||
* | Add support for IPv6 and interface target-routes & dependencies | Steven Barth | 2013-05-13 | 1 | -2/+7 |
| | | | | Signed-off-by: Steven Barth <steven@midlink.org> | ||||
* | Expose route table if route is not in the main table | Jo-Philipp Wich | 2013-04-04 | 1 | -0/+3 |
| | |||||
* | Rewrite IPv6 prefix assignment | Steven Barth | 2013-04-03 | 1 | -4/+13 |
| | |||||
* | Improved IPv6 featureset | Steven Barth | 2013-02-01 | 1 | -7/+60 |
| | | | | | | | * Fix reloading of ula-prefixes * Added support for temporary addresses and routes * Added support for offlink addresses * Improved status-output for assigned prefixes | ||||
* | ubus: add a network.interface object to access network.interface.* methods ↵ | Felix Fietkau | 2013-01-29 | 1 | -35/+93 |
| | | | | | | without racing wrt. object add/remove Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | Initial IPv6 prefix support | Steven Barth | 2013-01-15 | 1 | -0/+57 |
| | | | | Signed-off-by: Steven Barth <steven@midlink.org> | ||||
* | fix removal of unknown device | Nathan Hintz | 2013-01-06 | 1 | -1/+1 |
| | | | | | | | | | 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> | ||||
* | fix error checking of asprintf | Frank Meerkötter | 2012-12-03 | 1 | -2/+1 |
| | | | | | | | | | | | 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> | ||||
* | use FD_CLOEXEC instead of tracking lists of fds | Felix Fietkau | 2012-10-29 | 1 | -4/+1 |
| | |||||
* | fix device_lock/device_unlock imbalances | Felix Fietkau | 2012-10-19 | 1 | -2/+5 |
| | |||||
* | ubus.c: now that disabled routes are in the inactive subtable it makes no ↵ | Jo-Philipp Wich | 2012-09-13 | 1 | -2/+0 |
| | | | | sense to expose the enabled attribute anymore | ||||
* | ubus.c: move disabled routes, ips, dns server into an "inactive" subtable | Jo-Philipp Wich | 2012-09-13 | 1 | -15/+53 |
| | |||||
* | apply basic device settings for hotplug devices, e.g. mtu and txqueuelen | Felix Fietkau | 2012-07-12 | 1 | -0/+4 |
| | |||||
* | ensure hotplug devices are marked as present in the add path - they are not ↵ | Felix Fietkau | 2012-07-12 | 1 | -2/+4 |
| | | | | cleaned up if they have config settings attached to them | ||||
* | fix device_lock/device_unlock imbalance in the hotplug device handling | Felix Fietkau | 2012-07-12 | 1 | -2/+2 |
| | |||||
* | fix ifname for alias+vlan chains | Felix Fietkau | 2012-07-05 | 1 | -1/+2 |
| | |||||
* | ubus.c: expose metric and mtu values if applicable | Jo-Philipp Wich | 2012-06-29 | 1 | -0/+7 |
| | |||||
* | ubus.c: expose route enabled state | Jo-Philipp Wich | 2012-06-29 | 1 | -0/+2 |
| | |||||
* | device: add support for deferring bringup of devices | Felix Fietkau | 2012-06-07 | 1 | -0/+38 |
| | |||||
* | add an ubus method for dumping available protocol handlers | Felix Fietkau | 2012-05-31 | 1 | -0/+13 |
| |