pub unsafe extern "C" fn otTcpSendByExtension(
aEndpoint: *mut otTcpEndpoint,
aNumBytes: usize,
aFlags: u32,
) -> otError
Expand description
Adds data to the send buffer by extending the length of the final otLinkedBuffer in the send buffer by the specified amount.
If the send buffer is empty, then the operation fails.
@param[in] aEndpoint A pointer to the TCP endpoint structure representing the TCP endpoint on which to send data. @param[in] aNumBytes The number of bytes by which to extend the length of the final linked buffer. @param[in] aFlags Flags specifying options for this operation (see enumeration above).
@retval OT_ERROR_NONE Successfully added data to the send buffer. @retval OT_ERROR_FAILED Failed to add data to the send buffer.