summaryrefslogtreecommitdiffhomepage
path: root/netifd.h
AgeCommit message (Collapse)Author
2017-04-05netifd: propagate error code on netifd_reload()Alexandru Ardelean
The context is that we generate some of the UCI config for netifd via scripts/programs. Every once in a while, there's a goof when doing that UCI generation, and netifd prints out the error at stderr, but returns 0 (success) err-code. This change will fail the ubus call if UCI config is invalid or missing for /etc/config/network. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> Acked-by: Hans Dedecker <dedeckeh@gmail.com>
2014-03-19uci: Allow setting the UCI config path on the command lineMatthias Schiffer
Add a -c switch which allows setting an alternative UCI path instead of using the libuci default. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2013-11-29add initial support for handling wireless devices via scriptsFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-10-19scripts: reorganize directory layoutFelix Fietkau
move example scripts from dummy/ to examples/ keep scripts that can be used as-is in scripts/ Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2012-12-31use calloc_a for interface error allocationsFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2012-10-29use ustream for process message loggingFelix Fietkau
2012-10-29use FD_CLOEXEC instead of tracking lists of fdsFelix Fietkau
2012-05-04add copyright headersFelix Fietkau
2011-10-20fix path and invocation for hotplug callsFelix Fietkau
2011-10-19move log levels to netifd.hFelix Fietkau
2011-10-16add support for logging messages via syslog (or optionally stdout)Felix Fietkau
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-11add some code for keeping track of dns servers and search domains and for ↵Felix Fietkau
writing resolv.conf
2011-10-09move the main path to ./dummy to maintain the proper proto script ↵Felix Fietkau
implementations in ./proto
2011-10-09use /lib/netifd as main path when dummy mode is disabledFelix Fietkau
2011-10-07add support for calls to a hotplug script on interface state changesFelix Fietkau
2011-10-06improve debugging macroFelix Fietkau
2011-10-04rework debugging code, add debugging levelsFelix Fietkau
2011-10-03add a ubus call for triggering config reloadsFelix Fietkau
2011-09-09add an option for selecting the main path for netifd addonsFelix Fietkau
2011-09-09add an ubus call for restarting netifdFelix Fietkau
2011-09-07move more stuff out of netifd.hFelix Fietkau
2011-09-07move some code to utils.[ch]Felix Fietkau
2011-09-07add DPRINTF type checking for no-debug buildsFelix Fietkau
2011-09-05Add inline fls() function for linuxJo-Philipp Wich
2011-04-13add a __init define for constructorsFelix Fietkau
2011-04-13make avl_strcmp globally visibleFelix Fietkau
2011-04-05prevent autostart of interfaces during config initFelix Fietkau
2011-03-29rework includesFelix Fietkau
2011-03-27Initial importFelix Fietkau