summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2013-12-08netifd: Link layer state support on interface levelHans Dedecker
Patch implements handling of link layer support on interface level. An interface will go into the setup state when it's enabled and the underlying link state is enabled. Vice versa an interface will go to the down state when it's either disabled or underlying link state is disabled. Testing has been done with PPP, IPoE, tunnel and static interfaces Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2013-12-08netifd: Link layer state support on device levelHans Dedecker
Patch implements link layer state awareness (aka carrier detection) in netifd on device level. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2013-12-08netifd: Code style line/clean upHans Dedecker
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2013-12-08Tunnel don't fragment bit configurableHans Dedecker
Make tunnel don't fragment bit configurable via UCI Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2013-12-08netifd: Apply tunnel MTUHans Dedecker
Tunnel MTU is applied according to the tunnel MTU UCI parameter Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2013-12-08netifd: Don't export default route via UBUS when disabledHans Dedecker
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2013-12-08netifd: Export ip4table/ip6table via UBUSHans Dedecker
Export ip4table/ip6table parameters via UBUS to facilitate route inspection and usage by other applications Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2013-12-08netifd: Routing table parameter needs to be checked in route updateHans Dedecker
Routing table parameter needs to be checked in interface_update_proto_route; a route which has an identical nexthop but a different routing table needs to be deleted and added in the correct routing table. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2013-12-03wireless: make interfaces in status an array instead of an objectFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-12-03wireless: prepare bridge interfaces before passing them to the setup scriptFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-12-03wireless: add an example driver cleanup implementationFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-12-02wireless: fix getting the network_bridge variableFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-12-02wireless: only process setup retries in setup/up stateFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-12-02wireless: fix htmode handlingFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-12-02wireless: call an initial cleanup functionFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-12-01wireless: fix reload of active interfacesFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-12-01wireless: fix issues with cancelling device setupFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-12-01wireless: add another debug messageFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-12-01wireless: fix process handling if the pid exe is a symlinkFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-12-01wireless: fix parsing of the immediate flag for kill-allFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-12-01wireless: add input validation for processesFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-12-01netifd: fix process stdin/stdout/stderr when the pipe fds overlap with ↵Felix Fietkau
standard fds Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-12-01wireless: fix config state handlingFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-12-01wireless: add debug messagesFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-11-30wireless: add some device/vif error debug messagesFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-11-30wireless: fix channel checkFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-11-30wireless: fix use-after-free bugFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-11-30wireless: show the virtual interface section name in wireless statusFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-11-30wireless: show the ifname in wireless statusFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-11-29wireless: add support for global up/down commandFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-11-29netifd: Fix possible segfault in bridge codeHelmut Schaa
Need to check calloc result. In case of failure the bridge member will be missing. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
2013-11-29add initial support for handling wireless devices via scriptsFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-11-29utils.sh: add N (newline)Felix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-11-27IPv6: add class support to regular IPv6 addressesSteven Barth
2013-10-31proto-shell: fix legacy proto_config_add_* functions, make them wrap around ↵Felix Fietkau
config_add_* Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-10-30IPv6: Export delegation setting via ubusSteven Barth
This allows foreign prefix delegators to quickly distinguish between managed and unmanaged prefixes. Signed-off-by: Steven Barth <steven@midlink.org>
2013-10-29proto-shell: replace variable length name char arrays with pointers, using ↵Felix Fietkau
calloc_a Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-10-29bridge: fix stray semicolon, fixes a bug in bridge primary port resetFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-10-29scripts/utils.sh: add a function for setting a variable defaultFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
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>