pub unsafe extern "C" fn otBorderRoutingSetExtraRouterAdvertOptions(
aInstance: *mut otInstance,
aOptions: *const u8,
aLength: u16,
) -> otError
Expand description
Sets additional options to append at the end of emitted Router Advertisement (RA) messages.
The content of @p aOptions is copied internally, so it can be a temporary buffer (e.g., a stack allocated array).
Subsequent calls to this function overwrite the previously set value.
@param[in] aOptions A pointer to the encoded options. Can be NULL
to clear.
@param[in] aLength Number of bytes in @p aOptions.
@retval OT_ERROR_NONE Successfully set the extra option bytes. @retval OT_ERROR_NO_BUFS Could not allocate buffer to save the buffer.