Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-08-11 | proto-shell: Model config parameter "no-proto-task" as a proto flag | Hans Dedecker | |
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> | |||
2016-08-11 | proto-shell: Support teardown on layer 3 link loss | Hans Dedecker | |
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> | |||
2015-04-03 | netifd: Interface last error support | Hans Dedecker | |
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> | |||
2014-07-27 | interface: enable force_link by default for proto=static | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-03-21 | netifd: Reload proto on topology change | Helmut Schaa | |
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> | |||
2014-03-07 | proto-shell: defer init until after command line option processing | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2013-06-10 | config: use the new uci_blob library code | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2012-05-31 | add an ubus method for dumping available protocol handlers | Felix Fietkau | |
2012-05-13 | split applying static proto setting from handler settings | Felix Fietkau | |
2012-05-04 | add copyright headers | Felix Fietkau | |
2012-02-26 | make proto_parse_ip_addr_string() static | Felix Fietkau | |
2012-02-26 | proto: add an option for specifying external addresses using ↵ | Felix Fietkau | |
proto_apply_ip_settings() | |||
2012-02-26 | move static address setup to proto.c in preparation for unifying it with the ↵ | Felix Fietkau | |
proto-shell code doing similar things | |||
2011-10-27 | proto-shell: handle the "available" config flag | Felix Fietkau | |
2011-10-14 | proto-shell: allow passing netmask in ip address format | Felix Fietkau | |
2011-09-12 | move ip address parsing code to proto.c | Felix Fietkau | |
2011-09-12 | make proto_apply_static_settings static, make helper functions take a struct ↵ | Felix Fietkau | |
interface instead of the proto state | |||
2011-09-11 | add a protocol event for link loss | Felix Fietkau | |
2011-09-11 | add an interface for notifying protocol handlers of state changes via ubus | Felix Fietkau | |
2011-09-11 | move protocol flags to the handler, add a pointer to the handler in the ↵ | Felix Fietkau | |
proto state, add PROTO_FLAG_NODEV | |||
2011-09-07 | make functionality for applying static settings available | Felix Fietkau | |
2011-09-04 | remove the uci dependency from protocol handlers | Felix Fietkau | |
2011-09-04 | remove an unnecessary typedef | Felix Fietkau | |
2011-09-04 | trigger proto attach from config.c | Felix Fietkau | |
2011-04-13 | export a function to look up a protocol handler | Felix Fietkau | |
2011-04-13 | add a section pointer to the proto attach callback | Felix Fietkau | |
2011-04-13 | add some infrastructure code for proto handlers | Felix Fietkau | |
2011-04-03 | move immediate protocol state transitions to a wrapper function | Felix Fietkau | |
2011-03-29 | add rudimentary protocol handling | Felix Fietkau | |