summaryrefslogtreecommitdiff
path: root/proto-shell.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* proto-shell: parse ipv4/ipv6 address listsFelix Fietkau2011-09-121-1/+45
|
* proto-shell: only set the l3 dev if it is not already setFelix Fietkau2011-09-111-4/+6
|
* use false instead of 0 for a bool variableFelix Fietkau2011-09-111-1/+1
|
* fix a null pointer deref bugFelix Fietkau2011-09-111-1/+2
|
* add a protocol event for link lossFelix Fietkau2011-09-111-11/+2
|
* proto-shell: add l3 interface claim/releaseFelix Fietkau2011-09-111-0/+54
|
* add forced shell proto setup kill (timeout: 1 second)Felix Fietkau2011-09-111-0/+13
|
* add support for interrupting shell protocol setupFelix Fietkau2011-09-111-8/+52
|
* proto-shell: pass the interface name to pluginsFelix Fietkau2011-09-111-19/+10
|
* reorder codeFelix Fietkau2011-09-111-4/+4
|
* pass ifname to the shell proto handlerFelix Fietkau2011-09-111-1/+5
|
* proto-shell: add a config option for setting PROTO_FLAG_NODEVFelix Fietkau2011-09-111-0/+4
|
* move protocol flags to the handler, add a pointer to the handler in the ↵Felix Fietkau2011-09-111-1/+1
| | | | proto state, add PROTO_FLAG_NODEV
* code cleanupFelix Fietkau2011-09-111-15/+33
|
* move the DUMP_SUFFIX define to the right placeFelix Fietkau2011-09-101-2/+2
|