Contents

ifnet_get_multicast_list

Declaration

errno_t ifnet_get_multicast_list(ifnet_t interface, ifmultiaddr_t **addresses);

Parameters

  • interface:

    The interface.

  • multicasts:

    A pointer to a NULL terminated array of references to the multicast addresses.

Return Value

0 on success otherwise the errno error.

Discussion

Retrieves a list of multicast address the interface is set to receive. This function allocates and returns an array of references to the various multicast addresses. The multicasts have their reference counts bumped on your behalf. Calling ifnet_free_multicast_list will decrement the reference counts and free the array.

See Also

Network Kernel Extensions