char * vortex_frame_seq_build_up_from_params_buffer ( int  channel_num,
int  ackno,
int  window_size,
char *  buffer,
int  buffer_size,
int *  result_size 
)

Allows to create a new SEQ frame placing the result into the provided buffer.

SEQ frame are especial to BEEP because they allows to control how flow control is handled based on channel window size.

Parameters
channel_numThe channel number where the channel will
acknoThe sequence number expected to be received at the time the SEQ frame was generated.
window_sizeThe window size that the SEQ frame will acknowledge.
bufferThe buffer that will hold the content.
buffer_sizeThe buffer size.
result_sizeReference to an integer variable where the size of the result will be returned.
Returns
A newly allocated raw SEQ frame. Returned value should be deallocated using axl_free.

Referenced by vortex_frame_build_up_from_params_s_buffer().