mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-04 13:34:38 +08:00
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:
parent
58c8e0f8ca
commit
ee4cd45c98
@ -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 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 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 allsystems;
|
||||||
static ip4_addr_t allrouters;
|
static ip4_addr_t allrouters;
|
||||||
|
|
||||||
|
@ -77,7 +77,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/* The list of joined groups. */
|
/* The list of joined groups. */
|
||||||
static struct mld_group* mld_group_list;
|
struct mld_group* mld_group_list;
|
||||||
|
|
||||||
|
|
||||||
/* Forward declarations. */
|
/* Forward declarations. */
|
||||||
|
@ -88,6 +88,9 @@ struct igmp_group {
|
|||||||
u8_t use;
|
u8_t use;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* Head of IGMP group list */
|
||||||
|
extern struct igmp_group* igmp_group_list;
|
||||||
|
|
||||||
/* Prototypes */
|
/* Prototypes */
|
||||||
void igmp_init(void);
|
void igmp_init(void);
|
||||||
err_t igmp_start(struct netif *netif);
|
err_t igmp_start(struct netif *netif);
|
||||||
|
@ -72,6 +72,9 @@ struct mld_group {
|
|||||||
u8_t use;
|
u8_t use;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* Head of MLD group list */
|
||||||
|
extern struct mld_group* mld_group_list;
|
||||||
|
|
||||||
#define MLD6_TMR_INTERVAL 100 /* Milliseconds */
|
#define MLD6_TMR_INTERVAL 100 /* Milliseconds */
|
||||||
|
|
||||||
err_t mld6_stop(struct netif *netif);
|
err_t mld6_stop(struct netif *netif);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user