Searched refs:mc_count (Results 1 - 19 of 19) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wireless/orinoco/
H A Dhw.h46 int mc_count, int promisc);
H A Dhw.c679 priv->mc_count = 0;
1062 int mc_count, int promisc)
1081 if (!promisc && (mc_count || priv->mc_count)) {
1087 if (i == mc_count)
1094 HERMES_BYTES_TO_RECLEN(mc_count * ETH_ALEN),
1100 priv->mc_count = mc_count;
1060 __orinoco_hw_set_multicast_list(struct orinoco_private *priv, struct net_device *dev, int mc_count, int promisc) argument
H A Dorinoco.h143 int promiscuous, mc_count; member in struct:orinoco_private
H A Dmain.c1716 int promisc, mc_count; local
1723 mc_count = 0;
1726 mc_count = netdev_mc_count(dev);
1729 err = __orinoco_hw_set_multicast_list(priv, dev, mc_count, promisc);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/enic/
H A Denic.h101 unsigned int mc_count; member in struct:enic
H A Denic_main.c839 enic->mc_count = 0;
961 unsigned int mc_count = netdev_mc_count(netdev); local
963 mc_count > ENIC_MULTICAST_PERFECT_FILTERS;
968 if (mc_count > ENIC_MULTICAST_PERFECT_FILTERS)
969 mc_count = ENIC_MULTICAST_PERFECT_FILTERS;
985 if (i == mc_count)
990 for (i = 0; i < enic->mc_count; i++) {
991 for (j = 0; j < mc_count; j++)
995 if (j == mc_count)
999 for (i = 0; i < mc_count;
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wireless/libertas_tf/
H A Dmain.c426 int mc_count = netdev_hw_addr_list_count(mc_list); local
428 if (!mc_count || mc_count > MRVDRV_MAX_MULTICAST_LIST_SIZE)
429 return mc_count;
431 priv->nr_of_multicastmacaddr = mc_count;
436 return mc_count;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/mac80211/
H A Ddriver-trace.h255 TP_PROTO(struct ieee80211_local *local, int mc_count),
257 TP_ARGS(local, mc_count),
261 __field(int, mc_count)
266 __entry->mc_count = mc_count;
271 LOCAL_PR_ARG, __entry->mc_count
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/
H A Dvirtio_net.c744 int mc_count; local
772 mc_count = netdev_mc_count(dev);
774 buf = kzalloc(((uc_count + mc_count) * ETH_ALEN) +
796 mac_data->entries = mc_count;
802 sizeof(mac_data->entries) + (mc_count * ETH_ALEN));
H A Deepro.c1285 int mc_count = netdev_mc_count(dev); local
1287 if (dev->flags&(IFF_ALLMULTI|IFF_PROMISC) || mc_count > 63)
1297 else if (mc_count == 0)
1327 outw(6 * (mc_count + 1), ioaddr + IO_PORT);
1344 i = lp->tx_end + XMT_HEADER + 6 * (mc_count + 1);
1376 dev->name, mc_count,
1377 mc_count > 1 ? "es":"");
H A D3c509.c1033 int mc_count = netdev_mc_count(dev); local
1037 if (old != mc_count) {
1038 old = mc_count;
1040 dev->name, mc_count);
1048 else if (mc_count || (dev->flags&IFF_ALLMULTI)) {
H A Ddefxx.c1396 bp->mc_count = 0;
2213 bp->mc_count = 0; /* Don't add mc addrs to CAM */
2218 bp->mc_count = netdev_mc_count(dev); /* Add mc addrs to CAM */
2234 DBG_printk("%s: Multicast address table updated! Added %d addresses.\n", dev->name, bp->mc_count);
2310 if ((bp->uc_count + bp->mc_count) > PI_CMD_ADDR_FILTER_K_SIZE)
2313 bp->mc_count = 0; /* Don't add mc addrs to CAM */
2409 for (i=0; i < (int)bp->mc_count; i++)
H A Ddefxx.h1742 u32 mc_count; /* number of multicast addresses */ member in struct:DFX_board_tag
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dinetdevice.h56 int mc_count; /* Number of installed mcasts */ member in struct:in_device
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/nes/
H A Dnes_nic.c853 int mc_count = netdev_mc_count(netdev); local
880 mc_count, !!(netdev->flags & IFF_PROMISC),
887 addrs = kmalloc(ETH_ALEN * mc_count, GFP_ATOMIC);
900 while (i < mc_count && nesvnic->mcrq_mcast_filter &&
918 if (i < mc_count) {
951 if (i < mc_count)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wireless/
H A Drndis_wlan.c1554 int mc_count; local
1574 mc_count = netdev_mc_count(usbdev->net);
1575 if (mc_count > priv->multicast_size) {
1577 } else if (mc_count) {
1580 mc_addrs = kmalloc(mc_count * ETH_ALEN, GFP_ATOMIC);
1584 mc_count * ETH_ALEN);
1598 if (mc_count) {
1600 mc_count * ETH_ALEN);
1608 mc_count, priv->multicast_size, ret);
H A Dmwl8k.c1945 int mc_count = 0; local
1948 mc_count = netdev_hw_addr_list_count(mc_list);
1950 if (allmulti || mc_count > priv->num_mcaddrs) {
1952 mc_count = 0;
1955 size = sizeof(*cmd) + mc_count * ETH_ALEN;
1968 } else if (mc_count) {
1973 cmd->numaddr = cpu_to_le16(mc_count);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/tulip/
H A Ddmfe.c1038 int mc_count = netdev_mc_count(dev); local
1051 if (dev->flags & IFF_ALLMULTI || mc_count > DMFE_MAX_MULTICAST) {
1052 DMFE_DBUG(0, "Pass all multicast address", mc_count);
1059 DMFE_DBUG(0, "Set multicast address", mc_count);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv4/
H A Digmp.c1275 in_dev->mc_count++;
1326 in_dev->mc_count--;
1398 in_dev->mc_count = 0;
1438 in_dev->mc_count--;
2494 state->dev->ifindex, state->dev->name, state->in_dev->mc_count, querier);

Completed in 173 milliseconds