summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2013-10-22utils: add a function for checking if a process given by pid is still aliveFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-10-22add helper function for adding/removing devices to interfacesFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-10-22handler: include config.hFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-10-22proto-shell: move more core to handler.cFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-10-22proto-shell: move script handler config parse code to handler.cFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-10-22proto-shell: move script handler dump code to handler.cFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-10-22proto-shell: make handler dump code more genericFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-10-22scripts: make config_add_* parameters take multiple argumentsFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-10-19scripts: add config_add_array() to utilsFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-10-19scripts: remove the executable flag from netifd-proto.shFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-10-19scripts: move some utility functions out of netifd-proto.sh into utils.shFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-10-19scripts: reorganize directory layoutFelix Fietkau
move example scripts from dummy/ to examples/ keep scripts that can be used as-is in scripts/ Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-10-19scripts: delete ifup/ifdown, they are unusedFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-10-19interface: rework code to get rid of arbitrary IFNAMSIZ limitation for ↵Felix Fietkau
interface names Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-10-19interface: remove "dynamic" argument for interface_init, add the ↵Felix Fietkau
interface_set_dynamic function instead Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-10-19Fix ifupdate eventsSteven Barth
2013-10-18Reevaluate target routes also on interface updateSteven Barth
2013-10-18Add option "delegate" to toggle prefix delegationSteven Barth
2013-10-18Add source-restricted routesSteven Barth
2013-10-17key to data elements point at wrong memory areaSteven Barth
2013-10-17Add protocol update notifications and hotplug legacy callsSteven Barth
2013-10-17Add ubus function to create nested interfacesSteven Barth
2013-10-17Add ubus methods for global interface statusSteven Barth
2013-10-07macvlan: turns out netinet/ether.h is needed on some linux systemsFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-10-04macvlan: include net/ethernet.h instead of netinet/ether.h (more portable)Felix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-10-03device: add macvlan supportFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2013-10-03device.c: report device type when claim failsFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-10-03device_add_user: return immediately if the new device is the same as the old ↵Felix Fietkau
device Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-10-01Don't delete / readd IP addresses when only their lifetime has changedSteven Barth
2013-09-25vlan: set the name of vlan devices earlierNathan Hintz
Set the device name earlier so that the logging done inside of 'device_init_virtual' can print the name of the device being initialized (instead of an empty string). Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
2013-08-29bridge: fix corner case with network reloadLuka Perkov
After removing all ifname options from bridge interface and executing network reload the configuration was not applied properly on the system. With this change that is no longer a issue. Signed-off-by: Luka Perkov <luka@openwrt.org>
2013-07-16IPv6: fix prefix assignment with continuous hintsSteven Barth
2013-07-13bridge: add bridge_empty option which allows creation of empty bridgesLuka Perkov
Signed-off-by: Luka Perkov <luka@openwrt.org>
2013-06-18interface: fix NULL pointer defref in interface_set_main_devFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-06-17IPv6: Reverse assignment sorting orderSteven Barth
2013-06-17IPv6: Satisfy unhinted assignments ordered by prefix lengthSteven Barth
2013-06-10config: use the new uci_blob library codeFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-06-10config: replace config_memdup with blob_memdup from libuboxFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-06-10Change IP reloading orderSteven Barth
2013-06-10Reuse automatic ip6table valueSteven Barth
2013-06-03IPv6: Improve source-routing policiesSteven Barth
* Set a default policy-failed rule per prefix (based on a patch by Jonas Gorski) * Use input interface in addition to source for filtering * Avoid duplicate routing policies
2013-05-31IPv6: fix device_prefix vlist_key to not include prefix classSteven Barth
2013-05-31move excluded prefix and length out of key for device_prefixSteven Barth
2013-05-30Add missing update-triggers for source-based routingSteven Barth
2013-05-30IPv6: reorganize prefix assignmentSteven Barth
* put parameters in a more suitable place * add support for prefix classes
2013-05-30IPv6: Log a warning if users have prefixes but haven't assigned themSteven Barth
2013-05-29IPv6: remove ULA prefix-trigger (unused)Steven Barth
2013-05-28IPv6: fix address-lifetime overflows on 64-bit architecturesSteven Barth
2013-05-28IPv6: fix wrap-arounds in address lifetimesSteven Barth
2013-05-28Make sure that iprule flushing happens after system_init(), otherwise the ↵Jo-Philipp Wich
rtnl_socket is not available