mac_update_macaddr
err = mac_update_macaddr(map, (uint8_t *)addr);
extern int mac_update_macaddr(mac_address_t *, uint8_t *);