ICMP超时消息格式

报文格式

图1 ICMP超时消息格式
字段 长度 含义
Type 1字节 消息类型,此处值为3。
Code 1字节 消息代码:
  • 0 = time to live exceeded in transit
  • 1 = fragment reassembly time exceeded
Checksum 2字节 检验和。
Internet Header + 64 bits of Original Data Datagram 可变 IP头和原始数据包的前64比特数据。该数据是主机用来匹配消息。对于更高层协议的用户端口号,原始数据包的前64比特的这些数据会被重组。

报文示例

图2 ICMP超时消息

参考标准

标准 描述
RFC 792 Internet Control Message Protocol

本资料收集于互联网
2016 ©