* [PATCH][ATM] let upper layer know lec supports multicast
@ 2003-02-25 11:56 chas williams
2003-03-03 8:59 ` David S. Miller
0 siblings, 1 reply; 2+ messages in thread
From: chas williams @ 2003-02-25 11:56 UTC (permalink / raw)
To: davem; +Cc: linux-kernel
the ip layer uses the presence of the .set_multicast_list to determine
if the underlying network device supports multicast.
Index: linux/net/atm/lec.c
===================================================================
RCS file: /home/chas/CVSROOT/linux/net/atm/lec.c,v
retrieving revision 1.7
diff -u -d -b -w -r1.7 lec.c
--- linux/net/atm/lec.c 24 Feb 2003 13:34:43 -0000 1.7
+++ linux/net/atm/lec.c 25 Feb 2003 11:49:42 -0000
@@ -617,6 +617,14 @@
return 0;
}
+static void lec_set_multicast_list(struct net_device *dev)
+{
+ /* by default, all multicast frames arrive over the bus.
+ * eventually support selective multicast service
+ */
+ return;
+}
+
static void
lec_init(struct net_device *dev)
{
@@ -626,7 +634,7 @@
dev->hard_start_xmit = lec_send_packet;
dev->get_stats = lec_get_stats;
- dev->set_multicast_list = NULL;
+ dev->set_multicast_list = lec_set_multicast_list;
dev->do_ioctl = NULL;
printk("%s: Initialized!\n",dev->name);
return;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-03-03 9:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-25 11:56 [PATCH][ATM] let upper layer know lec supports multicast chas williams
2003-03-03 8:59 ` David S. Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®