multicast
David Friedman
dsf@lambda.ece.cmu.edu
Sat Jul 17 00:54:33 1999
I've been trying unsuccessfully to get multicast working using an EtherExpressPro100 on 2.2.10. I have used the code below to test whether the multicast address is added successfully.
The address used belongs to another machine. After installing the module, I run tcpdump -p, and filter on the packets belonging to the address just added.
Using the dec tulip, there are no problems with this, however, using the eepro100, no packets are received. I also tried the same on the 3c59x driver and found it exhibited the same problem.
Any information on how multicast on the eepro100 should work would be greatly appreciated.
David Friedman
---
#include <linux/module.h>
#include <linux/netdevice.h>
static char addr[] = {0x00,0x50,0x04,0x06,0xf8,0xf7};
int init_module(void) {
struct device *dev = dev_get("eth0");
dev_mc_add(dev,addr,6,0);
return 0;
}
void cleanup_module(void) {
struct device *dev = dev_get("eth0");
dev_mc_delete(dev,addr,6,0);
}