Add support for easily formatting IPv6 addresses
This commit is contained in:
parent
01f0062d2d
commit
3186e8aa99
2 changed files with 14 additions and 1 deletions
1
util.h
1
util.h
|
|
@ -2,6 +2,7 @@
|
|||
#define __UTIL_H__
|
||||
|
||||
char *fmtaddr(in_addr_t addr, int n);
|
||||
char *fmtaddr6(struct in6_addr *addr, int n);
|
||||
char *fmtMacAddr(uint8_t *pMacAddr);
|
||||
void *shared_malloc(unsigned int size);
|
||||
pid_t fork_and_close(void);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue