Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | proto-shell: Model config parameter "no-proto-task" as a proto flag | Hans Dedecker | 2016-08-11 | 1 | -0/+1 |
| | | | | | | | Export the config parameter "no-proto-task" as a proto flag so it's available for other other netifd modules Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> | ||||
* | proto-shell: Support teardown on layer 3 link loss | Hans Dedecker | 2016-08-11 | 1 | -0/+1 |
| | | | | | | | | | | | | | Commit c6858766 added interface teardown support on layer 3 device link loss mainly for shell protocols who have no proto task like xl2tp. However for shell protocols having a proto task it is not always the correct action to teardown the interface; as an example the PPP daemon can be put into persist state trying to re-establish the link via a hold-off mechanism if layer 3 link loss is detected. Therefore shell handlers can enable via TEARDOWN_ON_L3_LINK_DOWN a proto flag which will teardown the interface when layer 3 link loss is detected Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> | ||||
* | netifd: Interface last error support | Hans Dedecker | 2015-04-03 | 1 | -0/+1 |
| | | | | | | | | | | | | | | Adds interface last error support which preserves the last reported error reported by the protocol handler till the interface is up; e.g. survives network reload and interface restarts. This is mainly usefull for tracking down why an interface fails to establish; eg auth failure/traffic limit for PPP interfaces Protocol handlers register last error support by setting lasterror=1 in the proto_init function Signed-off-by: Johan Peeters <johan.peeters111@gmail.com> Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> | ||||
* | interface: enable force_link by default for proto=static | Felix Fietkau | 2014-07-27 | 1 | -0/+1 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | netifd: Reload proto on topology change | Helmut Schaa | 2014-03-21 | 1 | -0/+3 |
| | | | | | | | | | | Introduce a new device event "topology change" that gets signaled by bridges on adding/removing members. On "topology changes" the proto handlers are requested to "renew" which is most useful for DHCP. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> | ||||
* | proto-shell: defer init until after command line option processing | Felix Fietkau | 2014-03-07 | 1 | -0/+1 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | config: use the new uci_blob library code | Felix Fietkau | 2013-06-10 | 1 | -2/+2 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | add an ubus method for dumping available protocol handlers | Felix Fietkau | 2012-05-31 | 1 | -1/+1 |
| | |||||
* | split applying static proto setting from handler settings | Felix Fietkau | 2012-05-13 | 1 | -0/+1 |
| | |||||
* | add copyright headers | Felix Fietkau | 2012-05-04 | 1 | -0/+13 |
| | |||||
* | make proto_parse_ip_addr_string() static | Felix Fietkau | 2012-02-26 | 1 | -1/+0 |
| | |||||
* | proto: add an option for specifying external addresses using ↵ | Felix Fietkau | 2012-02-26 | 1 | -1/+1 |
| | | | | proto_apply_ip_settings() | ||||
* | move static address setup to proto.c in preparation for unifying it with the ↵ | Felix Fietkau | 2012-02-26 | 1 | -0/+5 |
| | | | | proto-shell code doing similar things | ||||
* | proto-shell: handle the "available" config flag | Felix Fietkau | 2011-10-27 | 1 | -0/+1 |
| | |||||
* | proto-shell: allow passing netmask in ip address format | Felix Fietkau | 2011-10-14 | 1 | -0/+1 |
| | |||||
* | move ip address parsing code to proto.c | Felix Fietkau | 2011-09-12 | 1 | -0/+1 |
| | |||||
* | make proto_apply_static_settings static, make helper functions take a struct ↵ | Felix Fietkau | 2011-09-12 | 1 | -2/+0 |
| | | | | interface instead of the proto state | ||||
* | add a protocol event for link loss | Felix Fietkau | 2011-09-11 | 1 | -0/+1 |
| | |||||
* | add an interface for notifying protocol handlers of state changes via ubus | Felix Fietkau | 2011-09-11 | 1 | -0/+1 |
| | |||||
* | move protocol flags to the handler, add a pointer to the handler in the ↵ | Felix Fietkau | 2011-09-11 | 1 | -2/+5 |
| | | | | proto state, add PROTO_FLAG_NODEV | ||||
* | make functionality for applying static settings available | Felix Fietkau | 2011-09-07 | 1 | -0/+2 |
| | |||||
* | remove the uci dependency from protocol handlers | Felix Fietkau | 2011-09-04 | 1 | -2/+3 |
| | |||||
* | remove an unnecessary typedef | Felix Fietkau | 2011-09-04 | 1 | -4/+3 |
| | |||||
* | trigger proto attach from config.c | Felix Fietkau | 2011-09-04 | 1 | -3/+3 |
| | |||||
* | export a function to look up a protocol handler | Felix Fietkau | 2011-04-13 | 1 | -0/+1 |
| | |||||
* | add a section pointer to the proto attach callback | Felix Fietkau | 2011-04-13 | 1 | -1/+7 |
| | |||||
* | add some infrastructure code for proto handlers | Felix Fietkau | 2011-04-13 | 1 | -1/+9 |
| | |||||
* | move immediate protocol state transitions to a wrapper function | Felix Fietkau | 2011-04-03 | 1 | -0/+7 |
| | |||||
* | add rudimentary protocol handling | Felix Fietkau | 2011-03-29 | 1 | -0/+29 |