int fc_do_retransmission(unsigned int address_index, unsigned int arwnd, unsigned int rtx_bytes, boolean all_data_acked, boolean new_data_acked, unsigned int num_acked, unsigned int number_of_addresses, unsigned int *num_acked_per_address, int number_of_rtx_chunks, chunk_data ** chunks)

function called by Reliable Transfer, when it requests retransmission in SDL diagram this signal is called (Req_RTX, RetransChunks)

Documentation

function called by Reliable Transfer, when it requests retransmission in SDL diagram this signal is called (Req_RTX, RetransChunks)
Parameters:
all_data_acked - indicates whether or not all data chunks have been acked
new_data_acked - indicates whether or not new data has been acked
num_acked - number of bytes that have been newly acked, else 0
number_of_addresses - so many addresses may have outstanding bytes actually that value may also be retrieved from the association struct (?)
num_acked_per_address - array of integers, that hold number of bytes acked for each address
number_of_rtx_chunks - number indicatin, how many chunks are to be retransmitted in on datagram
chunks - array of pointers to data_chunk structures. These are to be retransmitted
Returns:
-1 on error, 0 on success, (1 if problems occurred ?)

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.