ICMPv6 Constant Enumerations

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

ICMPv6_Type

ICMPv6 Type Numbers [*]

ICMPv6_DestinationUnreachableCode

ICMPv6 Destination Unreachable Codes [†]

ICMPv6_TimeExceededCode

ICMPv6 Time Exceeded Codes [‡]

ICMPv6_ParameterProblemCode

ICMPv6 Parameter Problem Codes [§]

ICMPv6 Type Numbers

This module contains the constant enumeration for ICMPv6 Type Numbers, which is automatically generated from pcapkit.vendor.icmpv6.type.Type.

class pcapkit.const.icmpv6.type.Type(*values)[source]

Bases: EnumRegistry, aenum.IntEnum

[Type] ICMPv6 Type Numbers [RFC 4443]

Reserved_0 = 0

Reserved

Destination_Unreachable = 1

Destination Unreachable [RFC 4443]

Packet_Too_Big = 2

Packet Too Big [RFC 4443]

Time_Exceeded = 3

Time Exceeded [RFC 4443]

Parameter_Problem = 4

Parameter Problem [RFC 4443]

Private_experimentation_100 = 100

Private experimentation [RFC 4443]

Private_experimentation_101 = 101

Private experimentation [RFC 4443]

Reserved_for_expansion_of_ICMPv6_error_messages = 127

Reserved for expansion of ICMPv6 error messages [RFC 4443]

Echo_Request = 128

Echo Request [RFC 4443]

Echo_Reply = 129

Echo Reply [RFC 4443]

Multicast_Listener_Query = 130

Multicast Listener Query [RFC 2710]

Multicast_Listener_Report = 131

Multicast Listener Report [RFC 2710]

Multicast_Listener_Done = 132

Multicast Listener Done [RFC 2710]

Router_Solicitation = 133

Router Solicitation [RFC 4861]

Router_Advertisement = 134

Router Advertisement [RFC 4861]

Neighbor_Solicitation = 135

Neighbor Solicitation [RFC 4861]

Neighbor_Advertisement = 136

Neighbor Advertisement [RFC 4861]

Redirect_Message = 137

Redirect Message [RFC 4861]

Router_Renumbering = 138

Router Renumbering [RFC 2894]

ICMP_Node_Information_Query = 139

ICMP Node Information Query [RFC 4620]

ICMP_Node_Information_Response = 140

ICMP Node Information Response [RFC 4620]

Inverse_Neighbor_Discovery_Solicitation_Message = 141

Inverse Neighbor Discovery Solicitation Message [RFC 3122]

Inverse_Neighbor_Discovery_Advertisement_Message = 142

Inverse Neighbor Discovery Advertisement Message [RFC 3122]

Version_2_Multicast_Listener_Report = 143

Version 2 Multicast Listener Report [RFC 9777]

Home_Agent_Address_Discovery_Request_Message = 144

Home Agent Address Discovery Request Message [RFC 6275]

Home_Agent_Address_Discovery_Reply_Message = 145

Home Agent Address Discovery Reply Message [RFC 6275]

Mobile_Prefix_Solicitation = 146

Mobile Prefix Solicitation [RFC 6275]

Mobile_Prefix_Advertisement = 147

Mobile Prefix Advertisement [RFC 6275]

Certification_Path_Solicitation_Message = 148

Certification Path Solicitation Message [RFC 3971]

Certification_Path_Advertisement_Message = 149

Certification Path Advertisement Message [RFC 3971]

ICMP_messages_utilized_by_experimental_mobility_protocols_such_as_Seamoby = 150

ICMP messages utilized by experimental mobility protocols such as Seamoby [RFC 4065]

Multicast_Router_Advertisement = 151

Multicast Router Advertisement [RFC 4286]

Multicast_Router_Solicitation = 152

Multicast Router Solicitation [RFC 4286]

Multicast_Router_Termination = 153

Multicast Router Termination [RFC 4286]

FMIPv6_Messages = 154

FMIPv6 Messages [RFC 5568]

RPL_Control_Message = 155

RPL Control Message [RFC 6550]

ILNPv6_Locator_Update_Message = 156

ILNPv6 Locator Update Message [RFC 6743]

Duplicate_Address_Request = 157

