Functionalities at ferroic domain walls