本文介绍了udp原始套接字的数据包分片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
问题的后续
如果我有一个原始套接字实现这样:
If I have a raw socket implemented as such:
c> c>
- Fragment Offset: set to 0 in the first packet, and 1480 in the second;
- Total Length: set to 1480 plus the header length in the first packet, and 276 plus the header length in the second packet;
- MF flag: set to 1 in the first packet and 0 in the second;
- Header Checksum: Recalculated over the different headers as appropriate.
这篇关于udp原始套接字的数据包分片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!