---
name: "dev_addr_add"
section: "9"
platform: "linux"
package: "linux-manual-2.6.32"
version: "2.6.32-48squeeze6"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/dev_addr_add"
---

# dev\_addr\_add(9)

Add a device address

## NAME

dev\_addr\_add - Add a device address

## SYNOPSIS

**int dev\_addr\_add(struct net\_device \*** *dev***, unsigned char \*** *addr***, unsigned char** *addr\_type***);**

## ARGUMENTS

*dev*

device

*addr*

address to add

*addr\_type*

address type

## DESCRIPTION

Add a device address to the device or increase the reference count if it already exists.

The caller must hold the rtnl\_mutex.

## COPYRIGHT
