tag | line | file | source code |
num_addrs | 123 | drivers/net/3c501.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
num_addrs | 658 | drivers/net/3c501.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 662 | drivers/net/3c501.c | if (num_addrs > 0 || num_addrs==-2) { |
num_addrs | 665 | drivers/net/3c501.c | } else if (num_addrs < 0) { |
num_addrs | 1176 | drivers/net/3c505.c | elp_set_mc_list (struct device *dev, int num_addrs, void *addrs) |
num_addrs | 1184 | drivers/net/3c505.c | if (num_addrs != -1) { |
num_addrs | 1188 | drivers/net/3c505.c | adapter->tx_pcb.length = 6*num_addrs; |
num_addrs | 1189 | drivers/net/3c505.c | for (i=0;i<num_addrs;i++) |
num_addrs | 1202 | drivers/net/3c505.c | if (num_addrs) |
num_addrs | 111 | drivers/net/3c509.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
num_addrs | 641 | drivers/net/3c509.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 646 | drivers/net/3c509.c | if (old != num_addrs) { |
num_addrs | 647 | drivers/net/3c509.c | old = num_addrs; |
num_addrs | 648 | drivers/net/3c509.c | printk("%s: Setting Rx mode to %d addresses.\n", dev->name, num_addrs); |
num_addrs | 651 | drivers/net/3c509.c | if (num_addrs > 0 || num_addrs == -2) { |
num_addrs | 653 | drivers/net/3c509.c | } else if (num_addrs < 0) { |
num_addrs | 109 | drivers/net/8390.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
num_addrs | 582 | drivers/net/8390.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 586 | drivers/net/8390.c | if (num_addrs > 0 || num_addrs == -2) { |
num_addrs | 590 | drivers/net/8390.c | } else if (num_addrs < 0) |
num_addrs | 192 | drivers/net/apricot.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
num_addrs | 965 | drivers/net/apricot.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 971 | drivers/net/apricot.c | printk ("%s: set multicast list %d\n", dev->name, num_addrs); |
num_addrs | 973 | drivers/net/apricot.c | if (num_addrs > 0) { |
num_addrs | 974 | drivers/net/apricot.c | cmd = (struct i596_cmd *) kmalloc(sizeof(struct i596_cmd)+2+num_addrs*6, GFP_ATOMIC); |
num_addrs | 982 | drivers/net/apricot.c | *((unsigned short *) (cmd + 1)) = num_addrs * 6; |
num_addrs | 983 | drivers/net/apricot.c | memcpy (((char *)(cmd + 1))+2, addrs, num_addrs * 6); |
num_addrs | 990 | drivers/net/apricot.c | if (num_addrs == 0) |
num_addrs | 578 | drivers/net/arcnet.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
num_addrs | 2693 | drivers/net/arcnet.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 2699 | drivers/net/arcnet.c | if (num_addrs) { |
num_addrs | 124 | drivers/net/at1700.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
num_addrs | 614 | drivers/net/at1700.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 617 | drivers/net/at1700.c | if (num_addrs) |
num_addrs | 143 | drivers/net/atp.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
num_addrs | 764 | drivers/net/atp.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 773 | drivers/net/atp.c | if(num_addrs) |
num_addrs | 775 | drivers/net/atp.c | lp->addr_mode = num_addrs ? CMR2h_PROMISC : CMR2h_Normal; |
num_addrs | 402 | drivers/net/de4x5.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
num_addrs | 438 | drivers/net/de4x5.c | static void SetMulticastFilter(struct device *dev, int num_addrs, char *addrs); |
num_addrs | 1387 | drivers/net/de4x5.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 1394 | drivers/net/de4x5.c | if (num_addrs >= 0) { |
num_addrs | 1395 | drivers/net/de4x5.c | SetMulticastFilter(dev, num_addrs, (char *)addrs); |
num_addrs | 1423 | drivers/net/de4x5.c | static void SetMulticastFilter(struct device *dev, int num_addrs, char *addrs) |
num_addrs | 1436 | drivers/net/de4x5.c | if (num_addrs == HASH_TABLE_LEN) { /* Pass all multicasts */ |
num_addrs | 1441 | drivers/net/de4x5.c | for (i=0;i<num_addrs;i++) { /* for each address in the list */ |
num_addrs | 1468 | drivers/net/de4x5.c | for (j=0; j<num_addrs; j++) { |
num_addrs | 1476 | drivers/net/de4x5.c | if (num_addrs == 0) |
num_addrs | 490 | drivers/net/de620.c | de620_set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 492 | drivers/net/de620.c | if (num_addrs) |
num_addrs | 366 | drivers/net/depca.c | static void set_multicast_list(struct device *dev,int num_addrs,void *addrs); |
num_addrs | 382 | drivers/net/depca.c | static void SetMulticastFilter(struct device *dev,int num_addrs,char *addrs); |
num_addrs | 1160 | drivers/net/depca.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 1173 | drivers/net/depca.c | if (num_addrs >= 0) { |
num_addrs | 1174 | drivers/net/depca.c | SetMulticastFilter(dev, num_addrs, (char *)addrs); |
num_addrs | 1192 | drivers/net/depca.c | static void SetMulticastFilter(struct device *dev, int num_addrs, char *addrs) |
num_addrs | 1199 | drivers/net/depca.c | if (num_addrs == HASH_TABLE_LEN) { /* Set all multicast bits */ |
num_addrs | 1210 | drivers/net/depca.c | for (i=0;i<num_addrs;i++) { /* for each address in the list */ |
num_addrs | 143 | drivers/net/eepro.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
num_addrs | 778 | drivers/net/eepro.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 784 | drivers/net/eepro.c | if (num_addrs <= -1 || num_addrs > 63) { |
num_addrs | 801 | drivers/net/eepro.c | else if (num_addrs == 0) { |
num_addrs | 828 | drivers/net/eepro.c | outw(6*(num_addrs + 1), ioaddr + IO_PORT); |
num_addrs | 829 | drivers/net/eepro.c | for (i = 0; i < num_addrs; i++) { |
num_addrs | 842 | drivers/net/eepro.c | i = lp->tx_end + XMT_HEADER + 6*(num_addrs + 1); |
num_addrs | 867 | drivers/net/eepro.c | dev->name, num_addrs); |
num_addrs | 293 | drivers/net/eexpress.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
num_addrs | 680 | drivers/net/eexpress.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 685 | drivers/net/eexpress.c | if (num_addrs < 0) { |
num_addrs | 688 | drivers/net/eexpress.c | } else if (num_addrs > 0) { |
num_addrs | 692 | drivers/net/eexpress.c | outw(num_addrs * 6, ioaddr); |
num_addrs | 693 | drivers/net/eexpress.c | outsw(ioaddr, addrs, num_addrs*3); /* 3 = addr len in words */ |
num_addrs | 326 | drivers/net/eth16i.c | static void eth16i_multicast(struct device *dev, int num_addrs, void *addrs); |
num_addrs | 1146 | drivers/net/eth16i.c | static void eth16i_multicast(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 1150 | drivers/net/eth16i.c | if(num_addrs) { |
num_addrs | 293 | drivers/net/ewrk3.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
num_addrs | 306 | drivers/net/ewrk3.c | static void SetMulticastFilter(struct device *dev, int num_addrs, char *addrs, char *multicast_table); |
num_addrs | 1210 | drivers/net/ewrk3.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 1225 | drivers/net/ewrk3.c | if (num_addrs >= 0) { |
num_addrs | 1226 | drivers/net/ewrk3.c | SetMulticastFilter(dev, num_addrs, (char *)addrs, multicast_table); |
num_addrs | 1245 | drivers/net/ewrk3.c | static void SetMulticastFilter(struct device *dev, int num_addrs, char *addrs, char *multicast_table) |
num_addrs | 1263 | drivers/net/ewrk3.c | if (num_addrs == HASH_TABLE_LEN) { |
num_addrs | 1288 | drivers/net/ewrk3.c | for (i=0;i<num_addrs;i++) { /* for each address in the list */ |
num_addrs | 199 | drivers/net/hp100.c | static void hp100_set_multicast_list( struct device *dev, int num_addrs, void *addrs ); |
num_addrs | 860 | drivers/net/hp100.c | static void hp100_set_multicast_list( struct device *dev, int num_addrs, void *addrs ) |
num_addrs | 866 | drivers/net/hp100.c | printk( "hp100_set_multicast_list: num_addrs = %d\n", num_addrs ); |
num_addrs | 873 | drivers/net/hp100.c | if ( num_addrs == -1 ) |
num_addrs | 879 | drivers/net/hp100.c | if ( num_addrs != 0 ) |
num_addrs | 261 | drivers/net/lance.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
num_addrs | 1086 | drivers/net/lance.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 1093 | drivers/net/lance.c | if (num_addrs >= 0 || num_addrs==-2) { |
num_addrs | 1097 | drivers/net/lance.c | memset(multicast_table, (num_addrs == 0) ? 0 : -1, sizeof(multicast_table)); |
num_addrs | 166 | drivers/net/ni52.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
num_addrs | 169 | drivers/net/ni52.c | static int init586(struct device *dev,int num_addrs,void *addrs); |
num_addrs | 449 | drivers/net/ni52.c | static int init586(struct device *dev,int num_addrs,void *addrs) |
num_addrs | 475 | drivers/net/ni52.c | cfg_cmd->promisc = (num_addrs < 0) ? 1 : 0; /* promisc on/off */ |
num_addrs | 601 | drivers/net/ni52.c | if(num_addrs > 0) |
num_addrs | 610 | drivers/net/ni52.c | if(len < num_addrs) |
num_addrs | 612 | drivers/net/ni52.c | num_addrs = len; |
num_addrs | 613 | drivers/net/ni52.c | printk("%s: Sorry, can only apply %d MC-Address(es).\n",dev->name,num_addrs); |
num_addrs | 619 | drivers/net/ni52.c | mc_cmd->mc_cnt = num_addrs * 6; |
num_addrs | 620 | drivers/net/ni52.c | for(i=0;i<num_addrs;i++) |
num_addrs | 1080 | drivers/net/ni52.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 1082 | drivers/net/ni52.c | if(!dev->start && !num_addrs) |
num_addrs | 1090 | drivers/net/ni52.c | init586(dev,num_addrs,addrs); |
num_addrs | 124 | drivers/net/ni65.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
num_addrs | 639 | drivers/net/ni65.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 88 | drivers/net/seeq8005.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
num_addrs | 611 | drivers/net/seeq8005.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 624 | drivers/net/seeq8005.c | if (num_addrs) { /* Enable promiscuous mode */ |
num_addrs | 500 | drivers/net/sk_g16.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
num_addrs | 1744 | drivers/net/sk_g16.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 1747 | drivers/net/sk_g16.c | if (num_addrs == -1) |
num_addrs | 1752 | drivers/net/sk_g16.c | else if (num_addrs == 0) |
num_addrs | 105 | drivers/net/skeleton.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
num_addrs | 517 | drivers/net/skeleton.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 520 | drivers/net/skeleton.c | if (num_addrs) { |
num_addrs | 161 | drivers/net/tulip.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
num_addrs | 683 | drivers/net/tulip.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 688 | drivers/net/tulip.c | if (num_addrs > 15 || num_addrs == -2) { |
num_addrs | 691 | drivers/net/tulip.c | } else if (num_addrs < 0) { /* Set promiscuous. */ |
num_addrs | 705 | drivers/net/tulip.c | for(i = 0; i < num_addrs; i++) { |
num_addrs | 2018 | drivers/net/wavelan.c | wavelan_set_multicast_list(device *dev, int num_addrs, void *addrs) |
num_addrs | 2024 | drivers/net/wavelan.c | printk("%s: ->wavelan_set_multicast_list(dev=0x%x, num_addrs=%d, addrs=0x%x)\n", dev->name, (unsigned int)dev, num_addrs, (unsigned int)addrs); |
num_addrs | 2028 | drivers/net/wavelan.c | switch (num_addrs) |
num_addrs | 189 | drivers/net/znet.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
num_addrs | 639 | drivers/net/znet.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 643 | drivers/net/znet.c | if (num_addrs == -1) { |
num_addrs | 647 | drivers/net/znet.c | } else if (num_addrs != 0) { |
num_addrs | 660 | drivers/net/znet.c | if (num_addrs > 0) { |
num_addrs | 661 | drivers/net/znet.c | int addrs_len = 6*num_addrs; |
num_addrs | 175 | include/linux/netdevice.h | int num_addrs, void *addrs); |