Lines Matching defs:from

168 	/* address on from list is not marked synced */
235 * This funciton is intended to be called from the ndo_set_rx_mode
281 * __hw_addr_unsync_dev - Remove synchonized addresses from device
282 * @list: address list to remove syncronized addresses from
287 * This function is intended to be called from the ndo_stop or ndo_open
375 * Get the first (previously created) address from the list
417 * Release reference to a device address and remove it from the device
431 * We can not remove the first address from the list because
508 * from the device if the reference count drops to zero.
527 * @from: source device
533 * This function is intended to be called from the dev->set_rx_mode
537 int dev_uc_sync(struct net_device *to, struct net_device *from)
541 if (to->addr_len != from->addr_len)
545 err = __hw_addr_sync(&to->uc, &from->uc, to->addr_len);
557 * @from: source device
560 * addresses that have been deleted from the source. The source device
563 * This function is intended to be called from the dev->set_rx_mode
567 int dev_uc_sync_multiple(struct net_device *to, struct net_device *from)
571 if (to->addr_len != from->addr_len)
575 err = __hw_addr_sync_multiple(&to->uc, &from->uc, to->addr_len);
584 * dev_uc_unsync - Remove synchronized addresses from the destination device
586 * @from: source device
589 * dev_uc_sync(). This function is intended to be called from the
592 void dev_uc_unsync(struct net_device *to, struct net_device *from)
594 if (to->addr_len != from->addr_len)
597 netif_addr_lock_bh(from);
599 __hw_addr_unsync(&to->uc, &from->uc, to->addr_len);
602 netif_addr_unlock_bh(from);
724 * from the device if the reference count drops to zero.
738 * from the device if the reference count drops to zero.
749 * @from: source device
755 * This function is intended to be called from the ndo_set_rx_mode
758 int dev_mc_sync(struct net_device *to, struct net_device *from)
762 if (to->addr_len != from->addr_len)
766 err = __hw_addr_sync(&to->mc, &from->mc, to->addr_len);
778 * @from: source device
784 * This function is intended to be called from the ndo_set_rx_mode
788 int dev_mc_sync_multiple(struct net_device *to, struct net_device *from)
792 if (to->addr_len != from->addr_len)
796 err = __hw_addr_sync_multiple(&to->mc, &from->mc, to->addr_len);
805 * dev_mc_unsync - Remove synchronized addresses from the destination device
807 * @from: source device
810 * dev_mc_sync(). This function is intended to be called from the
813 void dev_mc_unsync(struct net_device *to, struct net_device *from)
815 if (to->addr_len != from->addr_len)
818 netif_addr_lock_bh(from);
820 __hw_addr_unsync(&to->mc, &from->mc, to->addr_len);
823 netif_addr_unlock_bh(from);