projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
utils.c: add helper function to format mac addresses as strings
[project/netifd.git]
/
utils.h
diff --git
a/utils.h
b/utils.h
index
ec22313
..
048ad8f
100644
(file)
--- a/
utils.h
+++ b/
utils.h
@@
-114,4
+114,6
@@
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);
+char * format_macaddr(uint8_t *mac);
+
#endif