OSPF Constant Enumerations¶
Authentication Types¶
Generated from pcapkit.vendor.ospf.authentication.Authentication.
- class pcapkit.const.ospf.authentication.Authentication(*values)[source]¶
Bases:
EnumRegistry,aenum.IntEnum[Authentication] Authentication Types
- Cryptographic_Authentication_with_Extended_Sequence_Numbers = 3¶
Cryptographic Authentication with Extended Sequence Numbers [RFC 7474]
- 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.
OSPF Packet Types¶
Generated from pcapkit.vendor.ospf.packet.Packet.
- class pcapkit.const.ospf.packet.Packet(*values)[source]¶
Bases:
EnumRegistry,aenum.IntEnum[Packet] OSPF Packet Types
- Reserved_0 = 0¶
Reserved
- 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