Lines Matching refs:nr_addrs
240 struct net_device *dev, int nr_addrs) in lbs_add_mcast_addrs() argument
242 int i = nr_addrs; in lbs_add_mcast_addrs()
247 return nr_addrs; in lbs_add_mcast_addrs()
252 if (mac_in_list(cmd->maclist, nr_addrs, ha->addr)) { in lbs_add_mcast_addrs()
279 int nr_addrs; in lbs_set_mcast_worker() local
302 nr_addrs = lbs_add_mcast_addrs(&mcast_cmd, priv->dev, 0); in lbs_set_mcast_worker()
303 if (nr_addrs >= 0 && priv->mesh_dev) in lbs_set_mcast_worker()
304 nr_addrs = lbs_add_mcast_addrs(&mcast_cmd, priv->mesh_dev, nr_addrs); in lbs_set_mcast_worker()
305 if (nr_addrs < 0) in lbs_set_mcast_worker()
308 if (nr_addrs) { in lbs_set_mcast_worker()
310 maclist[6*nr_addrs]); in lbs_set_mcast_worker()
314 mcast_cmd.nr_of_adrs = cpu_to_le16(nr_addrs); in lbs_set_mcast_worker()