Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

OSPFv2 Router-LSA (ospfv2_router_lsa)

  • レイヤ: L3 (ネットワーク)
  • ヘッダ: 可変長

下位レイヤからの到達

下位レイヤ判別フィールド値
ospfv2_lsals_type1 (0x01)

フィールド

フィールド型既定値Auto説明
flagsflags(8)0x0Router-LSA フラグ (V = 仮想リンク端点、E = ASBR、B = ABR)。
reserveduint(8)0
num_linksuint(16)links の要素数記述するルータリンクの数。
linkslist<struct> — PDU の残りすべて1 要素ルータリンク (リンク ID、リンクデータ、タイプ、TOS 数、メトリック)。

flags

ビットマスク名前
24 (0x04)v
12 (0x02)e
01 (0x01)b

各要素は以下のフィールドの組です。

フィールド型既定値Auto説明
link_idipv4
link_dataipv4
typeenum(8)
num_tosuint(8)
metricuint(16)
値名前
1 (0x01)point_to_point
2 (0x02)transit
3 (0x03)stub
4 (0x04)virtual_link

サンプルテンプレート