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

RIP (rip)

下位レイヤからの到達

下位レイヤ判別フィールド値
udpdst_port / src_port520 (0x0208)

フィールド

フィールド型既定値Auto説明
commandenum(8)2 (response)RIP コマンド (1 = 要求、2 = 応答)。
versionuint(8)2RIP バージョン (1 または 2。RIPng は 1)。
zerouint(16)0
entrieslist<struct> — PDU の残りすべて1 要素経路エントリ (AFI、ルートタグ、アドレス、マスク、ネクストホップ、メトリック)。

command

値名前
1 (0x01)request
2 (0x02)response

entries

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

フィールド型既定値Auto説明
afiuint(16)
route_taguint(16)
addressipv4
subnet_maskipv4
next_hopipv4
metricuint(32)

制約

レベル規則
警告version が 1..2 の範囲

サンプルテンプレート