Hi,
Does those reassemble example code forget to remove ethernet padding ?
|
assert(!send_packet(complete_datagram, out)); |
The padding is filled while ethernet frame too small which < 64bytes. Then zero padding is extended. Those padding should be removed manually while reassemble those fragments.
You can refer dpdk example:
https://github.com/DPDK/dpdk/blob/4a6672c2d301c105189ae74de73260af204c5ee8/lib/ip_frag/rte_ipv4_reassembly.c#L140
Br,
Christian