OSPF Constant Enumerations

Authentication Codes *

class pcapkit.const.ospf.authentication.Authentication(value=<no_arg>, names=None, module=None, type=None, start=1, boundary=None)[source]

Bases: aenum.IntEnum

[Authentication] Authentication Types

classmethod _missing_(value)[source]

Lookup function used when value is not found.

static get(key, default=- 1)[source]

Backport support for original codes.

Cryptographic_Authentication_with_Extended_Sequence_Numbers = 3

Cryptographic Authentication with Extended Sequence Numbers [RFC 7474]

Cryptographic_authentication = 2

Cryptographic authentication [RFC 2328][RFC 5709]

No_Authentication = 0

No Authentication [RFC 1583]

Simple_Password_Authentication = 1

Simple Password Authentication [RFC 1583]

OSPF Packet Type

class pcapkit.const.ospf.packet.Packet(value=<no_arg>, names=None, module=None, type=None, start=1, boundary=None)[source]

Bases: aenum.IntEnum

[Packet] OSPF Packet Types

classmethod _missing_(value)[source]

Lookup function used when value is not found.

static get(key, default=- 1)[source]

Backport support for original codes.

Database_Description = 2

Database Description [RFC 2328]

Hello = 1

Hello [RFC 2328]

Link State Ack [RFC 2328]

Link State Request [RFC 2328]

Link State Update [RFC 2328]

Reserved = 0

Reserved


*

https://www.iana.org/assignments/ospf-authentication-codes/ospf-authentication-codes.xhtml#authentication-codes

https://www.iana.org/assignments/ospfv2-parameters/ospfv2-parameters.xhtml#ospfv2-parameters-3