mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
net/igmp and net/mld: Fix problem when both IGMP and MLD are enabled. The cannot share the same group list in the network devices structure.
This commit is contained in:
@@ -140,7 +140,7 @@ struct igmp_iphdr_s
|
||||
|
||||
/* Router Alert IP header option */
|
||||
|
||||
uint16_t ra[2];
|
||||
uint16_t ra[2]; /* RFC 2113 */
|
||||
|
||||
/* IGMPv2 header:
|
||||
*
|
||||
|
||||
@@ -344,10 +344,18 @@ struct net_driver_s
|
||||
|
||||
uint16_t d_sndlen;
|
||||
|
||||
#ifdef CONFIG_NET_MCASTGROUP
|
||||
/* IGMP/MLD group list */
|
||||
/* Multicast group support */
|
||||
|
||||
sq_queue_t grplist;
|
||||
#ifdef CONFIG_NET_IGMP
|
||||
/* IGMP group list */
|
||||
|
||||
sq_queue_t d_igmp_grplist;
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_NET_MCASTGROUP
|
||||
/* MLD group list */
|
||||
|
||||
sq_queue_t d_mld_grplist;
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_NETDEV_STATISTICS
|
||||
|
||||
Reference in New Issue
Block a user