PPPoE Vendor Crawlers

PPPoE_Code

PPPoE Active Discovery Code Fields [*]

PPPoE_Tag

PPPoE TAG Values [†]

PPPoE Active Discovery Code Fields

Generates pcapkit.const.pppoe.code.Code.

class pcapkit.vendor.pppoe.code.Code[source]

Bases: Vendor

PPPoE Active Discovery Code Fields

FLAG: str = 'isinstance(value, int) and 0x00 <= value <= 0xFF'

Value limit checker.

Link to registry.

WIDTH = 2

Digits of a value in hex form.

hexlify(code)[source]

Convert code to hex form.

Parameters:

code (int) – Field code.

Return type:

str

Returns:

The code as 0x and WIDTH upper-case hex digits.

PPPoE TAG Values

Generates pcapkit.const.pppoe.tag.Tag.

class pcapkit.vendor.pppoe.tag.Tag[source]

Bases: Code

PPPoE TAG Values

FLAG: str = 'isinstance(value, int) and 0x0000 <= value <= 0xFFFF'

Value limit checker.

Link to registry.

WIDTH = 4

Digits of a value in hex form.

Footnotes