---
name: "eth_mac_addr"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/eth_mac_addr"
---

# eth\_mac\_addr(9)

set new Ethernet hardware address

## NAME

eth\_mac\_addr - set new Ethernet hardware address

## SYNOPSIS

**int eth\_mac\_addr(struct net\_device \*** *dev***, void \*** *p***);**

## ARGUMENTS

*dev*

network device

*p*

socket address

## DESCRIPTION

Change hardware address of device.

This doesn't change hardware matching, so needs to be overridden for most real devices.

## COPYRIGHT
