mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-01 12:00:53 +00:00
Add documentation for bug #49139: IGMP "All Systems" vs MLD "All Nodes" inconsistency
This commit is contained in:
parent
8c52afb6ca
commit
b33070e0cf
@ -100,7 +100,9 @@ err_t igmp_leavegroup_netif(struct netif *netif, const ip4_addr_t *groupaddr);
|
||||
void igmp_tmr(void);
|
||||
|
||||
/** @ingroup igmp
|
||||
* Get list head of IGMP groups for netif
|
||||
* Get list head of IGMP groups for netif.
|
||||
* Note: The allsystems group IP is contained in the list as first entry.
|
||||
* @see @ref netif_set_igmp_mac_filter()
|
||||
*/
|
||||
#define netif_igmp_data(netif) ((struct igmp_group *)netif_get_client_data(netif, LWIP_NETIF_CLIENT_DATA_INDEX_IGMP))
|
||||
|
||||
|
@ -83,7 +83,10 @@ err_t mld6_leavegroup(const ip6_addr_t *srcaddr, const ip6_addr_t *groupaddr);
|
||||
err_t mld6_leavegroup_netif(struct netif *netif, const ip6_addr_t *groupaddr);
|
||||
|
||||
/** @ingroup mld6
|
||||
* Get list head of MLD6 groups for netif
|
||||
* Get list head of MLD6 groups for netif.
|
||||
* Note: The allnodes group IP is NOT in the list, since it must always
|
||||
* be received for correct IPv6 operation.
|
||||
* @see @ref netif_set_mld_mac_filter()
|
||||
*/
|
||||
#define netif_mld6_data(netif) ((struct mld_group *)netif_get_client_data(netif, LWIP_NETIF_CLIENT_DATA_INDEX_MLD6))
|
||||
|
||||
|
@ -424,11 +424,13 @@ void netif_set_link_callback(struct netif *netif, netif_status_callback_fn link_
|
||||
#endif /* LWIP_NETIF_HOSTNAME */
|
||||
|
||||
#if LWIP_IGMP
|
||||
/** @ingroup netif */
|
||||
#define netif_set_igmp_mac_filter(netif, function) do { if((netif) != NULL) { (netif)->igmp_mac_filter = function; }}while(0)
|
||||
#define netif_get_igmp_mac_filter(netif) (((netif) != NULL) ? ((netif)->igmp_mac_filter) : NULL)
|
||||
#endif /* LWIP_IGMP */
|
||||
|
||||
#if LWIP_IPV6 && LWIP_IPV6_MLD
|
||||
/** @ingroup netif */
|
||||
#define netif_set_mld_mac_filter(netif, function) do { if((netif) != NULL) { (netif)->mld_mac_filter = function; }}while(0)
|
||||
#define netif_get_mld_mac_filter(netif) (((netif) != NULL) ? ((netif)->mld_mac_filter) : NULL)
|
||||
#define netif_mld_mac_filter(netif, addr, action) do { if((netif) && (netif)->mld_mac_filter) { (netif)->mld_mac_filter((netif), (addr), (action)); }}while(0)
|
||||
|
Loading…
Reference in New Issue
Block a user