WenyuanShao / eos

this is the eos fork of composite
1 stars 0 forks source link

packet size #5

Open ryuxin opened 5 years ago

ryuxin commented 5 years ago

packet size is defined by EOS_PKT_MAX_SZ https://github.com/WenyuanShao/eos/blob/fwp/src/components/implementation/no_interface/fwp_manager/eos_ring.h#L8

It should be changed according to actual packet size

ryuxin commented 5 years ago

lwip also defines TCP_MSS, which has to be changed accordingly with max packet size in eos. TCP_MSS is max tcp payload, and other header length is 66 in total, so we should have TCP_MSS, + 66 < EOS_PKT_MAX_SZ