Function

ifnet_llbroadcast_copy_bytes

Declaration

errno_t ifnet_llbroadcast_copy_bytes(ifnet_t interface, void *addr, size_t bufferlen, size_t *out_len);

Parameters

interface

The interface.

addr

A buffer to copy the broadcast address in to.

bufferlen

The length of the buffer at addr.

addr_len

On return, the length of the broadcast address.

lladdr_len

The length, in bytes, of the link layer address.

Discussion

Retrieves the link-layer broadcast address for this interface.