Contents

ifnet_set_addrlen

Declaration

errno_t ifnet_set_addrlen(ifnet_t interface, u_int8_t addrlen);

Parameters

  • interface:

    The interface.

  • addrlen:

    The new address length.

Return Value

0 on success otherwise the errno error.

Discussion

This function is intended to be called by the driver. A kext must not call this function on an interface the kext does not own.

See Also

Network Kernel Extensions