ICMPv6 Constant Enumerations

ICMPv6_Type

ICMPv6 Type Numbers [*]

ICMPv6_DestinationUnreachableCode

ICMPv6 Destination Unreachable Codes [†]

ICMPv6_TimeExceededCode

ICMPv6 Time Exceeded Codes [‡]

ICMPv6_ParameterProblemCode

ICMPv6 Parameter Problem Codes [§]

ICMPv6_NDOption

IPv6 Neighbor Discovery Option Formats []

ICMPv6_RouterPreference

Router Selection Preferences [#]

Added in version 1.6.0.

ICMPv6 Type Numbers

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

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

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

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

IPv6 Neighbor Discovery Option Formats

Added in version 1.9.0.

Generated from pcapkit.vendor.icmpv6.nd_option.NDOption.

class pcapkit.const.icmpv6.nd_option.NDOption(*values)[source]

Bases: EnumRegistry, aenum.IntEnum

[NDOption] IPv6 Neighbor Discovery Option Formats [RFC 4861]

Source Link-layer Address [RFC 4861]

Target Link-layer Address [RFC 4861]

Prefix_Information = 3

Prefix Information [RFC 4861]

Redirected_Header = 4

Redirected Header [RFC 4861]

MTU = 5

MTU [RFC 4861]

NBMA_Shortcut_Limit_Option = 6

NBMA Shortcut Limit Option [RFC 2491]

Advertisement_Interval_Option = 7

Advertisement Interval Option [RFC 6275]

Home_Agent_Information_Option = 8

Home Agent Information Option [RFC 6275]

Source_Address_List = 9

Source Address List [RFC 3122]

Target_Address_List = 10

Target Address List [RFC 3122]

CGA_option = 11

CGA option [RFC 3971]

RSA_Signature_option = 12

RSA Signature option [RFC 3971]

Timestamp_option = 13

Timestamp option [RFC 3971]

Nonce_option = 14

Nonce option [RFC 3971]

Trust_Anchor_option = 15

Trust Anchor option [RFC 3971]

Certificate_option = 16

Certificate option [RFC 3971]

IP_Address_Prefix_Option = 17

IP Address/Prefix Option [RFC 5568]

New_Router_Prefix_Information_Option = 18

New Router Prefix Information Option [RFC 4068]

Link-layer Address Option [RFC 5568]

Neighbor_Advertisement_Acknowledgment_Option = 20

Neighbor Advertisement Acknowledgment Option [RFC 5568]

PvD_ID_Router_Advertisement_Option = 21

PvD ID Router Advertisement Option [RFC 8801]

Unassigned_22 = 22

Unassigned

MAP_Option = 23

MAP Option [RFC 4140]

Route_Information_Option = 24

Route Information Option [RFC 4191]

Recursive_DNS_Server_Option = 25

Recursive DNS Server Option [RFC 5006][RFC 8106]

RA_Flags_Extension_Option = 26

RA Flags Extension Option [RFC 5175]

Handover_Key_Request_Option = 27

Handover Key Request Option [RFC 5269]

Handover_Key_Reply_Option = 28

Handover Key Reply Option [RFC 5269]

Handover_Assist_Information_Option = 29

Handover Assist Information Option [RFC 5271]

Mobile_Node_Identifier_Option = 30

Mobile Node Identifier Option [RFC 5271]

DNS_Search_List_Option = 31

DNS Search List Option [RFC 8106]

Proxy_Signature = 32

Proxy Signature (PS) [RFC 6496]

Address_Registration_Option = 33

Address Registration Option [RFC 6775]

NDOption_6LoWPAN_Context_Option = 34

6LoWPAN Context Option [RFC 6775]

Authoritative_Border_Router_Option = 35

Authoritative Border Router Option [RFC 6775]

NDOption_6LoWPAN_Capability_Indication_Option = 36

6LoWPAN Capability Indication Option (6CIO) [RFC 7400]

DHCP_Captive_Portal = 37

DHCP Captive-Portal [RFC 8910]

PREF64_option = 38

PREF64 option [RFC 8781]

Crypto_ID_Parameters_Option = 39

Crypto-ID Parameters Option (CIPO) [RFC 8928]

NDP_Signature_Option = 40

NDP Signature Option (NDPSO) [RFC 8928]

Resource_Directory_Address_Option = 41

Resource Directory Address Option [RFC 9176]

Consistent_Uptime_Option = 42

Consistent Uptime Option [RFC 9685]

CARD_Request_option = 138

CARD Request option [RFC 4065]

CARD_Reply_option = 139

CARD Reply option [RFC 4065]

Encrypted_DNS_Option = 144

Encrypted DNS Option [RFC 9463]

RFC3692_style_Experiment_1 = 253

RFC3692-style Experiment 1 [RFC 4727]

RFC3692_style_Experiment_2 = 254

RFC3692-style Experiment 2 [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:

NDOption

Router Selection Preferences

Added in version 1.9.0.

Generated from pcapkit.vendor.icmpv6.router_preference.RouterPreference.

class pcapkit.const.icmpv6.router_preference.RouterPreference(*values)[source]

Bases: EnumRegistry, aenum.IntEnum

[RouterPreference] Router Selection Preferences [RFC 4191]

Medium = 0

Medium [RFC 4191 Section 2.1]

High = 1

High [RFC 4191 Section 2.1]

Reserved_2 = 2

Reserved [RFC 4191 Section 2.1]

Low = 3

Low [RFC 4191 Section 2.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:

RouterPreference

Footnotes