ICMPv6 Constant Enumerations¶
This module contains all constant enumerations of
ICMPv6 implementations. Available
enumerations include:
ICMPv6 Type Numbers [*] |
|
ICMPv6 Destination Unreachable Codes [†] |
|
ICMPv6 Time Exceeded Codes [‡] |
|
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
- Reserved_for_expansion_of_ICMPv6_error_messages = 127¶
Reserved for expansion of ICMPv6 error messages [RFC 4443]
- 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]
- 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]
- ICMP_messages_utilized_by_experimental_mobility_protocols_such_as_Seamoby = 150¶
ICMP messages utilized by experimental mobility protocols such as Seamoby [RFC 4065]
- Reserved_for_expansion_of_ICMPv6_informational_messages = 255¶
Reserved for expansion of ICMPv6 informational messages [RFC 4443]
- classmethod _validate_value(value)[source]¶
Reject
valueunless it passes the range check_missing_()makes.Overrides
_validate_value()with that check and the message it raises, soregister()refuses exactly the valuesget()refuses, in the same words (#1816).- Parameters:
value (
Any) – Value about to be looked up or minted.- Raises:
EnumValueError – If
valuefails that check. AValueError, so anexcept ValueErrorcaller is unaffected.
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
- 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]
- classmethod _validate_value(value)[source]¶
Reject
valueunless it passes the range check_missing_()makes.Overrides
_validate_value()with that check and the message it raises, soregister()refuses exactly the valuesget()refuses, in the same words (#1816).- Parameters:
value (
Any) – Value about to be looked up or minted.- Raises:
EnumValueError – If
valuefails that check. AValueError, so anexcept ValueErrorcaller is unaffected.
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
valueunless it passes the range check_missing_()makes.Overrides
_validate_value()with that check and the message it raises, soregister()refuses exactly the valuesget()refuses, in the same words (#1816).- Parameters:
value (
Any) – Value about to be looked up or minted.- Raises:
EnumValueError – If
valuefails that check. AValueError, so anexcept ValueErrorcaller is unaffected.
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]
- Unrecognized_Next_Header_type_encountered_by_intermediate_node = 5¶
Unrecognized Next Header type encountered by intermediate node [RFC 8883]
- classmethod _validate_value(value)[source]¶
Reject
valueunless it passes the range check_missing_()makes.Overrides
_validate_value()with that check and the message it raises, soregister()refuses exactly the valuesget()refuses, in the same words (#1816).- Parameters:
value (
Any) – Value about to be looked up or minted.- Raises:
EnumValueError – If
valuefails that check. AValueError, so anexcept ValueErrorcaller is unaffected.
Footnotes