OSPF Constant Enumerations

Authentication Codes *

class pcapkit.const.ospf.authentication.Authentication(*args, **kwds)[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 = 2
Cryptographic_Authentication_With_Extended_Sequence_Numbers = 3
No_Authentication = 0
Simple_Password_Authentication = 1

OSPF Packet Type

class pcapkit.const.ospf.packet.Packet(*args, **kwds)[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
Hello = 1
Reserved = 0

*

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