Maximum legal size of ICMP echo packet

你说的曾经没有我的故事 提交于 2019-12-09 01:00:00

问题


Can someone please explain why maximum legal size of ICMP echo packet is calculated as follows:

65535 - 20 - 8 = 65507

Thanks.


回答1:


65535 bytes is the maximum allowed size of a IPv4 network packet, while 20 and 8 are the sizes of the IP and ICMP headers, which leaves up to 65507 bytes for the ICMP data.



来源:https://stackoverflow.com/questions/9449837/maximum-legal-size-of-icmp-echo-packet

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!