跳到主要内容

4. 发送 DNA Phase IV 路由数据包

在可以传送任何 DNA Phase IV Routing 数据包之前, PPP 必须进入网络层协议阶段, 并且 DNA Phase IV Routing Control Protocol 必须进入 Opened 状态.

恰好一个八位组计数 (octet-count) 字段和一个 DNA Phase IV Routing 数据包被封装在 PPP 数据链路层帧的信息字段中, 其中 Protocol 字段指示类型 hex 0027 (DNA Phase IV Routing). 该八位组计数包含 DNA Phase IV Routing 数据包中的八位组数量. 它自身长度为两个八位组, 并以 VAX 字节序存储, 以便与通过 Ethernet 传输的 DNA Phase IV Routing 更为一致 (即最低有效字节在前). 它是为了消除可选填充八位组与真实信息之间的歧义所必需的.

通过 PPP 链路传输的 DNA Phase IV Routing 数据包的最大长度, 等于 PPP 数据链路层帧信息字段的最大长度减去 2 个八位组 (用于 Length 字段).

数据包本身的格式与通过 Ethernet 传输时所用的格式相同, 但不包含 Ethernet 头部, Pad 和 FCS 字段.

信息字段的概要如下所示. 字段从左到右传输.

      0                   1                   2                   3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Length LSB | Length MSB | DATA | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   Length LSB

Least significant byte of length field

Length MSG

Most significant byte of length field

DATA

DNA Phase IV Routing data, as specified in [2]