OSPF Constant Enumerations¶
This module contains all constant enumerations of
OSPF implementations. Available
enumerations include:
Authentication Types¶
This module contains the constant enumeration for Authentication Types,
which is automatically generated from pcapkit.vendor.ospf.authentication.Authentication.
- class pcapkit.const.ospf.authentication.Authentication(*values)[source]¶
Bases:
EnumRegistry,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¶
This module contains the constant enumeration for OSPF Packet Types,
which is automatically generated from pcapkit.vendor.ospf.packet.Packet.
- class pcapkit.const.ospf.packet.Packet(*values)[source]¶
Bases:
EnumRegistry,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