PPPoE Constant Enumerations¶
PPPoE Active Discovery Code Fields¶
Generated from pcapkit.vendor.pppoe.code.Code.
- class pcapkit.const.pppoe.code.Code(*values)[source]¶
Bases:
EnumRegistry,aenum.IntEnum[Code] PPPoE Active Discovery Code Fields
- Unassigned_0x08 = 8¶
Unassigned
- PADM_Message = 211¶
PADM, Message [Carrel D., Simone D., Ho C., Stoner T., “Extensions to a Method for Transmitting PPP Over Ethernet (PPPoE)”, work in progress.]
- PADN_Network = 212¶
PADN, Network [Carrel D., Simone D., Ho C., Stoner T., “Extensions to a Method for Transmitting PPP Over Ethernet (PPPoE)”, work in progress.]
- classmethod _validate_value(value)[source]¶
Reject
valueunless it passes the range check_missing_()makes.Overrides
_validate_value()with that check and the message it raises, soregister()refuses exactly the valuesget()refuses, in the same words (#1816).- Parameters:
value (
Any) – Value about to be looked up or minted.- Raises:
EnumValueError – If
valuefails that check. AValueError, so anexcept ValueErrorcaller is unaffected.
PPPoE TAG Values¶
Generated from pcapkit.vendor.pppoe.tag.Tag.
- class pcapkit.const.pppoe.tag.Tag(*values)[source]¶
Bases:
EnumRegistry,aenum.IntEnum[Tag] PPPoE TAG Values
- HURL = 273¶
HURL [Carrel D., Simone D., Ho C., Stoner T., “Extensions to a Method for Transmitting PPP Over Ethernet (PPPoE)”, work in progress.]
- MOTM = 274¶
MOTM [Carrel D., Simone D., Ho C., Stoner T., “Extensions to a Method for Transmitting PPP Over Ethernet (PPPoE)”, work in progress.]
- IP_Route_Add = 289¶
IP_Route_Add [Carrel D., Simone D., Ho C., Stoner T., “Extensions to a Method for Transmitting PPP Over Ethernet (PPPoE)”, work in progress.]
- classmethod _validate_value(value)[source]¶
Reject
valueunless it passes the range check_missing_()makes.Overrides
_validate_value()with that check and the message it raises, soregister()refuses exactly the valuesget()refuses, in the same words (#1816).- Parameters:
value (
Any) – Value about to be looked up or minted.- Raises:
EnumValueError – If
valuefails that check. AValueError, so anexcept ValueErrorcaller is unaffected.
Footnotes