IPv6 Constant Enumerations

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

IPv6_ExtensionHeader

IPv6 Extension Header Types [*]

IPv6_Option

Destination Options and Hop-by-Hop Options [†]

IPv6_OptionAction

Option Actions [‡]

IPv6_QSFunction

IPv6 QS Functions

IPv6_RouterAlert

IPv6 Router Alert Option Values [§]

IPv6_Routing

Routing Types []

IPv6_SeedID

Seed-ID Types

IPv6_SMFDPDMode

Simplified Multicast Forwarding Duplicate Packet Detection (SMF_DPD) Options

IPv6_TaggerID

Tagger-ID Types [#]

IPv6 Extension Header Types

This module contains the constant enumeration for IPv6 Extension Header Types, which is automatically generated from pcapkit.vendor.ipv6.extension_header.ExtensionHeader.

class pcapkit.const.ipv6.extension_header.ExtensionHeader(*values)[source]

Bases: EnumRegistry, IntEnum

[ExtensionHeader] IPv6 Extension Header Types

Changed in version 1.5.0: Generated from IANA’s IPv6 Extension Header Types registry, where it was generated from the protocol-numbers registry (#925).

HOPOPT = 0

HOPOPT, IPv6 Hop-by-Hop Option [RFC 8200]

IPv6_Route = 43

IPv6-Route, Routing Header for IPv6 [RFC 8200][RFC 5095]

IPv6_Frag = 44

IPv6-Frag, Fragment Header for IPv6 [RFC 8200]

ESP = 50

ESP, Encapsulating Security Payload [RFC 4303]

AH = 51

AH, Authentication Header [RFC 4302]

IPv6_Opts = 60

IPv6-Opts, Destination Options for IPv6 [RFC 8200]

Mobility_Header = 135

Mobility Header [RFC 6275]

HIP = 139

HIP, Host Identity Protocol [RFC 7401]

Shim6 = 140

Shim6, Shim6 Protocol [RFC 5533]

Use_for_experimentation_and_testing_253 = 253

Use for experimentation and testing [RFC 3692][RFC 4727]

Use_for_experimentation_and_testing_254 = 254

Use for experimentation and testing [RFC 3692][RFC 4727]

classmethod _validate_value(value)[source]

Reject value unless it fits the 8-bit Next Header field.

Overrides _validate_value() so that register() refuses a value no extension header can carry, as get() does, in the same words (#1816). There is no _missing_ here to take a range from – the constructor refuses every value no member carries – so the range is that of the Next Header field an extension header type is sent in (RFC 8200 Section 3), and an unassigned type within it may still be minted.

Parameters:

value (Any) – Value about to be looked up or minted.

Raises:

EnumValueError – If value is not an int in 0-255. A ValueError, so an except     ValueError caller is unaffected.

Option Actions

This module contains the constant enumeration for Option Actions, which is automatically generated from pcapkit.vendor.ipv6.option_action.OptionAction.

class pcapkit.const.ipv6.option_action.OptionAction(*values)[source]

Bases: EnumRegistry, IntEnum

[OptionAction] Option Actions

skip = 0
discard = 1
discard_icmp_any = 2
discard_icmp_unicast = 3
classmethod _validate_value(value)[source]

Reject value unless it passes the range check _missing_() makes.

Overrides _validate_value() with that check and the message it raises, so register() refuses exactly the values get() refuses, in the same words (#1816).

Parameters:

value (Any) – Value about to be looked up or minted.

Raises:

EnumValueError – If value fails that check. A ValueError, so an except ValueError caller is unaffected.

classmethod _missing_(value)[source]

Lookup function used when value is not found.

Parameters:

value (int) – Value to get enum item.

Return type:

OptionAction

Destination Options and Hop-by-Hop Options

This module contains the constant enumeration for Destination Options and Hop-by-Hop Options, which is automatically generated from pcapkit.vendor.ipv6.option.Option.

class pcapkit.const.ipv6.option.Option(*values)[source]

Bases: EnumRegistry, IntEnum

[Option] Destination Options and Hop-by-Hop Options

Pad1 = 0

Pad1 [RFC 2460]

PadN = 1

PadN [RFC 2460]

Jumbo_Payload = 194

Jumbo Payload [RFC 2675]

RPL_Option_0x23 = 35

RPL Option [RFC 9008]

RPL_Option_0x63 = 99

RPL Option (DEPRECATED) [RFC 6553][RFC 9008]

Tunnel_Encapsulation_Limit = 4

Tunnel Encapsulation Limit [RFC 2473]

Router_Alert = 5

Router Alert (DEPRECATED for New Protocols) [RFC 2711][RFC 9805]

Quick_Start = 38

Quick-Start [RFC 4782][RFC Errata 2034]

CALIPSO = 7

CALIPSO [RFC 5570]

SMF_DPD = 8

SMF_DPD [RFC 6621]

Home_Address = 201

Home Address [RFC 6275]

Endpoint_Identification = 138

Endpoint Identification (DEPRECATED) [CHARLES LYNN]

ILNP_Nonce = 139

ILNP Nonce [RFC 6744]

Line_Identification_Option = 140

Line-Identification Option [RFC 6788]

Deprecated = 77

Deprecated [RFC 7731]

MPL_Option = 109

MPL Option [RFC 7731]

IP_DFF = 238

IP_DFF [RFC 6971]

PDM = 15

Performance and Diagnostic Metrics (PDM) [RFC 8250]

Minimum_Path_MTU_Hop_by_Hop_Option = 48

Minimum Path MTU Hop-by-Hop Option [RFC 9268]

IOAM_Destination_Option_and_IOAM_Hop_by_Hop_Option_0x11 = 17

IOAM Destination Option and IOAM Hop-by-Hop Option [RFC 9486]

IOAM_Destination_Option_and_IOAM_Hop_by_Hop_Option_0x31 = 49

IOAM Destination Option and IOAM Hop-by-Hop Option [RFC 9486]

AltMark = 18

AltMark [RFC 9343]

RFC3692_style_Experiment_0x1E = 30

RFC3692-style Experiment [RFC 4727]

RFC3692_style_Experiment_0x3E = 62

RFC3692-style Experiment [RFC 4727]

RFC3692_style_Experiment_0x5E = 94

RFC3692-style Experiment [RFC 4727]

RFC3692_style_Experiment_0x7E = 126

RFC3692-style Experiment [RFC 4727]

RFC3692_style_Experiment_0x9E = 158

RFC3692-style Experiment [RFC 4727]

RFC3692_style_Experiment_0xBE = 190

RFC3692-style Experiment [RFC 4727]

RFC3692_style_Experiment_0xDE = 222

RFC3692-style Experiment [RFC 4727]

RFC3692_style_Experiment_0xFE = 254

RFC3692-style Experiment [RFC 4727]

classmethod _validate_value(value)[source]

Reject value unless it passes the range check _missing_() makes.

Overrides _validate_value() with that check and the message it raises, so register() refuses exactly the values get() refuses, in the same words (#1816).

Parameters:

value (Any) – Value about to be looked up or minted.

Raises:

EnumValueError – If value fails that check. A ValueError, so an except ValueError caller is unaffected.

classmethod _missing_(value)[source]

Lookup function used when value is not found.

Parameters:

value (int) – Value to get enum item.

Return type:

Option

QS Functions

This module contains the constant enumeration for QS Functions, which is automatically generated from pcapkit.vendor.ipv6.qs_function.QSFunction.

class pcapkit.const.ipv6.qs_function.QSFunction(*values)[source]

Bases: EnumRegistry, IntEnum

[QSFunction] QS Functions

Quick_Start_Request = 0
Report_of_Approved_Rate = 8
classmethod _validate_value(value)[source]

Reject value unless it passes the range check _missing_() makes.

Overrides _validate_value() with that check and the message it raises, so register() refuses exactly the values get() refuses, in the same words (#1816).

Parameters:

value (Any) – Value about to be looked up or minted.

Raises:

EnumValueError – If value fails that check. A ValueError, so an except ValueError caller is unaffected.

classmethod _missing_(value)[source]

Lookup function used when value is not found.

Parameters:

value (int) – Value to get enum item.

Return type:

QSFunction

IPv6 Router Alert Option Values

This module contains the constant enumeration for IPv6 Router Alert Option Values, which is automatically generated from pcapkit.vendor.ipv6.router_alert.RouterAlert.

class pcapkit.const.ipv6.router_alert.RouterAlert(*values)[source]

Bases: EnumRegistry, IntEnum

[RouterAlert] IPv6 Router Alert Option Values

Datagram_contains_a_Multicast_Listener_Discovery_message = 0

Datagram contains a Multicast Listener Discovery message [RFC 2710]

Datagram_contains_RSVP_message = 1

Datagram contains RSVP message [RFC 2711]

Datagram_contains_an_Active_Networks_message = 2

Datagram contains an Active Networks message [RFC 2711]

Reserved_3 = 3

Reserved [RFC 5350]

Aggregated_Reservation_Nesting_Level_0 = 4

Aggregated Reservation Nesting Level [RFC 3175]

Aggregated_Reservation_Nesting_Level_1 = 5

Aggregated Reservation Nesting Level [RFC 3175]

Aggregated_Reservation_Nesting_Level_2 = 6

Aggregated Reservation Nesting Level [RFC 3175]

Aggregated_Reservation_Nesting_Level_3 = 7

Aggregated Reservation Nesting Level [RFC 3175]

Aggregated_Reservation_Nesting_Level_4 = 8

Aggregated Reservation Nesting Level [RFC 3175]

Aggregated_Reservation_Nesting_Level_5 = 9

Aggregated Reservation Nesting Level [RFC 3175]

Aggregated_Reservation_Nesting_Level_6 = 10

Aggregated Reservation Nesting Level [RFC 3175]

Aggregated_Reservation_Nesting_Level_7 = 11

Aggregated Reservation Nesting Level [RFC 3175]

Aggregated_Reservation_Nesting_Level_8 = 12

Aggregated Reservation Nesting Level [RFC 3175]

Aggregated_Reservation_Nesting_Level_9 = 13

Aggregated Reservation Nesting Level [RFC 3175]

Aggregated_Reservation_Nesting_Level_10 = 14

Aggregated Reservation Nesting Level [RFC 3175]

Aggregated_Reservation_Nesting_Level_11 = 15

Aggregated Reservation Nesting Level [RFC 3175]

Aggregated_Reservation_Nesting_Level_12 = 16

Aggregated Reservation Nesting Level [RFC 3175]

Aggregated_Reservation_Nesting_Level_13 = 17

Aggregated Reservation Nesting Level [RFC 3175]

Aggregated_Reservation_Nesting_Level_14 = 18

Aggregated Reservation Nesting Level [RFC 3175]

Aggregated_Reservation_Nesting_Level_15 = 19

Aggregated Reservation Nesting Level [RFC 3175]

Aggregated_Reservation_Nesting_Level_16 = 20

Aggregated Reservation Nesting Level [RFC 3175]

Aggregated_Reservation_Nesting_Level_17 = 21

Aggregated Reservation Nesting Level [RFC 3175]

Aggregated_Reservation_Nesting_Level_18 = 22

Aggregated Reservation Nesting Level [RFC 3175]

Aggregated_Reservation_Nesting_Level_19 = 23

Aggregated Reservation Nesting Level [RFC 3175]

Aggregated_Reservation_Nesting_Level_20 = 24

Aggregated Reservation Nesting Level [RFC 3175]

Aggregated_Reservation_Nesting_Level_21 = 25

Aggregated Reservation Nesting Level [RFC 3175]

Aggregated_Reservation_Nesting_Level_22 = 26

Aggregated Reservation Nesting Level [RFC 3175]

Aggregated_Reservation_Nesting_Level_23 = 27

Aggregated Reservation Nesting Level [RFC 3175]

Aggregated_Reservation_Nesting_Level_24 = 28

Aggregated Reservation Nesting Level [RFC 3175]

Aggregated_Reservation_Nesting_Level_25 = 29

Aggregated Reservation Nesting Level [RFC 3175]

Aggregated_Reservation_Nesting_Level_26 = 30

Aggregated Reservation Nesting Level [RFC 3175]

Aggregated_Reservation_Nesting_Level_27 = 31

Aggregated Reservation Nesting Level [RFC 3175]

Aggregated_Reservation_Nesting_Level_28 = 32

Aggregated Reservation Nesting Level [RFC 3175]

Aggregated_Reservation_Nesting_Level_29 = 33

Aggregated Reservation Nesting Level [RFC 3175]

Aggregated_Reservation_Nesting_Level_30 = 34

Aggregated Reservation Nesting Level [RFC 3175]

Aggregated_Reservation_Nesting_Level_31 = 35

Aggregated Reservation Nesting Level [RFC 3175]

QoS_NSLP_Aggregation_Level_0 = 36

QoS NSLP Aggregation Levels 0-31 [RFC 5974]

QoS_NSLP_Aggregation_Level_1 = 37

QoS NSLP Aggregation Levels 0-31 [RFC 5974]

QoS_NSLP_Aggregation_Level_2 = 38

QoS NSLP Aggregation Levels 0-31 [RFC 5974]

QoS_NSLP_Aggregation_Level_3 = 39

QoS NSLP Aggregation Levels 0-31 [RFC 5974]

QoS_NSLP_Aggregation_Level_4 = 40

QoS NSLP Aggregation Levels 0-31 [RFC 5974]

QoS_NSLP_Aggregation_Level_5 = 41

QoS NSLP Aggregation Levels 0-31 [RFC 5974]

QoS_NSLP_Aggregation_Level_6 = 42

QoS NSLP Aggregation Levels 0-31 [RFC 5974]

QoS_NSLP_Aggregation_Level_7 = 43

QoS NSLP Aggregation Levels 0-31 [RFC 5974]

QoS_NSLP_Aggregation_Level_8 = 44

QoS NSLP Aggregation Levels 0-31 [RFC 5974]

QoS_NSLP_Aggregation_Level_9 = 45

QoS NSLP Aggregation Levels 0-31 [RFC 5974]

QoS_NSLP_Aggregation_Level_10 = 46

QoS NSLP Aggregation Levels 0-31 [RFC 5974]

QoS_NSLP_Aggregation_Level_11 = 47

QoS NSLP Aggregation Levels 0-31 [RFC 5974]

QoS_NSLP_Aggregation_Level_12 = 48

QoS NSLP Aggregation Levels 0-31 [RFC 5974]

QoS_NSLP_Aggregation_Level_13 = 49

QoS NSLP Aggregation Levels 0-31 [RFC 5974]

QoS_NSLP_Aggregation_Level_14 = 50

QoS NSLP Aggregation Levels 0-31 [RFC 5974]

QoS_NSLP_Aggregation_Level_15 = 51

QoS NSLP Aggregation Levels 0-31 [RFC 5974]

QoS_NSLP_Aggregation_Level_16 = 52

QoS NSLP Aggregation Levels 0-31 [RFC 5974]

QoS_NSLP_Aggregation_Level_17 = 53

QoS NSLP Aggregation Levels 0-31 [RFC 5974]

QoS_NSLP_Aggregation_Level_18 = 54

QoS NSLP Aggregation Levels 0-31 [RFC 5974]

QoS_NSLP_Aggregation_Level_19 = 55

QoS NSLP Aggregation Levels 0-31 [RFC 5974]

QoS_NSLP_Aggregation_Level_20 = 56

QoS NSLP Aggregation Levels 0-31 [RFC 5974]

QoS_NSLP_Aggregation_Level_21 = 57

QoS NSLP Aggregation Levels 0-31 [RFC 5974]

QoS_NSLP_Aggregation_Level_22 = 58

QoS NSLP Aggregation Levels 0-31 [RFC 5974]

QoS_NSLP_Aggregation_Level_23 = 59

QoS NSLP Aggregation Levels 0-31 [RFC 5974]

QoS_NSLP_Aggregation_Level_24 = 60

QoS NSLP Aggregation Levels 0-31 [RFC 5974]

QoS_NSLP_Aggregation_Level_25 = 61

QoS NSLP Aggregation Levels 0-31 [RFC 5974]

QoS_NSLP_Aggregation_Level_26 = 62

QoS NSLP Aggregation Levels 0-31 [RFC 5974]

QoS_NSLP_Aggregation_Level_27 = 63

QoS NSLP Aggregation Levels 0-31 [RFC 5974]

QoS_NSLP_Aggregation_Level_28 = 64

QoS NSLP Aggregation Levels 0-31 [RFC 5974]

QoS_NSLP_Aggregation_Level_29 = 65

QoS NSLP Aggregation Levels 0-31 [RFC 5974]

QoS_NSLP_Aggregation_Level_30 = 66

QoS NSLP Aggregation Levels 0-31 [RFC 5974]

QoS_NSLP_Aggregation_Level_31 = 67

QoS NSLP Aggregation Levels 0-31 [RFC 5974]

NSIS_NATFW_NSLP = 68

NSIS NATFW NSLP [RFC 5973]

MPLS_OAM = 69

MPLS OAM (DEPRECATED) [RFC 7506][RFC 9570]

Reserved_65535 = 65535

Reserved [The Internet Assigned Numbers Authority]

classmethod _validate_value(value)[source]

Reject value unless it passes the range check _missing_() makes.

Overrides _validate_value() with that check and the message it raises, so register() refuses exactly the values get() refuses, in the same words (#1816).

Parameters:

value (Any) – Value about to be looked up or minted.

Raises:

EnumValueError – If value fails that check. A ValueError, so an except ValueError caller is unaffected.

classmethod _missing_(value)[source]

Lookup function used when value is not found.

Parameters:

value (int) – Value to get enum item.

Return type:

RouterAlert

IPv6 Routing Types

This module contains the constant enumeration for IPv6 Routing Types, which is automatically generated from pcapkit.vendor.ipv6.routing.Routing.

class pcapkit.const.ipv6.routing.Routing(*values)[source]

Bases: EnumRegistry, IntEnum

[Routing] IPv6 Routing Types

Source_Route = 0

Source Route (DEPRECATED) [RFC 2460][RFC 5095]

Nimrod = 1

Nimrod (DEPRECATED 2009-05-06)

Type_2_Routing_Header = 2

Type 2 Routing Header [RFC 6275]

RPL_Source_Route_Header = 3

RPL Source Route Header [RFC 6554]

Segment_Routing_Header = 4

Segment Routing Header (SRH) [RFC 8754]

CRH_16 = 5

CRH-16 [RFC 9631]

CRH_32 = 6

CRH-32 [RFC 9631]

RFC3692_style_Experiment_1 = 253

RFC3692-style Experiment 1 [RFC 4727]

RFC3692_style_Experiment_2 = 254

RFC3692-style Experiment 2 [RFC 4727]

Reserved_255 = 255

Reserved

classmethod _validate_value(value)[source]

Reject value unless it passes the range check _missing_() makes.

Overrides _validate_value() with that check and the message it raises, so register() refuses exactly the values get() refuses, in the same words (#1816).

Parameters:

value (Any) – Value about to be looked up or minted.

Raises:

EnumValueError – If value fails that check. A ValueError, so an except ValueError caller is unaffected.

classmethod _missing_(value)[source]

Lookup function used when value is not found.

Parameters:

value (int) – Value to get enum item.

Return type:

Routing

Seed-ID Types

This module contains the constant enumeration for Seed-ID Types, which is automatically generated from pcapkit.vendor.ipv6.seed_id.SeedID.

class pcapkit.const.ipv6.seed_id.SeedID(*values)[source]

Bases: EnumRegistry, IntEnum

[SeedID] Seed-ID Types

IPV6_SOURCE_ADDRESS = 0
SEEDID_16_BIT_UNSIGNED_INTEGER = 1
SEEDID_64_BIT_UNSIGNED_INTEGER = 2
SEEDID_128_BIT_UNSIGNED_INTEGER = 3
classmethod _validate_value(value)[source]

Reject value unless it passes the range check _missing_() makes.

Overrides _validate_value() with that check and the message it raises, so register() refuses exactly the values get() refuses, in the same words (#1816).

Parameters:

value (Any) – Value about to be looked up or minted.

Raises:

EnumValueError – If value fails that check. A ValueError, so an except ValueError caller is unaffected.

classmethod _missing_(value)[source]

Lookup function used when value is not found.

Parameters:

value (int) – Value to get enum item.

Return type:

SeedID

Simplified Multicast Forwarding Duplicate Packet Detection (SMF_DPD) Options

This module contains the constant enumeration for Simplified Multicast Forwarding Duplicate Packet Detection (SMF_DPD) Options, which is automatically generated from pcapkit.vendor.ipv6.smf_dpd_mode.SMFDPDMode.

class pcapkit.const.ipv6.smf_dpd_mode.SMFDPDMode(*values)[source]

Bases: EnumRegistry, IntEnum

[SMFDPDMode] Simplified Multicast Forwarding Duplicate Packet Detection (SMF_DPD) Options

I_DPD = 0
H_DPD = 1
classmethod _validate_value(value)[source]

Reject value unless it passes the range check _missing_() makes.

Overrides _validate_value() with that check and the message it raises, so register() refuses exactly the values get() refuses, in the same words (#1816).

Parameters:

value (Any) – Value about to be looked up or minted.

Raises:

EnumValueError – If value fails that check. A ValueError, so an except ValueError caller is unaffected.

classmethod _missing_(value)[source]

Lookup function used when value is not found.

Parameters:

value (int) – Value to get enum item.

Return type:

SMFDPDMode

TaggerID Types

This module contains the constant enumeration for TaggerID Types, which is automatically generated from pcapkit.vendor.ipv6.tagger_id.TaggerID.

class pcapkit.const.ipv6.tagger_id.TaggerID(*values)[source]

Bases: EnumRegistry, IntEnum

[TaggerID] TaggerID Types

NULL = 0

NULL [RFC 6621]

DEFAULT = 1

DEFAULT [RFC 6621]

IPv4 = 2

IPv4 [RFC 6621]

IPv6 = 3

IPv6 [RFC 6621]

classmethod _validate_value(value)[source]

Reject value unless it passes the range check _missing_() makes.

Overrides _validate_value() with that check and the message it raises, so register() refuses exactly the values get() refuses, in the same words (#1816).

Parameters:

value (Any) – Value about to be looked up or minted.

Raises:

EnumValueError – If value fails that check. A ValueError, so an except ValueError caller is unaffected.

classmethod _missing_(value)[source]

Lookup function used when value is not found.

Parameters:

value (int) – Value to get enum item.

Return type:

TaggerID

Footnotes