Embedded TCP/IP stack  4.7.0

◆ fnet_netif_join_ip4_multicast()

void fnet_netif_join_ip4_multicast ( fnet_netif_desc_t  netif_desc,
fnet_ip4_addr_t  multicast_addr 
)

Joins the specified network interface to IPv4 multicast group.

Parameters
netif_descNetwork interface descriptor.
multicast_addrMulticast-group address to be joined by the interface.
See also
fnet_netif_leave_ip4_multicast()

This function configures the HW interface to receive particular multicast address. When the network interface picks up a packet which has a destination that matches any of the joined-multicast addresses, it will pass it to the upper layers for further processing.

Note
User application should not call this function.
This function is available only if FNET_CFG_MULTICAST and FNET_CFG_IP4 are set to 1.

© 2005-2020 by Andrej Butok. http://fnet.sourceforge.net