mirror of
https://github.com/apache/nuttx.git
synced 2026-05-24 16:11:56 +08:00
libs/libc/net: implement ether_aton/ether_aton_r
Reference here: https://www.unix.com/man-page/linux/3/ether_aton Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
@@ -70,6 +70,8 @@ int ether_ntohost(FAR char *hostname, FAR const struct ether_addr *addr);
|
||||
int ether_hostton(FAR const char *hostname, FAR struct ether_addr *addr);
|
||||
int ether_line(FAR const char *line, FAR struct ether_addr *addr,
|
||||
FAR char *hostname);
|
||||
FAR struct ether_addr *ether_aton_r(FAR const char *asc,
|
||||
FAR struct ether_addr *addr);
|
||||
|
||||
#undef EXTERN
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user