OSPF Constant Enumerations

This module contains all constant enumerations of OSPF implementations. Available enumerations include:

OSPF_Authentication

Authentication Codes [*]

OSPF_Packet

OSPF Packet Types []

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(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntEnum

[Authentication] Authentication Types

No_Authentication = 0

No Authentication [RFC 1583]

Simple_Password_Authentication = 1

Simple Password Authentication [RFC 1583]

Cryptographic_authentication = 2

Cryptographic authentication [RFC 2328][RFC 5709]

Cryptographic_Authentication_with_Extended_Sequence_Numbers = 3

Cryptographic Authentication with Extended Sequence Numbers [RFC 7474]

classmethod _missing_(value)[source]

Lookup function used when value is not found.

Parameters:

value (int) – Value to get enum item.

Return type:

Authentication

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(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntEnum

[Packet] OSPF Packet Types

Reserved_0 = 0

Reserved

Hello = 1

Hello [RFC 2328]

Database_Description = 2

Database Description [RFC 2328]

Link State Request [RFC 2328]

Link State Update [RFC 2328]

Link State Ack [RFC 2328]

classmethod _missing_(value)[source]

Lookup function used when value is not found.

Parameters:

value (int) – Value to get enum item.

Return type:

Packet

Footnotes