summaryrefslogtreecommitdiff
path: root/utils.h
Commit message (Collapse)AuthorAgeFilesLines
* netifd: Fix printf calls + function declarations.Rosen Penev2017-06-261-1/+1
| | | | | | | | 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>
* utils.h: remove leftover commented out codeFelix Fietkau2015-04-171-3/+1
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* Cleanup issues reported by scan-buildSteven Barth2015-04-141-1/+1
| | | | Signed-off-by: Steven Barth <steven@midlink.org>
* add a helper to convert blobmsg types to luci validate rulesJohn Crispin2014-02-171-0/+3
| | | | Signed-off-by: John Crispin <blogic@openwrt.org>
* utils: add a function for checking if a process given by pid is still aliveFelix Fietkau2013-10-221-0/+2
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* utils: use list_add_tail() in vlist_simple_add() to preserve user-defined ↵Jo-Philipp Wich2013-05-021-1/+1
| | | | order of entries
* Only update resolv.conf if changed (avoid logspam)Steven Barth2013-02-191-0/+3
|
* Improved IPv6 featuresetSteven Barth2013-02-011-0/+3
| | | | | | | * Fix reloading of ula-prefixes * Added support for temporary addresses and routes * Added support for offlink addresses * Improved status-output for assigned prefixes
* add mac os x compat #define for in6_addr s6_addr32Felix Fietkau2013-01-151-0/+4
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* utils.h: get rid of the duplicate BUILD_BUG_ON definition, use the one from ↵Felix Fietkau2013-01-051-11/+1
| | | | | | libubox Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* utils.c: add helper function to format mac addresses as stringsJo-Philipp Wich2012-09-281-0/+2
|
* Move IP address parsing functions to utils.Stéphan Kochen2012-06-181-0/+4
| | | | | | | | | 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>
* vlist is now part of libuboxFelix Fietkau2012-05-261-41/+1
|
* avl_strcmp is now part of libuboxFelix Fietkau2012-05-261-2/+1
|
* move dns server/search list parsing to interface core to support peerdns=0 + ↵Felix Fietkau2012-05-191-0/+1
| | | | static entries
* add copyright headersFelix Fietkau2012-05-041-0/+13
|
* fix vlist_simple_add version handlingFelix Fietkau2012-03-191-0/+1
|
* add BUILD_BUG_ON from the kernelFelix Fietkau2012-03-041-0/+11
|
* simplify vlist, move avl key handling to vlist_add()Felix Fietkau2012-03-041-6/+2
|
* add a generic option for disabling the automatic default route on interfacesFelix Fietkau2012-01-241-0/+9
|
* add a simplified vlist typeFelix Fietkau2012-01-151-0/+37
|
* rework route handling, move parser code to interface-ip.c, add extra options ↵Felix Fietkau2011-10-191-0/+3
| | | | and add further support for pulling routes from config
* proto-shell: fix updating settings, only issue ifup event after ↵Felix Fietkau2011-10-131-0/+5
| | | | configuration has been applied
* rework debugging code, add debugging levelsFelix Fietkau2011-10-041-10/+0
|
* add a new vlist flag for avoiding automatic delete of entriesFelix Fietkau2011-10-021-0/+1
|
* add vlist_for_each_element iteratorFelix Fietkau2011-10-021-0/+3
|
* vlist: store a pointer to the real key to make lookups easierFelix Fietkau2011-10-021-3/+3
|
* extend vlist code to allow keeping the old data structure instead of the new ↵Felix Fietkau2011-10-021-0/+1
| | | | one on updates
* make versioned lists more flexible by using an external comparatorFelix Fietkau2011-10-021-7/+4
|
* add code for versioned lists and use it to manage addresses and routesFelix Fietkau2011-09-071-0/+35
|
* move some code to utils.[ch]Felix Fietkau2011-09-071-0/+51