summaryrefslogtreecommitdiffhomepage
path: root/utils.h
AgeCommit message (Collapse)Author
2017-06-26netifd: Fix printf calls + function declarations.Rosen Penev
cppcheck found printf functions with signed instead of unsigned formats. Fix those as well as some non-matching function declarations. Signed-off by: Rosen Penev <rosenp@gmail.com>
2015-04-17utils.h: remove leftover commented out codeFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2015-04-14Cleanup issues reported by scan-buildSteven Barth
Signed-off-by: Steven Barth <steven@midlink.org>
2014-02-17add a helper to convert blobmsg types to luci validate rulesJohn Crispin
Signed-off-by: John Crispin <blogic@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-05-02utils: use list_add_tail() in vlist_simple_add() to preserve user-defined ↵Jo-Philipp Wich
order of entries
2013-02-19Only update resolv.conf if changed (avoid logspam)Steven Barth
2013-02-01Improved IPv6 featuresetSteven Barth
* Fix reloading of ula-prefixes * Added support for temporary addresses and routes * Added support for offlink addresses * Improved status-output for assigned prefixes
2013-01-15add mac os x compat #define for in6_addr s6_addr32Felix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-01-05utils.h: get rid of the duplicate BUILD_BUG_ON definition, use the one from ↵Felix Fietkau
libubox Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2012-09-28utils.c: add helper function to format mac addresses as stringsJo-Philipp Wich
2012-06-18Move IP address parsing functions to utils.Stéphan Kochen
This is a patch series against the netifd repository. This first patch moves some previously static functions to utils, so that the follow up patch may use them from system-linux.c. Signed-off-by: Stéphan Kochen <stephan@kochen.nl>
2012-05-26vlist is now part of libuboxFelix Fietkau
2012-05-26avl_strcmp is now part of libuboxFelix Fietkau
2012-05-19move dns server/search list parsing to interface core to support peerdns=0 + ↵Felix Fietkau
static entries
2012-05-04add copyright headersFelix Fietkau
2012-03-19fix vlist_simple_add version handlingFelix Fietkau
2012-03-04add BUILD_BUG_ON from the kernelFelix Fietkau
2012-03-04simplify vlist, move avl key handling to vlist_add()Felix Fietkau
2012-01-24add a generic option for disabling the automatic default route on interfacesFelix Fietkau
2012-01-15add a simplified vlist typeFelix 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-13proto-shell: fix updating settings, only issue ifup event after ↵Felix Fietkau
configuration has been applied
2011-10-04rework debugging code, add debugging levelsFelix Fietkau
2011-10-02add a new vlist flag for avoiding automatic delete of entriesFelix Fietkau
2011-10-02add vlist_for_each_element iteratorFelix Fietkau
2011-10-02vlist: store a pointer to the real key to make lookups easierFelix Fietkau
2011-10-02extend vlist code to allow keeping the old data structure instead of the new ↵Felix Fietkau
one on updates
2011-10-02make versioned lists more flexible by using an external comparatorFelix Fietkau
2011-09-07add code for versioned lists and use it to manage addresses and routesFelix Fietkau
2011-09-07move some code to utils.[ch]Felix Fietkau