tag | line | file | source code |
num_addrs | 129 | drivers/net/3c501.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
num_addrs | 662 | drivers/net/3c501.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 666 | drivers/net/3c501.c | if (num_addrs > 0) { |
num_addrs | 669 | drivers/net/3c501.c | } else if (num_addrs < 0) { |
num_addrs | 1163 | drivers/net/3c505.c | elp_set_mc_list (struct device *dev, int num_addrs, void *addrs) |
num_addrs | 1171 | drivers/net/3c505.c | if (num_addrs != -1) { |
num_addrs | 1175 | drivers/net/3c505.c | adapter->tx_pcb.length = 6*num_addrs; |
num_addrs | 1176 | drivers/net/3c505.c | for (i=0;i<num_addrs;i++) |
num_addrs | 1189 | 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 | 633 | drivers/net/3c509.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 638 | drivers/net/3c509.c | if (old != num_addrs) { |
num_addrs | 639 | drivers/net/3c509.c | old = num_addrs; |
num_addrs | 640 | drivers/net/3c509.c | printk("%s: Setting Rx mode to %d addresses.\n", dev->name, num_addrs); |
num_addrs | 643 | drivers/net/3c509.c | if (num_addrs > 0) { |
num_addrs | 645 | drivers/net/3c509.c | } else if (num_addrs < 0) { |
num_addrs | 103 | drivers/net/8390.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
num_addrs | 570 | drivers/net/8390.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 574 | drivers/net/8390.c | if (num_addrs > 0) { |
num_addrs | 578 | drivers/net/8390.c | } else if (num_addrs < 0) |
num_addrs | 195 | drivers/net/apricot.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
num_addrs | 973 | drivers/net/apricot.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 979 | drivers/net/apricot.c | printk ("%s: set multicast list %d\n", dev->name, num_addrs); |
num_addrs | 981 | drivers/net/apricot.c | if (num_addrs > 0) { |
num_addrs | 982 | drivers/net/apricot.c | cmd = (struct i596_cmd *) kmalloc(sizeof(struct i596_cmd)+2+num_addrs*6, GFP_ATOMIC); |
num_addrs | 990 | drivers/net/apricot.c | *((unsigned short *) (cmd + 1)) = num_addrs * 6; |
num_addrs | 991 | drivers/net/apricot.c | memcpy (((char *)(cmd + 1))+2, addrs, num_addrs * 6); |
num_addrs | 998 | drivers/net/apricot.c | if (num_addrs == 0) |
num_addrs | 383 | drivers/net/arcnet.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
num_addrs | 1897 | drivers/net/arcnet.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 1903 | drivers/net/arcnet.c | if (num_addrs) { |
num_addrs | 126 | drivers/net/at1700.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
num_addrs | 612 | drivers/net/at1700.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 615 | 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 | 762 | drivers/net/atp.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 766 | drivers/net/atp.c | lp->addr_mode = num_addrs ? CMR2h_PROMISC : CMR2h_Normal; |
num_addrs | 409 | drivers/net/de4x5.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
num_addrs | 445 | drivers/net/de4x5.c | static void SetMulticastFilter(struct device *dev, int num_addrs, char *addrs); |
num_addrs | 1392 | drivers/net/de4x5.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 1399 | drivers/net/de4x5.c | if (num_addrs >= 0) { |
num_addrs | 1400 | 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 | 469 | drivers/net/de620.c | de620_set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 471 | drivers/net/de620.c | if (num_addrs) { /* Enable promiscuous mode */ |
num_addrs | 373 | drivers/net/depca.c | static void set_multicast_list(struct device *dev,int num_addrs,void *addrs); |
num_addrs | 389 | drivers/net/depca.c | static void SetMulticastFilter(struct device *dev,int num_addrs,char *addrs); |
num_addrs | 1165 | drivers/net/depca.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 1178 | drivers/net/depca.c | if (num_addrs >= 0) { |
num_addrs | 1179 | drivers/net/depca.c | SetMulticastFilter(dev, num_addrs, (char *)addrs); |
num_addrs | 1197 | drivers/net/depca.c | static void SetMulticastFilter(struct device *dev, int num_addrs, char *addrs) |
num_addrs | 1204 | drivers/net/depca.c | if (num_addrs == HASH_TABLE_LEN) { /* Set all multicast bits */ |
num_addrs | 1215 | drivers/net/depca.c | for (i=0;i<num_addrs;i++) { /* for each address in the list */ |
num_addrs | 151 | drivers/net/eepro.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
num_addrs | 792 | drivers/net/eepro.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 798 | drivers/net/eepro.c | if (num_addrs < -1 || num_addrs > 63) { |
num_addrs | 807 | drivers/net/eepro.c | else if (num_addrs == 0) { |
num_addrs | 834 | drivers/net/eepro.c | outw(6*(num_addrs + 1), ioaddr + IO_PORT); |
num_addrs | 835 | drivers/net/eepro.c | for (i = 0; i < num_addrs; i++) { |
num_addrs | 848 | drivers/net/eepro.c | i = lp->tx_end + XMT_HEADER + 6*(num_addrs + 1); |
num_addrs | 873 | drivers/net/eepro.c | dev->name, num_addrs); |
num_addrs | 297 | drivers/net/eexpress.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
num_addrs | 687 | drivers/net/eexpress.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 692 | drivers/net/eexpress.c | if (num_addrs < 0) { |
num_addrs | 695 | drivers/net/eexpress.c | } else if (num_addrs > 0) { |
num_addrs | 699 | drivers/net/eexpress.c | outw(num_addrs * 6, ioaddr); |
num_addrs | 700 | drivers/net/eexpress.c | outsw(ioaddr, addrs, num_addrs*3); /* 3 = addr len in words */ |
num_addrs | 296 | drivers/net/ewrk3.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
num_addrs | 309 | drivers/net/ewrk3.c | static void SetMulticastFilter(struct device *dev, int num_addrs, char *addrs, char *multicast_table); |
num_addrs | 1216 | drivers/net/ewrk3.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 1231 | drivers/net/ewrk3.c | if (num_addrs >= 0) { |
num_addrs | 1232 | drivers/net/ewrk3.c | SetMulticastFilter(dev, num_addrs, (char *)addrs, multicast_table); |
num_addrs | 1251 | drivers/net/ewrk3.c | static void SetMulticastFilter(struct device *dev, int num_addrs, char *addrs, char *multicast_table) |
num_addrs | 1269 | drivers/net/ewrk3.c | if (num_addrs == HASH_TABLE_LEN) { |
num_addrs | 1294 | drivers/net/ewrk3.c | for (i=0;i<num_addrs;i++) { /* for each address in the list */ |
num_addrs | 160 | drivers/net/hp100.c | static void hp100_set_multicast_list( struct device *dev, int num_addrs, void *addrs ); |
num_addrs | 669 | drivers/net/hp100.c | static void hp100_set_multicast_list( struct device *dev, int num_addrs, void *addrs ) |
num_addrs | 675 | drivers/net/hp100.c | printk( "hp100_set_multicast_list: num_addrs = %d\n", num_addrs ); |
num_addrs | 682 | drivers/net/hp100.c | if ( num_addrs < 0 ) |
num_addrs | 688 | drivers/net/hp100.c | if ( num_addrs > 0 ) |
num_addrs | 260 | drivers/net/lance.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
num_addrs | 1085 | drivers/net/lance.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 1092 | drivers/net/lance.c | if (num_addrs >= 0) { |
num_addrs | 1096 | drivers/net/lance.c | memset(multicast_table, (num_addrs == 0) ? 0 : -1, sizeof(multicast_table)); |
num_addrs | 169 | drivers/net/ni52.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
num_addrs | 172 | drivers/net/ni52.c | static int init586(struct device *dev,int num_addrs,void *addrs); |
num_addrs | 450 | drivers/net/ni52.c | static int init586(struct device *dev,int num_addrs,void *addrs) |
num_addrs | 476 | drivers/net/ni52.c | cfg_cmd->promisc = (num_addrs < 0) ? 1 : 0; /* promisc on/off */ |
num_addrs | 602 | drivers/net/ni52.c | if(num_addrs > 0) |
num_addrs | 611 | drivers/net/ni52.c | if(len < num_addrs) |
num_addrs | 613 | drivers/net/ni52.c | num_addrs = len; |
num_addrs | 614 | drivers/net/ni52.c | printk("%s: Sorry, can only apply %d MC-Address(es).\n",dev->name,num_addrs); |
num_addrs | 620 | drivers/net/ni52.c | mc_cmd->mc_cnt = num_addrs * 6; |
num_addrs | 621 | drivers/net/ni52.c | for(i=0;i<num_addrs;i++) |
num_addrs | 1081 | drivers/net/ni52.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 1083 | drivers/net/ni52.c | if(!dev->start && !num_addrs) |
num_addrs | 1091 | 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 | 638 | drivers/net/ni65.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 500 | drivers/net/sk_g16.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
num_addrs | 1740 | drivers/net/sk_g16.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 1743 | drivers/net/sk_g16.c | if (num_addrs == -1) |
num_addrs | 1748 | drivers/net/sk_g16.c | else if (num_addrs == 0) |
num_addrs | 104 | drivers/net/skeleton.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
num_addrs | 497 | drivers/net/skeleton.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 500 | drivers/net/skeleton.c | if (num_addrs) { |
num_addrs | 165 | drivers/net/tulip.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
num_addrs | 678 | drivers/net/tulip.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 683 | drivers/net/tulip.c | if (num_addrs > 15) { |
num_addrs | 686 | drivers/net/tulip.c | } else if (num_addrs < 0) { /* Set promiscuous. */ |
num_addrs | 700 | drivers/net/tulip.c | for(i = 0; i < num_addrs; i++) { |
num_addrs | 2015 | drivers/net/wavelan.c | wavelan_set_multicast_list(device *dev, int num_addrs, void *addrs) |
num_addrs | 2021 | 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 | 2025 | 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 < 0) { |
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 | 152 | include/linux/netdevice.h | int num_addrs, void *addrs); |