Rtos API example
mld6.h File Reference
Multicast listener discovery for IPv6. More...
Go to the source code of this file.
Data Structures | |
struct | mld_group |
MLD group. More... | |
Functions | |
err_t | mld6_stop (struct netif *netif) |
Stop MLD processing on interface. | |
void | mld6_report_groups (struct netif *netif) |
Report MLD memberships for this interface. | |
void | mld6_tmr (void) |
Periodic timer for mld processing. | |
struct mld_group * | mld6_lookfor_group (struct netif *ifp, const ip6_addr_t *addr) |
Search for a group that is joined on a netif. | |
void | mld6_input (struct pbuf *p, struct netif *inp) |
Process an input MLD message. | |
err_t | mld6_joingroup (const ip6_addr_t *srcaddr, const ip6_addr_t *groupaddr) |
Join a group on a network interface. | |
err_t | mld6_joingroup_netif (struct netif *netif, const ip6_addr_t *groupaddr) |
Join a group on a network interface. | |
err_t | mld6_leavegroup (const ip6_addr_t *srcaddr, const ip6_addr_t *groupaddr) |
Leave a group on a network interface. | |
err_t | mld6_leavegroup_netif (struct netif *netif, const ip6_addr_t *groupaddr) |
Leave a group on a network interface. |
Detailed Description
Multicast listener discovery for IPv6.
Aims to be compliant with RFC 2710. No support for MLDv2.
Definition in file mld6.h.
Function Documentation
Process an input MLD message.
Called by icmp6_input.
- Parameters:
-
p the mld packet, p->payload pointing to the icmpv6 header inp the netif on which this packet was received
Definition at line 222 of file lwip_mld6.c.
struct mld_group* mld6_lookfor_group | ( | struct netif * | ifp, |
const ip6_addr_t * | addr | ||
) | [read] |
Search for a group that is joined on a netif.
- Parameters:
-
ifp the network interface for which to look addr the group ipv6 address to search for
- Returns:
- a struct mld_group* if the group has been found, NULL if the group wasn't found.
Definition at line 139 of file lwip_mld6.c.
void mld6_report_groups | ( | struct netif * | netif ) |
Report MLD memberships for this interface.
- Parameters:
-
netif network interface on which report MLD memberships
Definition at line 120 of file lwip_mld6.c.
Stop MLD processing on interface.
- Parameters:
-
netif network interface on which stop MLD processing
Definition at line 91 of file lwip_mld6.c.
void mld6_tmr | ( | void | ) |
Periodic timer for mld processing.
Must be called every MLD6_TMR_INTERVAL milliseconds (100).
When a delaying member expires, a membership report is sent.
Definition at line 457 of file lwip_mld6.c.
Generated on Sun Jul 17 2022 08:25:35 by 1.7.2