riot_sys

Function gnrc_netif_ipv6_group_join_internal

Source
pub unsafe extern "C" fn gnrc_netif_ipv6_group_join_internal(
    netif: *mut gnrc_netif_t,
    addr: *const ipv6_addr_t,
) -> c_int
Expand description

@brief Joins interface to an IPv6 multicast group

@pre (netif != NULL) && (addr != NULL) @pre @p addr is a multicast address (starts with ff00::/8)

@param[in,out] netif the network interface @param[in] addr the address of the multicast group

@note Only available with @ref net_gnrc_ipv6 “gnrc_ipv6”.

@return 0, on success @return -ENOMEM, when no space for new addresses is left on the interface