projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
proto-shell.c: mark device present after reclaiming it, fixes ubus network.device...
[project/netifd.git]
/
utils.h
diff --git
a/utils.h
b/utils.h
index
319e530
..
ec22313
100644
(file)
--- a/
utils.h
+++ b/
utils.h
@@
-110,4
+110,8
@@
static inline int fls(int x)
}
#endif
}
#endif
+unsigned int parse_netmask_string(const char *str, bool v6);
+bool split_netmask(char *str, unsigned int *netmask, bool v6);
+int parse_ip_and_netmask(int af, const char *str, void *addr, unsigned int *netmask);
+
#endif
#endif