[][src]Function openthread_sys::otIp6SetSlaacEnabled

pub unsafe extern "C" fn otIp6SetSlaacEnabled(
    aInstance: *mut otInstance,
    aEnabled: bool
)

This function enables/disables the SLAAC module.

This function requires the build-time feature OPENTHREAD_CONFIG_IP6_SLAAC_ENABLE to be enabled.

When SLAAC module is enabled, SLAAC addresses (based on on-mesh prefixes in Network Data) are added to the interface. When SLAAC module is disabled any previously added SLAAC address is removed.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aEnabled TRUE to enable, FALSE to disable.