lwIP 2.0.0  lwIP 2.0.0
LightweightIPstack

Functions

err_t igmp_joingroup (const ip4_addr_t *ifaddr, const ip4_addr_t *groupaddr)
 
err_t igmp_joingroup_netif (struct netif *netif, const ip4_addr_t *groupaddr)
 
err_t igmp_leavegroup (const ip4_addr_t *ifaddr, const ip4_addr_t *groupaddr)
 
err_t igmp_leavegroup_netif (struct netif *netif, const ip4_addr_t *groupaddr)
 

Detailed Description

To be called from TCPIP thread

Function Documentation

err_t igmp_joingroup ( const ip4_addr_t ifaddr,
const ip4_addr_t groupaddr 
)

Join a group on one network interface.

Parameters
ifaddrip address of the network interface which should join a new group
groupaddrthe ip address of the group which to join
Returns
ERR_OK if group was joined on the netif(s), an err_t otherwise
err_t igmp_joingroup_netif ( struct netif netif,
const ip4_addr_t groupaddr 
)

Join a group on one network interface.

Parameters
netifthe network interface which should join a new group
groupaddrthe ip address of the group which to join
Returns
ERR_OK if group was joined on the netif, an err_t otherwise
err_t igmp_leavegroup ( const ip4_addr_t ifaddr,
const ip4_addr_t groupaddr 
)

Leave a group on one network interface.

Parameters
ifaddrip address of the network interface which should leave a group
groupaddrthe ip address of the group which to leave
Returns
ERR_OK if group was left on the netif(s), an err_t otherwise
err_t igmp_leavegroup_netif ( struct netif netif,
const ip4_addr_t groupaddr 
)

Leave a group on one network interface.

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