网间头部格式
为方便起见,此处重现当前的网间(Internetwork)协议头部和 TCP 头部:
Octet Bit Use (Width)
--- Beginning of protocol-independent information ---
0 Destination net (8)
1-3 Destination host (24)
4 Source net (8)
5-7 Source host (24)
8-9 Data length in octets (16)
10 Header length in octets (8)
11 0-3 Format (4)
该字段用于选择相应的网关处理方式,并把数据包分派给目的端合适的协议模块。该字段定义了以下取值:
- 0 -- 转义;协议由后续字段指定
- 1 -- TCP
- 2 -- 安全 TCP
- 3-16 -- 未分配
- 17 -- 跨网调试(Cross internet debugging)
--- End of protocol-independent information