Enable()
Enables the SLAAC module. When enabled, new SLAAC addresses are generated and added from on-mesh prefixes in network data.
Disable()
Disables the SLAAC module. When disabled, any previously added SLAAC address by this module is removed.
IsEnabled() const
Indicates whether SLAAC module is enabled or not.
SetFilter()
Sets a SLAAC prefix filter handler. The handler is invoked by SLAAC module when it is about to add a SLAAC address based on a prefix. The return boolean value from handler determines whether the address is filtered or added (TRUE to filter the address, FALSE to add address). The filter can be set to `nullptr` to disable filtering (i.e., allow SLAAC addresses for all prefixes).
GenerateIid() const
Generates the IID of an IPv6 address.
FindDomainIdFor() const
Searches in the list of deprecating SLAAC prefixes for a match to a given address and if found, returns the Domain ID from the Prefix TLV in the Network Data for this SLAAC prefix. The `Slaac` module keeps track of the associated Domain IDs for deprecating SLAAC prefixes, even if the related Prefix TLV has already been removed from the Network Data. This information is used during external route lookup if a deprecating SLAAC address is used as the source address in an outbound message.
IsSlaac() const
IsFiltered() const
RemoveOrDeprecateAddresses()
RemoveAllAddresses()
AddAddresses()
DeprecateAddress()
RemoveAddress()
AddAddressFor()
UpdateContextIdFor()
HandleTimer()
GetIidSecretKey() const
HandleNotifierEvents()
LogAddress()
DoesConfigMatchNetifAddr()