ot::BorderRouter::RoutingManager::SetExtraRouterAdvertOptions() method
Sets additional options to append at the end of emitted Router Advertisement (RA) messages. The content of @p aOptions is copied internally, so can be a temporary stack variable. Subsequent calls to this method will overwrite the previously set value.
Arguments
aOptions
A pointer to the encoded options. Can be `nullptr` to clear.
aLength
Number of bytes in @p aOptions.
Return value
kErrorNone Successfully set the extra option bytes. kErrorNoBufs Could not allocate buffer to save the buffer.
ot::BorderRouter::RoutingManager::SetExtraRouterAdvertOptions() reads 1 variable:
![]()
ot::BorderRouter::RoutingManager::SetExtraRouterAdvertOptions()