Function openthread_sys::otIp6SetSlaacEnabled
source ยท pub unsafe extern "C" fn otIp6SetSlaacEnabled(
aInstance: *mut otInstance,
aEnabled: bool,
)
Expand description
Enables/disables the SLAAC module.
OPENTHREAD_CONFIG_IP6_SLAAC_ENABLE
build-time feature must 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.