OSPFv3 DBD (ospfv3_dbd)
- レイヤ: L3 (ネットワーク)
- ヘッダ: 可変長
下位レイヤからの到達
| 下位レイヤ | 判別フィールド | 値 |
|---|---|---|
ospfv3 | type | 2 (0x02) |
フィールド
| フィールド | 型 | 既定値 | Auto | 説明 |
|---|---|---|---|---|
reserved1 | uint(8) | 0 | ||
options | flags(24) | 0x13 | OSPFv3 オプション (V6、E、N、R、DC、AF ビット)。 | |
interface_mtu | uint(16) | 1500 | フラグメントなしで送信できる最大 IP データグラム長。 | |
reserved2 | uint(8) | 0 | ||
flags | flags(8) | 0x7 | Database Description フラグ (I = 初期、M = 続きあり、MS = マスタ)。 | |
dd_sequence | uint(32) | 1 | Database Description シーケンス番号。 | |
lsa_headers | list<struct> — PDU の残りすべて | LSA ヘッダ (各 20 オクテット。チェックサムと長さは手動)。 |
options
| ビット | マスク | 名前 |
|---|---|---|
| 0 | 1 (0x000001) | v6 |
| 1 | 2 (0x000002) | e |
| 3 | 8 (0x000008) | n |
| 4 | 16 (0x000010) | r |
| 5 | 32 (0x000020) | dc |
| 8 | 256 (0x000100) | af |
flags
| ビット | マスク | 名前 |
|---|---|---|
| 2 | 4 (0x04) | init |
| 1 | 2 (0x02) | more |
| 0 | 1 (0x01) | master |
lsa_headers
各要素は以下のフィールドの組です。
| フィールド | 型 | 既定値 | Auto | 説明 |
|---|---|---|---|---|
ls_age | uint(16) | |||
ls_type | uint(16) | |||
link_state_id | uint(32) | |||
advertising_router | ipv4 | |||
ls_sequence | uint(32) | |||
ls_checksum | uint(16) | |||
length | uint(16) |
サンプルテンプレート
- ospfv3-dbd —
templates/protocols/routing/ospfv3-dbd.wpg.yaml