Home
last modified time | relevance | path

Searched refs:mc_list (Results 1 – 25 of 186) sorted by relevance

12345678

/drivers/net/wireless/libertas/
Dmain.c649 struct dev_mc_list *mc_list; in lbs_add_mcast_addrs() local
655 for (mc_list = dev->mc_list; mc_list; mc_list = mc_list->next) { in lbs_add_mcast_addrs()
656 if (mac_in_list(cmd->maclist, nr_addrs, mc_list->dmi_addr)) { in lbs_add_mcast_addrs()
658 mc_list->dmi_addr); in lbs_add_mcast_addrs()
664 memcpy(&cmd->maclist[6*i], mc_list->dmi_addr, ETH_ALEN); in lbs_add_mcast_addrs()
666 mc_list->dmi_addr); in lbs_add_mcast_addrs()
670 if (mc_list) in lbs_add_mcast_addrs()
/drivers/net/usb/
Dmcs7830.c404 struct dev_mc_list *mc_list = net->mc_list; in mcs7830_set_multicast() local
412 crc_bits = ether_crc(ETH_ALEN, mc_list->dmi_addr) >> 26; in mcs7830_set_multicast()
414 mc_list = mc_list->next; in mcs7830_set_multicast()
Dasix.c554 struct dev_mc_list *mc_list = net->mc_list; in asix_set_multicast() local
564 mc_list->dmi_addr) >> 26; in asix_set_multicast()
567 mc_list = mc_list->next; in asix_set_multicast()
766 struct dev_mc_list *mc_list = net->mc_list; in ax88172_set_multicast() local
776 mc_list->dmi_addr) >> 26; in ax88172_set_multicast()
779 mc_list = mc_list->next; in ax88172_set_multicast()
Ddm9601.c387 struct dev_mc_list *mc_list = net->mc_list; in dm9601_set_multicast() local
390 for (i = 0; i < net->mc_count; i++, mc_list = mc_list->next) { in dm9601_set_multicast()
391 u32 crc = ether_crc(ETH_ALEN, mc_list->dmi_addr) >> 26; in dm9601_set_multicast()
Dsmsc95xx.c397 struct dev_mc_list *mc_list = dev->net->mc_list; in smsc95xx_set_multicast() local
403 while (mc_list) { in smsc95xx_set_multicast()
405 if (mc_list->dmi_addrlen == ETH_ALEN) { in smsc95xx_set_multicast()
406 u32 bitnum = smsc95xx_hash(mc_list->dmi_addr); in smsc95xx_set_multicast()
415 mc_list = mc_list->next; in smsc95xx_set_multicast()
/drivers/net/bonding/
Dbond_main.c760 …tic struct dev_mc_list *bond_mc_list_find_dmi(struct dev_mc_list *dmi, struct dev_mc_list *mc_list) in bond_mc_list_find_dmi() argument
764 for (idmi = mc_list; idmi; idmi = idmi->next) { in bond_mc_list_find_dmi()
875 for (im = in_dev->mc_list; im; im = im->next) { in bond_resend_igmp_join_requests()
890 dmi = bond->mc_list; in bond_mc_list_destroy()
892 bond->mc_list = dmi->next; in bond_mc_list_destroy()
894 dmi = bond->mc_list; in bond_mc_list_destroy()
896 bond->mc_list = NULL; in bond_mc_list_destroy()
902 static int bond_mc_list_copy(struct dev_mc_list *mc_list, struct bonding *bond, in bond_mc_list_copy() argument
907 for (dmi = mc_list; dmi; dmi = dmi->next) { in bond_mc_list_copy()
915 new_dmi->next = bond->mc_list; in bond_mc_list_copy()
[all …]
Dbonding.h206 struct dev_mc_list *mc_list; member
/drivers/net/mlx4/
Den_netdev.c163 struct dev_mc_list *plist = priv->mc_list; in mlx4_en_clear_list()
171 priv->mc_list = NULL; in mlx4_en_clear_list()
182 for (mclist = dev->mc_list; mclist; mclist = mclist->next) { in mlx4_en_cache_mclist()
194 priv->mc_list = tmp; in mlx4_en_cache_mclist()
309 for (mclist = priv->mc_list; mclist; mclist = mclist->next) { in mlx4_en_do_set_multicast()
997 priv->mc_list = NULL; in mlx4_en_init_netdev()
/drivers/net/
Dsc92031.c439 struct dev_mc_list *mc_list; in _sc92031_set_mar() local
441 for (mc_list = dev->mc_list; mc_list; mc_list = mc_list->next) { in _sc92031_set_mar()
445 crc = ~ether_crc(ETH_ALEN, mc_list->dmi_addr); in _sc92031_set_mar()
Dsmsc911x.c1379 struct dev_mc_list *mc_list = dev->mc_list; in smsc911x_set_multicast_list() local
1384 while (mc_list) { in smsc911x_set_multicast_list()
1386 if ((mc_list->dmi_addrlen) == ETH_ALEN) { in smsc911x_set_multicast_list()
1388 smsc911x_hash(mc_list->dmi_addr); in smsc911x_set_multicast_list()
1397 mc_list = mc_list->next; in smsc911x_set_multicast_list()
Dsun3_82586.h253 unsigned char mc_list[0][6]; /* pointer to 6 bytes entries */ member
D3c523.h224 unsigned char mc_list[0][6]; /* pointer to 6 bytes entries */ member
Dsmsc9420.c1052 struct dev_mc_list *mc_list = dev->mc_list; in smsc9420_set_multicast_list() local
1056 while (mc_list) { in smsc9420_set_multicast_list()
1057 u32 bit_num = smsc9420_hash(mc_list->dmi_addr); in smsc9420_set_multicast_list()
1065 mc_list = mc_list->next; in smsc9420_set_multicast_list()
Dlib8390.c909 for (dmi=dev->mc_list; dmi; dmi=dmi->next) in make_mc_bits()
943 if (dev->mc_list) in do_set_multicast_list()
977 else if(dev->flags&IFF_ALLMULTI || dev->mc_list) in do_set_multicast_list()
Dni52.h245 u8 mc_list[0][6]; /* pointer to 6 bytes entries */ member
Damd8111e.c1393 lp->mc_list = dev->mc_list; in amd8111e_set_multicast_list()
1401 lp->mc_list = NULL; in amd8111e_set_multicast_list()
1410 lp->mc_list = dev->mc_list; in amd8111e_set_multicast_list()
1412 for (i = 0, mc_ptr = dev->mc_list; mc_ptr && i < dev->mc_count; in amd8111e_set_multicast_list()
Damd8111e.h792 struct dev_mc_list* mc_list; member
/drivers/net/sfc/
Defx.c1487 struct dev_mc_list *mc_list = net_dev->mc_list; in efx_set_multicast_list() local
1503 crc = ether_crc_le(ETH_ALEN, mc_list->dmi_addr); in efx_set_multicast_list()
1506 mc_list = mc_list->next; in efx_set_multicast_list()
/drivers/net/ehea/
Dehea_main.c246 list_for_each_entry(mc_entry, &port->mc_list->list,list) in ehea_update_bcmc_registrations()
277 &port->mc_list->list, list) { in ehea_update_bcmc_registrations()
1871 struct ehea_mc_list *mc_entry = port->mc_list; in ehea_drop_multicast_list()
1877 list_for_each_safe(pos, temp, &(port->mc_list->list)) { in ehea_drop_multicast_list()
1937 list_add(&ehea_mcl_entry->list, &port->mc_list->list); in ehea_add_multicast_entry()
1980 for (i = 0, k_mcl_entry = dev->mc_list; i < dev->mc_count; i++, in ehea_set_multicast_list()
3103 port->mc_list = kzalloc(sizeof(struct ehea_mc_list), GFP_KERNEL); in ehea_setup_single_port()
3104 if (!port->mc_list) { in ehea_setup_single_port()
3109 INIT_LIST_HEAD(&port->mc_list->list); in ehea_setup_single_port()
3171 kfree(port->mc_list); in ehea_setup_single_port()
[all …]
Dehea.h469 struct ehea_mc_list *mc_list; /* Multicast MAC addresses */ member
/drivers/net/atlx/
Datlx.c147 for (mc_ptr = netdev->mc_list; mc_ptr; mc_ptr = mc_ptr->next) { in atlx_set_multi()
/drivers/infiniband/core/
Ducma.c74 struct list_head mc_list; member
141 INIT_LIST_HEAD(&ctx->mc_list); in ucma_alloc_ctx()
188 list_add_tail(&mc->list, &ctx->mc_list); in ucma_alloc_multicast()
401 list_for_each_entry_safe(mc, tmp, &ctx->mc_list, list) { in ucma_cleanup_multicast()
/drivers/s390/net/
Dqeth_l2_main.c197 list_add_tail(&mc->list, &card->mc_list); in qeth_l2_add_mc()
207 list_for_each_entry_safe(mc, tmp, &card->mc_list, list) { in qeth_l2_del_all_mc()
613 for (dm = dev->mc_list; dm; dm = dm->next) in qeth_l2_set_multicast_list()
851 INIT_LIST_HEAD(&card->mc_list); in qeth_l2_probe_device()
/drivers/staging/sxg/
Dsxg.c2828 struct dev_mc_list *mc_list = dev->mc_list; in sxg_mcast_set_list() local
2834 addresses = (char *)&mc_list->dmi_addr; in sxg_mcast_set_list()
2835 if (mc_list->dmi_addrlen == 6) { in sxg_mcast_set_list()
2845 mc_list = mc_list->next; in sxg_mcast_set_list()
/drivers/net/myri10ge/
Dmyri10ge.c2987 struct dev_mc_list *mc_list; in myri10ge_set_multicast_list() local
3025 for (mc_list = dev->mc_list; mc_list != NULL; mc_list = mc_list->next) { in myri10ge_set_multicast_list()
3026 memcpy(data, &mc_list->dmi_addr, 6); in myri10ge_set_multicast_list()
3036 printk(KERN_ERR "MAC %pM\n", mc_list->dmi_addr); in myri10ge_set_multicast_list()

12345678