Are you an LLM? You can read better optimized documentation at /zh/docs/UB-Base-Specification-2.1.0/network-layer/network-header-nth/packet-header-based-on-the-16-bit-cna-format.md for this page in Markdown format
基于16-bit CNA地址格式的包头
Byte0 | Byte1 | Byte2 | Byte3 |
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
LPH | RT | LPH |
SCNA | DCNA |
CCI | LBF | SL | Mgmt | NLP |
Payload |
图 5-2 基于16-bit CNA地址格式的网络层包头
表 5-1 基于16-bit CNA地址格式的网络层包头域段
域段名 | 位宽(bit) | 描述 |
|---|
RT | 2 | Routing Type,路由类型(见5.3.2节)。该域段由LPH携带,在网络层中使用。 RT[0]:0,逐流负载均衡; RT[0]:1,逐包负载均衡; RT[1]:0,基于路由表指示的全部可达路径选路; RT[1]:1,基于路由表指示的最短路径集选路。 |
SCNA | 16 | Source CNA,源简短网络地址。 |
DCNA | 16 | Destination CNA,目的简短网络地址。 |
CCI | 16 | Congestion Control Indicator,用于传递拥塞控制信息(见5.3.5节)。 |
LBF | 8 | Load Balance Factor,负载均衡因子,可以作为多路径选择因子使用。LBF域段的取值由发送端生成,本规范不做约束。 |
SL | 4 | Service Level,服务优先级,用于标识链路上数据包的优先级。 |
Mgmt | 1 | LPH.CFG == 6:UBFM特权比特,UBFM发出的数据包中该bit值为1。 LPH.CFG == 9:该位无效,应为0。 |
NLP | 3 | Next Layer Protocol,指示NTH后续的数据包格式 LPH.CFG == 5: - 3'b110:为ReliableRerouting_LastAckMsg;
- Others:Reserved。
LPH.CFG == 6: - 3'b000:为CTPH,由CTPH.NLP指示后续格式;
- 3'b001:为16-bit UPIH,用于枚举管理命令;
- Others:Reserved。
LPH.CFG == 9: - 3'b000:为TAH;
- Others:Reserved。
|