int (*ndo_set_mac_address)(struct net_device *dev, void *addr);

This function is called when the Media Access Control address needs to be changed.
If this interface is not defined, the mac address can not be changed.

Header:

include/linux/netdevice.h
Comments
Write a Comment