6loWPAN: Add network IOCTL support to set the node address

This commit is contained in:
Gregory Nutt
2017-04-06 16:00:41 -06:00
parent 07338ff2a9
commit 194c2d86a8
5 changed files with 165 additions and 9 deletions

View File

@@ -114,6 +114,12 @@ int netlib_setmacaddr(FAR const char *ifname, FAR const uint8_t *macaddr);
int netlib_getmacaddr(FAR const char *ifname, FAR uint8_t *macaddr);
#endif
#ifdef CONFIG_NET_ETHERNET
/* Get IEEE802.15.4 MAC driver node address */
int netlib_setnodeaddr(FAR const char *ifname, FAR const uint8_t *nodeaddr);
#endif
/* IP address support */
#ifdef CONFIG_NET_IPv4