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 | 643 | drivers/net/3c501.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 647 | drivers/net/3c501.c | if (num_addrs > 0) { |
num_addrs | 650 | drivers/net/3c501.c | } else if (num_addrs < 0) { |
num_addrs | 1222 | drivers/net/3c505.c | static void elp_set_mc_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 1230 | drivers/net/3c505.c | if (num_addrs != -1) { |
num_addrs | 1234 | drivers/net/3c505.c | adapter->tx_pcb.length = 6*num_addrs; |
num_addrs | 1235 | drivers/net/3c505.c | for (i=0;i<num_addrs;i++) |
num_addrs | 1248 | 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 | 632 | drivers/net/3c509.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 637 | drivers/net/3c509.c | if (old != num_addrs) { |
num_addrs | 638 | drivers/net/3c509.c | old = num_addrs; |
num_addrs | 639 | drivers/net/3c509.c | printk("%s: Setting Rx mode to %d addresses.\n", dev->name, num_addrs); |
num_addrs | 642 | drivers/net/3c509.c | if (num_addrs > 0) { |
num_addrs | 644 | 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 | 578 | drivers/net/8390.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 582 | drivers/net/8390.c | if (num_addrs > 0) { |
num_addrs | 586 | 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 | 376 | drivers/net/arcnet.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
num_addrs | 1913 | drivers/net/arcnet.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 1919 | 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 | 611 | drivers/net/at1700.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 614 | 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 | 381 | drivers/net/de4x5.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
num_addrs | 415 | drivers/net/de4x5.c | static void SetMulticastFilter(struct device *dev, int num_addrs, char *addrs); |
num_addrs | 1247 | drivers/net/de4x5.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 1254 | drivers/net/de4x5.c | if (num_addrs >= 0) { |
num_addrs | 1255 | drivers/net/de4x5.c | SetMulticastFilter(dev, num_addrs, (char *)addrs); |
num_addrs | 1278 | drivers/net/de4x5.c | static void SetMulticastFilter(struct device *dev, int num_addrs, char *addrs) |
num_addrs | 1290 | drivers/net/de4x5.c | if (num_addrs == HASH_TABLE_LEN) { /* Pass all multicasts */ |
num_addrs | 1295 | drivers/net/de4x5.c | for (i=0;i<num_addrs;i++) { /* for each address in the list */ |
num_addrs | 1322 | 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 | 332 | drivers/net/depca.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
num_addrs | 349 | drivers/net/depca.c | static void SetMulticastFilter(int num_addrs, char *addrs, char *multicast_table); |
num_addrs | 1250 | drivers/net/depca.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 1259 | drivers/net/depca.c | if (num_addrs >= 0) { |
num_addrs | 1260 | drivers/net/depca.c | SetMulticastFilter(num_addrs, (char *)addrs, (char *)hash_filter); |
num_addrs | 1278 | drivers/net/depca.c | static void SetMulticastFilter(int num_addrs, char *addrs, char *multicast_table) |
num_addrs | 1284 | drivers/net/depca.c | for (i=0;i<num_addrs;i++) { /* for each address in the list */ |
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 | 1214 | drivers/net/ewrk3.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 1229 | drivers/net/ewrk3.c | if (num_addrs >= 0) { |
num_addrs | 1230 | drivers/net/ewrk3.c | SetMulticastFilter(dev, num_addrs, (char *)addrs, multicast_table); |
num_addrs | 1249 | drivers/net/ewrk3.c | static void SetMulticastFilter(struct device *dev, int num_addrs, char *addrs, char *multicast_table) |
num_addrs | 1267 | drivers/net/ewrk3.c | if (num_addrs == HASH_TABLE_LEN) { |
num_addrs | 1292 | drivers/net/ewrk3.c | for (i=0;i<num_addrs;i++) { /* for each address in the list */ |
num_addrs | 260 | drivers/net/lance.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
num_addrs | 1084 | drivers/net/lance.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 1091 | drivers/net/lance.c | if (num_addrs >= 0) { |
num_addrs | 1095 | 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 | 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 | 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 | 1739 | drivers/net/sk_g16.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 1742 | drivers/net/sk_g16.c | if (num_addrs == -1) |
num_addrs | 1747 | 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 | 498 | drivers/net/skeleton.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 501 | 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 | 677 | drivers/net/tulip.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 682 | drivers/net/tulip.c | if (num_addrs > 15) { |
num_addrs | 685 | drivers/net/tulip.c | } else if (num_addrs < 0) { /* Set promiscuous. */ |
num_addrs | 699 | drivers/net/tulip.c | for(i = 0; i < num_addrs; i++) { |
num_addrs | 1946 | drivers/net/wavelan.c | wavelan_set_multicast_list(device *dev, int num_addrs, void *addrs) |
num_addrs | 1952 | 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 | 1956 | 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 | 649 | drivers/net/znet.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
num_addrs | 653 | drivers/net/znet.c | if (num_addrs < 0) { |
num_addrs | 657 | drivers/net/znet.c | } else if (num_addrs > 0) { |
num_addrs | 670 | drivers/net/znet.c | if (num_addrs > 0) { |
num_addrs | 671 | drivers/net/znet.c | int addrs_len = 6*num_addrs; |
num_addrs | 155 | include/linux/netdevice.h | int num_addrs, void *addrs); |