Duplicate Address Request [RFC 6775]

Duplicate_Address_Confirmation = 158

Duplicate Address Confirmation [RFC 6775]

MPL_Control_Message = 159

MPL Control Message [RFC 7731]

Extended_Echo_Request = 160

Extended Echo Request [RFC 8335]

Extended_Echo_Reply = 161

Extended Echo Reply [RFC 8335]

Private_experimentation_200 = 200

Private experimentation [RFC 4443]

Private_experimentation_201 = 201

Private experimentation [RFC 4443]

Reserved_for_expansion_of_ICMPv6_informational_messages = 255

Reserved for expansion of ICMPv6 informational messages [RFC 4443]

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:

Type

ICMPv6 Destination Unreachable Codes

This module contains the constant enumeration for ICMPv6 Destination Unreachable Codes, which is automatically generated from pcapkit.vendor.icmpv6.destination_unreachable_code.DestinationUnreachableCode.

class pcapkit.const.icmpv6.destination_unreachable_code.DestinationUnreachableCode(*values)[source]

Bases: EnumRegistry, aenum.IntEnum

[DestinationUnreachableCode] ICMPv6 Destination Unreachable Codes [RFC 4443]

no_route_to_destination = 0

no route to destination

communication_with_destination_administratively_prohibited = 1

communication with destination administratively prohibited

beyond_scope_of_source_address = 2

beyond scope of source address [RFC 4443]

address_unreachable = 3

address unreachable

port_unreachable = 4

port unreachable

source_address_failed_ingress_egress_policy = 5

source address failed ingress/egress policy [RFC 4443]

reject_route_to_destination = 6

reject route to destination [RFC 4443]

Error_in_Source_Routing_Header = 7

Error in Source Routing Header [RFC 6550][RFC 6554]

Headers_too_long = 8

Headers too long [RFC 8883]

Error_in_P_Route = 9

Error in P-Route [RFC 9914]

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:

DestinationUnreachableCode

ICMPv6 Time Exceeded Codes

This module contains the constant enumeration for ICMPv6 Time Exceeded Codes, which is automatically generated from pcapkit.vendor.icmpv6.time_exceeded_code.TimeExceededCode.

class pcapkit.const.icmpv6.time_exceeded_code.TimeExceededCode(*values)[source]

Bases: EnumRegistry, aenum.IntEnum

[TimeExceededCode] ICMPv6 Time Exceeded Codes [RFC 4443]

hop_limit_exceeded_in_transit = 0

hop limit exceeded in transit

fragment_reassembly_time_exceeded = 1

fragment reassembly time exceeded

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:

TimeExceededCode

ICMPv6 Parameter Problem Codes

This module contains the constant enumeration for ICMPv6 Parameter Problem Codes, which is automatically generated from pcapkit.vendor.icmpv6.parameter_problem_code.ParameterProblemCode.

class pcapkit.const.icmpv6.parameter_problem_code.ParameterProblemCode(*values)[source]

Bases: EnumRegistry, aenum.IntEnum

[ParameterProblemCode] ICMPv6 Parameter Problem Codes [RFC 4443][RFC 7112]

erroneous_header_field_encountered = 0

erroneous header field encountered

unrecognized_Next_Header_type_encountered = 1

unrecognized Next Header type encountered

unrecognized_IPv6_option_encountered = 2

unrecognized IPv6 option encountered

IPv6_First_Fragment_has_incomplete_IPv6_Header_Chain = 3

IPv6 First Fragment has incomplete IPv6 Header Chain [RFC 7112]

SR_Upper_layer_Header_Error = 4

SR Upper-layer Header Error [RFC 8754]

Unrecognized_Next_Header_type_encountered_by_intermediate_node = 5

Unrecognized Next Header type encountered by intermediate node [RFC 8883]

Extension_header_too_big = 6

Extension header too big [RFC 8883]

Extension_header_chain_too_long = 7

Extension header chain too long [RFC 8883]

Too_many_extension_headers = 8

Too many extension headers [RFC 8883]

Too_many_options_in_extension_header = 9

Too many options in extension header [RFC 8883]

Option_too_big = 10

Option too big [RFC 8883]

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:

ParameterProblemCode

Footnotes