Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | netifd: Link layer state support on interface level | Hans Dedecker | 2013-12-08 | 3 | -30/+103 |
| | | | | | | | | | | | 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> | ||||
* | netifd: Link layer state support on device level | Hans Dedecker | 2013-12-08 | 6 | -30/+155 |
| | | | | | | | Patch implements link layer state awareness (aka carrier detection) in netifd on device level. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> | ||||
* | netifd: Code style line/clean up | Hans Dedecker | 2013-12-08 | 3 | -8/+8 |
| | | | | Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> | ||||
* | Tunnel don't fragment bit configurable | Hans Dedecker | 2013-12-08 | 3 | -4/+8 |
| | | | | | | Make tunnel don't fragment bit configurable via UCI Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> | ||||
* | netifd: Apply tunnel MTU | Hans Dedecker | 2013-12-08 | 4 | -10/+37 |
| | | | | | | Tunnel MTU is applied according to the tunnel MTU UCI parameter Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> | ||||
* | 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> | ||||
* | netifd: Routing table parameter needs to be checked in route update | Hans Dedecker | 2013-12-08 | 1 | -1/+2 |
| | | | | | | | | 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> | ||||
* | wireless: make interfaces in status an array instead of an object | Felix Fietkau | 2013-12-03 | 1 | -3/+3 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | wireless: prepare bridge interfaces before passing them to the setup script | Felix Fietkau | 2013-12-03 | 1 | -0/+3 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | wireless: add an example driver cleanup implementation | Felix Fietkau | 2013-12-03 | 1 | -0/+3 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | wireless: fix getting the network_bridge variable | Felix Fietkau | 2013-12-02 | 1 | -9/+2 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | wireless: only process setup retries in setup/up state | Felix Fietkau | 2013-12-02 | 1 | -0/+3 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | wireless: fix htmode handling | Felix Fietkau | 2013-12-02 | 1 | -2/+2 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | wireless: call an initial cleanup function | Felix Fietkau | 2013-12-02 | 1 | -0/+2 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | wireless: fix reload of active interfaces | Felix Fietkau | 2013-12-01 | 1 | -30/+27 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | wireless: fix issues with cancelling device setup | Felix Fietkau | 2013-12-01 | 1 | -0/+2 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | wireless: add another debug message | Felix Fietkau | 2013-12-01 | 1 | -0/+1 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | wireless: fix process handling if the pid exe is a symlink | Felix Fietkau | 2013-12-01 | 1 | -1/+5 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | wireless: fix parsing of the immediate flag for kill-all | Felix Fietkau | 2013-12-01 | 1 | -1/+1 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | wireless: add input validation for processes | Felix Fietkau | 2013-12-01 | 1 | -1/+6 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | netifd: fix process stdin/stdout/stderr when the pipe fds overlap with ↵ | Felix Fietkau | 2013-12-01 | 1 | -5/+12 |
| | | | | | | standard fds Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | wireless: fix config state handling | Felix Fietkau | 2013-12-01 | 1 | -1/+4 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | wireless: add debug messages | Felix Fietkau | 2013-12-01 | 1 | -1/+10 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | wireless: add some device/vif error debug messages | Felix Fietkau | 2013-11-30 | 1 | -0/+2 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | wireless: fix channel check | Felix Fietkau | 2013-11-30 | 1 | -2/+2 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | wireless: fix use-after-free bug | Felix Fietkau | 2013-11-30 | 1 | -1/+1 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | wireless: show the virtual interface section name in wireless status | Felix Fietkau | 2013-11-30 | 3 | -3/+8 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | wireless: show the ifname in wireless status | Felix Fietkau | 2013-11-30 | 1 | -0/+2 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | wireless: add support for global up/down command | Felix Fietkau | 2013-11-29 | 1 | -4/+16 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | netifd: Fix possible segfault in bridge code | Helmut Schaa | 2013-11-29 | 1 | -0/+3 |
| | | | | | | Need to check calloc result. In case of failure the bridge member will be missing. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> | ||||
* | add initial support for handling wireless devices via scripts | Felix Fietkau | 2013-11-29 | 10 | -17/+1587 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | utils.sh: add N (newline) | Felix Fietkau | 2013-11-29 | 1 | -0/+3 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | IPv6: add class support to regular IPv6 addresses | Steven Barth | 2013-11-27 | 5 | -1/+15 |
| | |||||
* | proto-shell: fix legacy proto_config_add_* functions, make them wrap around ↵ | Felix Fietkau | 2013-10-31 | 1 | -3/+3 |
| | | | | | | config_add_* Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | 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> | ||||
* | proto-shell: replace variable length name char arrays with pointers, using ↵ | Felix Fietkau | 2013-10-29 | 1 | -17/+15 |
| | | | | | | calloc_a Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | bridge: fix stray semicolon, fixes a bug in bridge primary port reset | Felix Fietkau | 2013-10-29 | 1 | -1/+1 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | scripts/utils.sh: add a function for setting a variable default | Felix Fietkau | 2013-10-29 | 1 | -0/+6 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | utils: add a function for checking if a process given by pid is still alive | Felix Fietkau | 2013-10-22 | 9 | -7/+29 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | add helper function for adding/removing devices to interfaces | Felix Fietkau | 2013-10-22 | 3 | -25/+33 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | handler: include config.h | Felix Fietkau | 2013-10-22 | 1 | -0/+1 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | proto-shell: move more core to handler.c | Felix Fietkau | 2013-10-22 | 3 | -24/+31 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | proto-shell: move script handler config parse code to handler.c | Felix Fietkau | 2013-10-22 | 3 | -72/+73 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | proto-shell: move script handler dump code to handler.c | Felix Fietkau | 2013-10-22 | 4 | -104/+145 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | proto-shell: make handler dump code more generic | Felix Fietkau | 2013-10-22 | 1 | -26/+57 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | scripts: make config_add_* parameters take multiple arguments | Felix Fietkau | 2013-10-22 | 1 | -8/+12 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | scripts: add config_add_array() to utils | Felix Fietkau | 2013-10-19 | 1 | -0/+4 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | scripts: remove the executable flag from netifd-proto.sh | Felix Fietkau | 2013-10-19 | 1 | -0/+0 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | scripts: move some utility functions out of netifd-proto.sh into utils.sh | Felix Fietkau | 2013-10-19 | 4 | -28/+44 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> |