aboutsummaryrefslogtreecommitdiffstats
path: root/nldev-handler.c
Commit message (Collapse)AuthorAgeFilesLines
* pass over the netlink socket to handler instead of using a pipeNatanael Copa2015-03-151-6/+74
| | | | | | | | | hand over the netlink socket directly to the handler and let handler read from netlink instead of forwarding the message via pipe. This simplifies the logic of the longtime running netlink daemon and it simplifies the handling of partially read messages since all reading happens is done by the handler.
* forward the events to a helper process via pipeNatanael Copa2015-03-121-0/+128
To reduce number of forks we pass over the events to a helper program via a pipe. when there are no events for a certain time the helper program can exit to save memory. Once new events arrives the nldev application will respawn the helper.