summaryrefslogtreecommitdiffhomepage
path: root/proto-shell.c
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-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-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-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-18Reevaluate target routes also on interface updateSteven Barth
2013-10-17Add protocol update notifications and hotplug legacy callsSteven Barth
2013-06-10config: use the new uci_blob library codeFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-05-13Add support for IPv6 and interface target-routes & dependenciesSteven Barth
Signed-off-by: Steven Barth <steven@midlink.org>
2013-01-05proto-shell: use calloc_aFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2012-10-30proto-shell: ensure that the teardown timeout gets killedFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2012-10-29use FD_CLOEXEC instead of tracking lists of fdsFelix Fietkau
2012-06-19proto-shell.c: mark device present after reclaiming it, fixes ubus ↵Jo-Philipp Wich
network.device status call after the protocol has been reconnected
2012-05-19move dns server/search list parsing to interface core to support peerdns=0 + ↵Felix Fietkau
static entries
2012-05-14add a command for allowing the setup task to schedule a restartFelix Fietkau
2012-05-14proto-shell: clear dependencies on freeFelix Fietkau
2012-05-05proto-shell: implement host route dependenciesFelix Fietkau
2012-05-04add copyright headersFelix Fietkau
2012-04-29proto-shell: add support for appending configuration data over multiple ↵Felix Fietkau
update_link notifications
2012-04-12proto-shell: set sm to S_IDLE once the interface is upFelix Fietkau
2012-03-23allow proto handlers to attach data items in notifyFelix Fietkau
2012-03-23move l3 device tracking to interface core to enforce proper order of ↵Felix Fietkau
address/route removal on device or interface state changes
2012-03-19properly flush routes and l3 devices when tearing down interfacesFelix Fietkau
2012-03-19proto-shell: fix potential use-after-freeFelix Fietkau
2012-03-15shell: add tunnel supportFelix Fietkau
2012-02-26proto: move the dns search option handling to the coreFelix Fietkau
2012-02-26proto-shell: process some common notify options using proto_apply_ip_settings()Felix Fietkau
2012-01-22proto-shell: merge setup/teardown task into oneFelix Fietkau
2012-01-21proto-shell: rework task statemachineFelix Fietkau
Make handling setup/proto/teardown tasks more explicit and easier to read. Should hopefully prevent some forms of deadlocks.
2011-10-27proto-shell: handle the "available" config flagFelix Fietkau
2011-10-27proto-shell: add a notify command for setting interface availabilityFelix Fietkau
2011-10-21fix the exit status for the proto-shell task, use WEXITSTATUSFelix Fietkau
2011-10-21proto-shell: allow protocol handlers to add interface error messages and ↵Felix Fietkau
block interface restart
2011-10-21proto-shell: pass the return code of the proto task to the teardown handlerFelix Fietkau
2011-10-20reduce stack usageFelix Fietkau
2011-10-20proto-shell: fix parsing of long proto handler descriptions, simplify codeFelix Fietkau
2011-10-20do not clear device state for devices created by proto-up with ↵Felix Fietkau
address-external set
2011-10-19make a few more functions staticFelix Fietkau
2011-10-19rework route handling, move parser code to interface-ip.c, add extra options ↵Felix Fietkau
and add further support for pulling routes from config
2011-10-19add support for keeping multiple ip addr/route/dns listsFelix Fietkau
2011-10-18proto-shell: reset l3 device if it was set beforeFelix Fietkau
2011-10-18defer releasing the l3 dev so that the generic code can take care of ↵Felix Fietkau
cleaning system settings
2011-10-16detach stdin/stdout/stderr from child processes, implement a separate ↵Felix Fietkau
logging pipe and relay log messages with prefix
2011-10-15add support for tracking open file descriptors of modules and closing them ↵Felix Fietkau
for created child processes
2011-10-15move netifd_start_process dir_fd to the data structureFelix Fietkau
2011-10-15keep track of all running child processes in one placeFelix Fietkau
2011-10-14proto-shell: fix parsing route netmaskFelix Fietkau
2011-10-14proto-shell: allow proto handlers to export variables to child processesFelix Fietkau