Fix bug #49125: Need a way to iterate multicast groups for MAC filtering

-> let list heads be a public symbol
This commit is contained in:
Dirk Ziegelmeier 2016-09-19 08:45:57 +02:00
parent 58c8e0f8ca
commit ee4cd45c98
4 changed files with 8 additions and 2 deletions

View File

@ -104,7 +104,7 @@ static void igmp_delaying_member(struct igmp_group *group, u8_t maxresp);
static err_t igmp_ip_output_if(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, struct netif *netif);
static void igmp_send(struct igmp_group *group, u8_t type);
static struct igmp_group* igmp_group_list;
struct igmp_group* igmp_group_list;
static ip4_addr_t allsystems;
static ip4_addr_t allrouters;

View File

@ -77,7 +77,7 @@
/* The list of joined groups. */
static struct mld_group* mld_group_list;
struct mld_group* mld_group_list;
/* Forward declarations. */

View File

@ -88,6 +88,9 @@ struct igmp_group {
u8_t use;
};
/* Head of IGMP group list */
extern struct igmp_group* igmp_group_list;
/* Prototypes */
void igmp_init(void);
err_t igmp_start(struct netif *netif);

View File

@ -72,6 +72,9 @@ struct mld_group {
u8_t use;
};
/* Head of MLD group list */
extern struct mld_group* mld_group_list;
#define MLD6_TMR_INTERVAL 100 /* Milliseconds */
err_t mld6_stop(struct netif *netif);