---
name: "dev_unicast_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_unicast_add"
---

# dev\_unicast\_add(9)

add a secondary unicast address

## NAME

dev\_unicast\_add - add a secondary unicast address

## SYNOPSIS

**int dev\_unicast\_add(struct net\_device \*** *dev***, void \*** *addr***);**

## ARGUMENTS

*dev*

device

*addr*

address to add

## DESCRIPTION

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

The caller must hold the rtnl\_mutex.

## COPYRIGHT
