OSPFv1 Constant Enumerations¶
Added in version 1.8.1.
OSPFv1 Authentication Types¶
Generated from pcapkit.vendor.ospfv1.authentication.Authentication. Its
source is RFC 1131, published as PostScript alone, so the crawler reads its
module’s DATA mapping instead of fetching a URL.
- class pcapkit.const.ospfv1.authentication.Authentication(*values)[source]¶
Bases:
EnumRegistry,aenum.IntEnum[Authentication] OSPFv1 Authentication Types
- 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.
OSPFv1 Packet Types¶
Generated from pcapkit.vendor.ospfv1.packet.Packet, from the DATA
mapping of its module as well.
- class pcapkit.const.ospfv1.packet.Packet(*values)[source]¶
Bases:
EnumRegistry,aenum.IntEnum[Packet] OSPFv1 Packet Types
- 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