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

PPPoE Session (pppoe_session)

下位レイヤからの到達

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

フィールド

フィールド型既定値Auto説明
versionuint(4)1PPPoE プロトコルバージョン (1)。
typeuint(4)1PPPoE タイプ (1)。
codeuint(8)0PPPoE コード (PADI / PADO / PADR / PADS / PADT、0 = セッションデータ)。
session_iduint(16)1PPPoE セッション識別子。
lengthuint(16)ペイロードの長さ (オクテット単位)PPPoE ペイロードの長さ (オクテット、自動)。

次レイヤ

次レイヤは session_id で判別します。このフィールドが Auto のときは、上に積んだプロトコルの値を書き込みます。

値プロトコル備考
(その他の値)ppp

サンプルテンプレート