dev_set_mac_address(9)

dev_set_mac_address9

Change media access control address

Usage

int dev_set_mac_address(struct net_device * dev, struct sockaddr * sa);

Arguments

dev

device

sa

new address

Overview

Change the hardware (MAC) address of the device

Releases

4 releases since Debian 6.0 (Squeeze); the text changed 3 times.

  1. 6.0
  2. 7
  3. 8
  4. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.