summaryrefslogtreecommitdiff
path: root/proto-shell.c
Commit message (Collapse)AuthorAgeFilesLines
...
* proto-shell.c: mark device present after reclaiming it, fixes ubus ↵Jo-Philipp Wich2012-06-191-0/+1
| | | | network.device status call after the protocol has been reconnected
* move dns server/search list parsing to interface core to support peerdns=0 + ↵Felix Fietkau2012-05-191-0/+10
| | | | static entries
* add a command for allowing the setup task to schedule a restartFelix Fietkau2012-05-141-0/+18
|
* proto-shell: clear dependencies on freeFelix Fietkau2012-05-141-0/+1
|
* proto-shell: implement host route dependenciesFelix Fietkau2012-05-051-0/+136
|
* add copyright headersFelix Fietkau2012-05-041-0/+13
|
* proto-shell: add support for appending configuration data over multiple ↵Felix Fietkau2012-04-291-3/+13
| | | | update_link notifications
* proto-shell: set sm to S_IDLE once the interface is upFelix Fietkau2012-04-121-0/+1
|
* allow proto handlers to attach data items in notifyFelix Fietkau2012-03-231-0/+15
|
* move l3 device tracking to interface core to enforce proper order of ↵Felix Fietkau2012-03-231-13/+2
| | | | address/route removal on device or interface state changes
* properly flush routes and l3 devices when tearing down interfacesFelix Fietkau2012-03-191-0/+5
|
* proto-shell: fix potential use-after-freeFelix Fietkau2012-03-191-0/+2
|
* shell: add tunnel supportFelix Fietkau2012-03-151-2/+32
|
* proto: move the dns search option handling to the coreFelix Fietkau2012-02-261-7/+0
|
* proto-shell: process some common notify options using proto_apply_ip_settings()Felix Fietkau2012-02-261-48/+8
|
* proto-shell: merge setup/teardown task into oneFelix Fietkau2012-01-221-27/+12
|
* proto-shell: rework task statemachineFelix Fietkau2012-01-211-39/+85
| | | | | Make handling setup/proto/teardown tasks more explicit and easier to read. Should hopefully prevent some forms of deadlocks.
* proto-shell: handle the "available" config flagFelix Fietkau2011-10-271-0/+5
|
* proto-shell: add a notify command for setting interface availabilityFelix Fietkau2011-10-271-0/+14
|
* fix the exit status for the proto-shell task, use WEXITSTATUSFelix Fietkau2011-10-211-1/+1
|
* proto-shell: allow protocol handlers to add interface error messages and ↵Felix Fietkau2011-10-211-0/+49
| | | | block interface restart
* proto-shell: pass the return code of the proto task to the teardown handlerFelix Fietkau2011-10-211-3/+13
|
* reduce stack usageFelix Fietkau2011-10-201-2/+2
|
* proto-shell: fix parsing of long proto handler descriptions, simplify codeFelix Fietkau2011-10-201-27/+19
|
* do not clear device state for devices created by proto-up with ↵Felix Fietkau2011-10-201-4/+8
| | | | address-external set
* make a few more functions staticFelix Fietkau2011-10-191-2/+2
|
* rework route handling, move parser code to interface-ip.c, add extra options ↵Felix Fietkau2011-10-191-68/+6
| | | | and add further support for pulling routes from config
* add support for keeping multiple ip addr/route/dns listsFelix Fietkau2011-10-191-14/+16
|
* proto-shell: reset l3 device if it was set beforeFelix Fietkau2011-10-181-2/+5
|
* defer releasing the l3 dev so that the generic code can take care of ↵Felix Fietkau2011-10-181-4/+0
| | | | cleaning system settings
* detach stdin/stdout/stderr from child processes, implement a separate ↵Felix Fietkau2011-10-161-0/+3
| | | | logging pipe and relay log messages with prefix
* add support for tracking open file descriptors of modules and closing them ↵Felix Fietkau2011-10-151-6/+7
| | | | for created child processes
* move netifd_start_process dir_fd to the data structureFelix Fietkau2011-10-151-2/+5
|
* keep track of all running child processes in one placeFelix Fietkau2011-10-151-57/+16
|
* proto-shell: fix parsing route netmaskFelix Fietkau2011-10-141-2/+2
|
* proto-shell: allow proto handlers to export variables to child processesFelix Fietkau2011-10-141-14/+40
|
* proto-shell: add dns search domainsFelix Fietkau2011-10-141-0/+5
|
* proto-shell: allow passing netmask in ip address formatFelix Fietkau2011-10-141-2/+2
|
* proto-shell: allow proto setups without ifname (if interface main dev is ↵Felix Fietkau2011-10-141-4/+4
| | | | present)
* add support for killing running proto-shell tasks with an arbitrary signal ↵Felix Fietkau2011-10-141-2/+38
| | | | and waiting for their completion
* proto-shell: fix updating settings, only issue ifup event after ↵Felix Fietkau2011-10-131-12/+18
| | | | configuration has been applied
* proto-shell: add dns server supportFelix Fietkau2011-10-131-0/+5
|
* kill the proto task after teardown is complete, ignore proto task completion ↵Felix Fietkau2011-10-121-4/+15
| | | | event while teardown is pending or active
* add support for launching a long running command from a proto-shell handler ↵Felix Fietkau2011-10-121-8/+80
| | | | that keeps the connection running. bring down the interface if that command dies
* proto-shell: add _GNU_SOURCE define to get O_DIRECTORYFelix Fietkau2011-10-091-0/+2
|
* proto-shell: remove the device user before issuing the protocol down eventFelix Fietkau2011-10-031-1/+3
|
* proto-shell: fix a typo in string length calculationFelix Fietkau2011-10-031-1/+1
|
* fix a heap overrunFelix Fietkau2011-10-031-2/+2
|
* proto-shell: parse routesFelix Fietkau2011-09-141-0/+92
|
* remove proto-shell handlers listFelix Fietkau2011-09-121-1/+0
|