Name

__dev_mc_sync — Synchonize device's multicast list

Synopsis

int __dev_mc_sync (struct net_device * dev,
 int (*sync) (struct net_device *, const unsigned char *),
 int (*unsync) (struct net_device *, const unsigned char *));
 

Arguments

struct net_device * dev

device to sync

int (*)(struct net_device *, const unsigned char *) sync

function to call if address should be added

int (*)(struct net_device *, const unsigned char *) unsync

function to call if address should be removed

Description

Add newly added addresses to the interface, and release addresses that have been deleted.