mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-24 03:03:57 +08:00
6loWPAN: Add network IOCTL support to set the node address
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user