Fragmentation.

107 views
Skip to first unread message

Jeff Renner

unread,
May 20, 2012, 11:36:33 AM5/20/12
to cubesat-space-protocol
Hi,

I'm giving the first steps testing the CSP protocol.

One simple question arrises me when i look at the rdp implementation.
If the csp packet header + data is
bigger than target interface MTU, it does not perform fragmentation,
right?
The fragmentation is intented to be done at aplication level?

Thanks for you time,

Jeppe Ledet-Pedersen

unread,
May 22, 2012, 1:57:36 PM5/22/12
to cubesat-space-protocol
On May 20, 5:36 pm, Jeff Renner <d1g1t4lsh4...@gmail.com> wrote:
> One simple question arrises me when i look at the rdp implementation.
> If the csp packet header + data is
> bigger than target interface MTU, it does not perform fragmentation,
> right?
> The fragmentation is intented to be done at aplication level?

Hi Jeff,

You're right, the RDP implementation does not perform fragmentation.
For simplicity, we decided to keep the packet-based approach and just
have RDP as an option you give to csp_connect(). You can then use the
same server side code with and without RDP.

We have talked about adding a simple csp_write() function to transmit
a buffer in fixed size chunks with a small sequence number header, but
never got around to doing it. Feel free to send us a patch if you
write the code :)

Best regards,
-Jeppe
Reply all
Reply to author
Forward
0 new messages