---
name: "eth_hw_addr_inherit"
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_hw_addr_inherit"
---

# eth\_hw\_addr\_inherit(9)

Copy dev\_addr from another net\_device

## NAME

eth\_hw\_addr\_inherit - Copy dev\_addr from another net\_device

## SYNOPSIS

**void eth\_hw\_addr\_inherit(struct net\_device \*** *dst***, struct net\_device \*** *src***);**

## ARGUMENTS

*dst*

pointer to net\_device to copy dev\_addr to

*src*

pointer to net\_device to copy dev\_addr from

## DESCRIPTION

Copy the Ethernet address from one net\_device to another along with the address attributes (addr\_assign\_type).

## COPYRIGHT
