---
name: "dev_unicast_sync"
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_sync"
---

# dev\_unicast\_sync(9)

Synchronize device's unicast list to another device

## NAME

dev\_unicast\_sync - Synchronize device's unicast list to another device

## SYNOPSIS

**int dev\_unicast\_sync(struct net\_device \*** *to***, struct net\_device \*** *from***);**

## ARGUMENTS

*to*

destination device

*from*

source device

## DESCRIPTION

Add newly added addresses to the destination device and release addresses that have no users left. The source device must be locked by netif\_tx\_lock\_bh.

This function is intended to be called from the dev-\>set\_rx\_mode function of layered software devices.

## COPYRIGHT
