ICMP重定向消息格式
网络协议报文格式大全
http://bbs.hh010.com/thread-531884-1-1.html
(出处: 鸿鹄论坛)
ICMP重定向消息格式
报文格式图1 ICMP重定向消息格式
http://www.023wg.com/message/message/image/icmp-format-redirect.png
字段长度含义
Type1字节消息类型,此处值为5。
Code1字节消息代码:
[*]0 = Redirect datagrams for the Network
[*]1 = Redirect datagrams for the Host.
[*]2 = Redirect datagrams for the Type of Service and Network.
[*]3 = Redirect datagrams for the Type of Service and Host.
Checksum2字节检验和。
Gateway Internet Address4字节即原始数据包里的IP目的地址域。
Internet Header + 64 bits of Original Data Datagram可变IP头和原始数据包的前64比特数据。该数据是主机用来匹配消息。对于更高层协议的用户端口号,原始数据包的前64比特的这些数据会被重组。
报文示例图2 ICMP重定向消息
http://www.023wg.com/message/message/image/ICMP-Redirect.png
参考标准
标准描述
RFC 792Internet Control Message Protocol
感謝版主!
页:
[1]