table of contents
other versions
DEV_SET_MAC_ADDRESS(9) | Network device support | DEV_SET_MAC_ADDRESS(9) |
NAME¶
dev_set_mac_address - Change Media Access Control Address
SYNOPSIS¶
int dev_set_mac_address(struct net_device * dev, struct sockaddr * sa);
ARGUMENTS¶
struct net_device * dev
device
struct sockaddr * sa
new address
DESCRIPTION¶
Change the hardware (MAC) address of the device
COPYRIGHT¶
July 2017 | Kernel Hackers Manual 4.12 |