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)

Reached from

Lower layerSelectorValue
ethernet2ethertype34916 (0x8864)

Fields

FieldTypeDefaultAutoDescription
versionuint(4)1PPPoE protocol version (1).
typeuint(4)1PPPoE type (1).
codeuint(8)0PPPoE code (PADI / PADO / PADR / PADS / PADT, 0 = session data).
session_iduint(16)1PPPoE session identifier.
lengthuint(16)Length of the payload in octetsLength of the PPPoE payload, in octets (Auto).

Next layer

The next layer is selected by session_id; when the field is Auto the builder writes the value of the protocol stacked above.

ValueProtocolNote
(any other value)ppp

Sample templates