Rtos API example

Embed: (wiki syntax)

« Back to documentation index

MLD6

MLD6
[IPv6]

Multicast listener discovery for IPv6. More...

Functions

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.
To be called from TCPIP thread


Function Documentation

err_t mld6_joingroup ( const ip6_addr_t srcaddr,
const ip6_addr_t groupaddr 
)

Join a group on a network interface.

Parameters:
srcaddripv6 address of the network interface which should join a new group. If IP6_ADDR_ANY, join on all netifs
groupaddrthe ipv6 address of the group to join
Returns:
ERR_OK if group was joined on the netif(s), an err_t otherwise

Definition at line 304 of file lwip_mld6.c.

err_t mld6_joingroup_netif ( struct netif netif,
const ip6_addr_t groupaddr 
)

Join a group on a network interface.

Parameters:
netifthe network interface which should join a new group.
groupaddrthe ipv6 address of the group to join
Returns:
ERR_OK if group was joined on the netif, an err_t otherwise

Definition at line 337 of file lwip_mld6.c.

err_t mld6_leavegroup ( const ip6_addr_t srcaddr,
const ip6_addr_t groupaddr 
)

Leave a group on a network interface.

Parameters:
srcaddripv6 address of the network interface which should leave the group. If IP6_ISANY, leave on all netifs
groupaddrthe ipv6 address of the group to leave
Returns:
ERR_OK if group was left on the netif(s), an err_t otherwise

Definition at line 377 of file lwip_mld6.c.

err_t mld6_leavegroup_netif ( struct netif netif,
const ip6_addr_t groupaddr 
)

Leave a group on a network interface.

Parameters:
netifthe network interface which should leave the group.
groupaddrthe ipv6 address of the group to leave
Returns:
ERR_OK if group was left on the netif, an err_t otherwise

Definition at line 410 of file lwip_mld6.c.