USNavalResearchLaboratory / nrlsmf

NRL Simplified Multicast Forwarding (SMF) implementation (RFC 6621)
https://www.nrl.navy.mil/itd/ncs/products/smf
Other
10 stars 2 forks source link

Allow easier changing of maximum SMF packet size #6

Closed weston-nrl closed 2 years ago

weston-nrl commented 2 years ago

combines various buffer sizes into a single FRAME_SIZE_MAX that sets the maximum message size that SMF will forward

weston-nrl commented 2 years ago

Also, these changes allow 4096-byte packets. >4094 byte packets did not work previously, I think due to mismatching buffer sizes. I have tested changing the FRAME_SIZE_MAX up to 8192 bytes, but have not tried beyond that.