/linux-2.4.37.9/net/core/ |
D | dev_mcast.c | 130 dev->mc_count--; in dev_mc_delete() 186 dev->mc_count++; in dev_mc_add() 215 dev->mc_count = 0; in dev_mc_discard()
|
/linux-2.4.37.9/net/bluetooth/bnep/ |
D | netdev.c | 83 BT_DBG("%s mc_count %d", dev->name, dev->mc_count); in bnep_net_set_mc_list() 116 for (i = 0; i < dev->mc_count && i < BNEP_MAX_MULTICAST_FILTERS; i++) { in bnep_net_set_mc_list()
|
/linux-2.4.37.9/net/irda/irlan/ |
D | irlan_eth.c | 372 else if ((dev->flags & IFF_ALLMULTI) || dev->mc_count > HW_MAX_ADDRS) { in irlan_eth_set_multicast_list() 379 else if (dev->mc_count) { in irlan_eth_set_multicast_list()
|
/linux-2.4.37.9/drivers/net/pcmcia/ |
D | nmclan_cs.c | 1648 if (dev->mc_count != old) { in set_multicast_list() 1649 old = dev->mc_count; in set_multicast_list() 1657 lp->multicast_num_addrs = dev->mc_count; in set_multicast_list() 1663 for (i = 0; i < dev->mc_count; i++) { in set_multicast_list() 1703 if (dev->mc_count != old) { in set_multicast_list() 1704 old = dev->mc_count; in set_multicast_list() 1711 lp->multicast_num_addrs = dev->mc_count; in set_multicast_list()
|
D | wavelan_cs.c | 1485 dev->name, dev->flags, dev->mc_count); in wavelan_set_multicast_list() 1497 lp->mc_count = 0; in wavelan_set_multicast_list() 1509 (dev->mc_count > I82593_MAX_MULTICAST_ADDRESSES)) in wavelan_set_multicast_list() 1518 lp->mc_count = 0; in wavelan_set_multicast_list() 1536 (dev->mc_count != lp->mc_count)) in wavelan_set_multicast_list() 1541 lp->mc_count = dev->mc_count; in wavelan_set_multicast_list() 1552 if(lp->promiscuous || lp->mc_count == 0) in wavelan_set_multicast_list() 1556 lp->mc_count = 0; in wavelan_set_multicast_list() 3518 if(lp->mc_count) 3521 int addrs_len = WAVELAN_ADDR_SIZE * lp->mc_count; [all …]
|
D | wavelan_cs.h | 622 int mc_count; /* Number of multicast addresses */ member
|
D | netwave_cs.c | 1613 if (old != dev->mc_count) { 1614 old = dev->mc_count; 1616 dev->name, dev->mc_count); 1621 if (dev->mc_count || (dev->flags & IFF_ALLMULTI)) {
|
/linux-2.4.37.9/drivers/net/ |
D | ether00.c | 612 int count=dev->mc_count; in ether00_set_multicast() 637 if (dev->mc_count > (ETHER_ARC_SIZE - 1)){ in ether00_set_multicast() 647 if(dev->mc_count){ in ether00_set_multicast() 650 DEBUG(printk("mc_count=%d mc_list=%#x\n",dev-> mc_count, dev->mc_list)); in ether00_set_multicast() 728 writew((1<<(dev->mc_count+2))-1,ETHER_ARC_ENA(dev->base_addr)); in ether00_set_multicast()
|
D | defxx.c | 1245 bp->mc_count = 0; in dfx_open() 2029 if (dev->mc_count > (PI_CMD_ADDR_FILTER_K_SIZE - bp->uc_count)) in dfx_ctl_set_multicast_list() 2032 bp->mc_count = 0; /* Don't add mc addrs to CAM */ in dfx_ctl_set_multicast_list() 2037 bp->mc_count = dev->mc_count; /* Add mc addrs to CAM */ in dfx_ctl_set_multicast_list() 2043 for (i=0; i < bp->mc_count; i++) in dfx_ctl_set_multicast_list() 2054 …DBG_printk("%s: Multicast address table updated! Added %d addresses.\n", dev->name, bp->mc_count); in dfx_ctl_set_multicast_list() 2130 if ((bp->uc_count + bp->mc_count) > PI_CMD_ADDR_FILTER_K_SIZE) in dfx_ctl_set_mac_address() 2133 bp->mc_count = 0; /* Don't add mc addrs to CAM */ in dfx_ctl_set_mac_address() 2229 for (i=0; i < (int)bp->mc_count; i++) in dfx_ctl_update_cam()
|
D | sonic.c | 411 if ((dev->flags & IFF_ALLMULTI) || (dev->mc_count > 15)) { in sonic_multicast_list() 417 dev->mc_count); in sonic_multicast_list() 419 for (i = 1; i <= dev->mc_count; i++) { in sonic_multicast_list()
|
D | eepro.c | 1302 if (dev->flags&(IFF_ALLMULTI|IFF_PROMISC) || dev->mc_count > 63) in set_multicast_list() 1321 else if (dev->mc_count==0 ) in set_multicast_list() 1351 outw(6*(dev->mc_count + 1), ioaddr + IO_PORT); in set_multicast_list() 1353 for (i = 0; i < dev->mc_count; i++) in set_multicast_list() 1370 i = lp->tx_end + XMT_HEADER + 6*(dev->mc_count + 1); in set_multicast_list() 1402 dev->name, dev->mc_count, in set_multicast_list() 1403 dev->mc_count > 1 ? "es":""); in set_multicast_list()
|
D | lp486e.c | 1294 dev->name, dev->mc_count); in set_multicast_list() 1296 if (dev->mc_count > 0) { in set_multicast_list() 1300 kmalloc(sizeof(struct i596_cmd)+2+dev->mc_count*6, in set_multicast_list() 1308 *((unsigned short *) (cmd + 1)) = dev->mc_count * 6; in set_multicast_list() 1321 if (dev->mc_count == 0 && in set_multicast_list()
|
D | 3c527.c | 1589 else if((dev->flags&IFF_ALLMULTI) || dev->mc_count > 10) in do_mc32_set_multicast_list() 1594 else if(dev->mc_count) in do_mc32_set_multicast_list() 1607 block[0]=dev->mc_count; in do_mc32_set_multicast_list() 1610 for(i=0;i<dev->mc_count;i++) in do_mc32_set_multicast_list() 1616 if(mc32_command_nowait(dev, 2, block, 2+6*dev->mc_count)==-1) in do_mc32_set_multicast_list()
|
D | wavelan.c | 1442 dev->name, dev->flags, dev->mc_count); in wavelan_set_multicast_list() 1450 (dev->mc_count > I82586_MAX_MULTICAST_ADDRESSES)) { in wavelan_set_multicast_list() 1456 lp->mc_count = 0; in wavelan_set_multicast_list() 1471 if (lp->promiscuous || (dev->mc_count != lp->mc_count)) in wavelan_set_multicast_list() 1475 lp->mc_count = dev->mc_count; in wavelan_set_multicast_list() 1484 if (lp->promiscuous || lp->mc_count == 0) { in wavelan_set_multicast_list() 1486 lp->mc_count = 0; in wavelan_set_multicast_list() 3500 mcs.mcs_cnt = WAVELAN_ADDR_SIZE * lp->mc_count; in wv_82586_config() 3504 if (lp->mc_count) { in wv_82586_config() 3512 dev->name, lp->mc_count); in wv_82586_config() [all …]
|
D | dmfe.c | 599 dm9132_id_table(dev, dev->mc_count); /* DM9132 */ in dmfe_init_dm910x() 601 send_filter_frame(dev, dev->mc_count); /* DM9102/DM9102A */ in dmfe_init_dm910x() 1002 if (dev->flags & IFF_ALLMULTI || dev->mc_count > DMFE_MAX_MULTICAST) { in dmfe_set_filter_mode() 1003 DMFE_DBUG(0, "Pass all multicast address", dev->mc_count); in dmfe_set_filter_mode() 1010 DMFE_DBUG(0, "Set multicast address", dev->mc_count); in dmfe_set_filter_mode() 1012 dm9132_id_table(dev, dev->mc_count); /* DM9132 */ in dmfe_set_filter_mode() 1014 send_filter_frame(dev, dev->mc_count); /* DM9102/DM9102A */ in dmfe_set_filter_mode()
|
D | isa-skeleton.c | 614 else if((dev->flags&IFF_ALLMULTI) || dev->mc_count > HW_MAX_ADDRS) in set_multicast_list() 621 else if(dev->mc_count) in set_multicast_list()
|
D | at1700.c | 832 } else if (dev->mc_count > MC_FILTERBREAK in set_rx_mode() 837 } else if (dev->mc_count == 0) { in set_rx_mode() 845 for (i = 0, mclist = dev->mc_list; mclist && i < dev->mc_count; in set_rx_mode()
|
D | wavelan.p.h | 494 int mc_count; /* number of multicast addresses */ member
|
D | atp.c | 876 if ( dev->mc_count > 0 || (dev->flags & (IFF_ALLMULTI|IFF_PROMISC))) { in set_rx_mode_8002() 897 } else if ((dev->mc_count > 1000) || (dev->flags & IFF_ALLMULTI)) { in set_rx_mode_8012() 905 for (i = 0, mclist = dev->mc_list; mclist && i < dev->mc_count; in set_rx_mode_8012()
|
D | 3c509.c | 953 if (old != dev->mc_count) { in set_multicast_list() 954 old = dev->mc_count; in set_multicast_list() 955 printk("%s: Setting Rx mode to %d addresses.\n", dev->name, dev->mc_count); in set_multicast_list() 963 else if (dev->mc_count || (dev->flags&IFF_ALLMULTI)) { in set_multicast_list()
|
D | eepro100.c | 2122 dev->mc_count > multicast_filter_limit) { 2178 if (new_rx_mode == 0 && dev->mc_count < 4) { 2195 *setup_params++ = cpu_to_le16(dev->mc_count*6); 2197 for (i = 0, mclist = dev->mc_list; i < dev->mc_count; 2245 *setup_params++ = cpu_to_le16(dev->mc_count*6); 2247 for (i = 0, mclist = dev->mc_list; i < dev->mc_count; 2294 dev->mc_count, entry);
|
/linux-2.4.37.9/drivers/usb/ |
D | CDCEther.c | 545 } else if (net->mc_count > ether_dev->wNumberMCFilters) { in CDCEther_set_multicast() 567 buff = kmalloc(6 * net->mc_count, GFP_ATOMIC); in CDCEther_set_multicast() 569 mclist && i < net->mc_count; in CDCEther_set_multicast() 578 cpu_to_le16(net->mc_count), /* value */ in CDCEther_set_multicast() 581 (6* net->mc_count), /* size */ in CDCEther_set_multicast()
|
/linux-2.4.37.9/drivers/net/wireless/ |
D | orinoco.h | 109 int promiscuous, mc_count; member
|
D | orinoco.c | 914 priv->mc_count = 0; in __orinoco_program_rids() 2504 int promisc, mc_count; in __orinoco_set_multicast_list() local 2509 (dev->mc_count > MAX_MULTICAST(priv)) ) { in __orinoco_set_multicast_list() 2511 mc_count = 0; in __orinoco_set_multicast_list() 2514 mc_count = dev->mc_count; in __orinoco_set_multicast_list() 2528 if (! promisc && (mc_count || priv->mc_count) ) { in __orinoco_set_multicast_list() 2533 for (i = 0; i < mc_count; i++) { in __orinoco_set_multicast_list() 2548 HERMES_BYTES_TO_RECLEN(priv->mc_count * ETH_ALEN), in __orinoco_set_multicast_list() 2554 priv->mc_count = mc_count; in __orinoco_set_multicast_list()
|
/linux-2.4.37.9/drivers/message/i2o/ |
D | i2o_lan.c | 1190 u32 msg[10 + 2 * dev->mc_count]; in i2o_lan_set_mc_table() 1193 msg[0] = I2O_MESSAGE_SIZE(10 + 2 * dev->mc_count) | SGL_OFFSET_5; in i2o_lan_set_mc_table() 1198 msg[5] = 0xCC000000 | (16 + 8 * dev->mc_count); // Immediate data SGL in i2o_lan_set_mc_table() 1202 msg[9] = dev->mc_count << 16 | (u16)-1; // RowCount, FieldCount in i2o_lan_set_mc_table() 1224 } else if ((dev->flags & IFF_ALLMULTI) || dev->mc_count > priv->max_size_mc_table) { in i2o_lan_set_multicast_list() 1227 } else if (dev->mc_count) { in i2o_lan_set_multicast_list()
|