When Message data is added to the Transmit queue e.g. using tlm_notify, the stack differentiates between TCP and UDP when adding the new message to the queue. TCP is added to the end of the queue, UDP is added to the beginning.
This leads to a different send order when the queue is being transmitted in the tlc_process. This may lead to issues in Applications which split up a message into several blocks. It is not clear why this differentiation is done or even necessary.
trdp_mdcom.c:trdp_mdDetailSenderPacket():3160-3170
The proposed change would be to always add packets to the end of the transmit queue to send the packets in the order in which they were added to the queue.
Enqueuing at end for UDP and TCP based messages implemented.