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 Discovery (pppoe_discovery)

下位レイヤからの到達

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

フィールド

フィールド型既定値Auto説明
versionuint(4)1PPPoE プロトコルバージョン (1)。
typeuint(4)1PPPoE タイプ (1)。
codeenum(8)9 (padi)PPPoE コード (PADI / PADO / PADR / PADS / PADT、0 = セッションデータ)。
session_iduint(16)0PPPoE セッション識別子。
lengthuint(16)ヘッダの長さ (オクテット単位) (-6)PPPoE ペイロードの長さ (オクテット、自動)。
tagstlv — length オクテットPPPoE ディスカバリ TAG (16 ビット型、16 ビット長)。

code

値名前
0 (0x00)session_data
9 (0x09)padi
7 (0x07)pado
25 (0x19)padr
101 (0x65)pads
167 (0xa7)padt

tags

  • タイプ 16 ビット、長さ 16 ビット。
  • 長さは値の部分だけを数えます。
  • 未知のタイプは値をオクテット列のまま保持します。
タイプ値名前値のフィールド説明
0 (0x0000)end_of_list
257 (0x0101)service_name
258 (0x0102)ac_name
259 (0x0103)host_uniq
260 (0x0104)ac_cookie
261 (0x0105)vendor_specific
272 (0x0110)relay_session_id
513 (0x0201)service_name_error
514 (0x0202)ac_system_error
515 (0x0203)generic_error

サンプルテンプレート