pub unsafe extern "C" fn otIp6NewMessage(
    aInstance: *mut otInstance,
    aSettings: *const otMessageSettings
) -> *mut otMessage
Expand description

Allocate a new message buffer for sending an IPv6 message.

@note If @p aSettings is ‘NULL’, the link layer security is enabled and the message priority is set to OT_MESSAGE_PRIORITY_NORMAL by default.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aSettings A pointer to the message settings or NULL to set default settings.

@returns A pointer to the message buffer or NULL if no message buffers are available or parameters are invalid.

@sa otMessageFree