Contents

ifnet_resolve_multicast

Declaration

errno_t ifnet_resolve_multicast(ifnet_t ifp, const struct sockaddr *proto_addr, struct sockaddr *ll_addr, size_t ll_len);

Parameters

  • interface:

    The interface.

  • proto_addr:

    A protocol address to be converted to a link-layer address.

  • ll_addr:

    Storage for the resulting link-layer address.

  • ll_len:

    Length of the storage for the link-layer address.

Return Value

0 on success. EOPNOTSUPP indicates the multicast address was not supported or could not be translated. Other errors may indicate other failures.

Discussion

Resolves a multicast address for an attached protocol to a link-layer address. If a link-layer address is passed in, the interface will verify that it is a valid multicast address.

See Also

Network Kernel Extensions