Class IcmpV6Code

All Implemented Interfaces:
Serializable, Comparable<IcmpV6Code>

public final class IcmpV6Code extends NamedNumber<Byte, IcmpV6Code>
ICMPv6 Code
Since:
pcap4j 0.9.15
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • NO_CODE

      public static final IcmpV6Code NO_CODE
      No Code: 0
    • NO_ROUTE_TO_DST

      public static final IcmpV6Code NO_ROUTE_TO_DST
      [Type 1 — Destination Unreachable] no route to destination: 0
    • COMMUNICATION_WITH_DST_PROHIBITED

      public static final IcmpV6Code COMMUNICATION_WITH_DST_PROHIBITED
      [Type 1 — Destination Unreachable] communication with destination administratively prohibited: 1
    • BEYOND_SCOPE_OF_SRC_ADDR

      public static final IcmpV6Code BEYOND_SCOPE_OF_SRC_ADDR
      [Type 1 — Destination Unreachable] beyond scope of source address: 2
    • ADDR_UNREACHABLE

      public static final IcmpV6Code ADDR_UNREACHABLE
      [Type 1 — Destination Unreachable] address unreachable: 3
    • PORT_UNREACHABLE

      public static final IcmpV6Code PORT_UNREACHABLE
      [Type 1 — Destination Unreachable] port unreachable: 4
    • SRC_ADDR_FAILED_POLICY

      public static final IcmpV6Code SRC_ADDR_FAILED_POLICY
      [Type 1 — Destination Unreachable] source address failed ingress/egress policy: 5
    • REJECT_ROUTE_TO_DST

      public static final IcmpV6Code REJECT_ROUTE_TO_DST
      [Type 1 — Destination Unreachable] reject route to destination: 6
    • ERROR_IN_SRC_ROUTING_HEADER

      public static final IcmpV6Code ERROR_IN_SRC_ROUTING_HEADER
      [Type 1 — Destination Unreachable] Error in Source Routing Header: 7
    • HOP_LIMIT_EXCEEDED

      public static final IcmpV6Code HOP_LIMIT_EXCEEDED
      [Type 3 — Time Exceeded] hop limit exceeded in transit: 0
    • FRAGMENT_REASSEMBLY_TIME_EXCEEDED

      public static final IcmpV6Code FRAGMENT_REASSEMBLY_TIME_EXCEEDED
      [Type 3 — Time Exceeded] fragment reassembly time exceeded: 1
    • ERRONEOUS_HEADER_FIELD

      public static final IcmpV6Code ERRONEOUS_HEADER_FIELD
      [Type 4 - Parameter Problem] erroneous header field encountered: 0
    • UNRECOGNIZED_NEXT_HEADER_TYPE

      public static final IcmpV6Code UNRECOGNIZED_NEXT_HEADER_TYPE
      [Type 4 - Parameter Problem] unrecognized Next Header type encountered: 1
    • UNRECOGNIZED_IP_V6_OPT

      public static final IcmpV6Code UNRECOGNIZED_IP_V6_OPT
      [Type 4 - Parameter Problem] unrecognized IPv6 option encountered: 2
    • FIRST_FRAGMENT_HAS_INCOMPLETE_IP_V6_HEADER_CHAIN

      public static final IcmpV6Code FIRST_FRAGMENT_HAS_INCOMPLETE_IP_V6_HEADER_CHAIN
      [Type 4 - Parameter Problem] IPv6 First Fragment has incomplete IPv6 Header Chain: 3
    • ROUTER_RENUMBERING_COMMAND

      public static final IcmpV6Code ROUTER_RENUMBERING_COMMAND
      [Type 138 - Router Renumbering] Router Renumbering Command: 0
    • ROUTER_RENUMBERING_RESULT

      public static final IcmpV6Code ROUTER_RENUMBERING_RESULT
      [Type 138 - Router Renumbering] Router Renumbering Result: 1
    • SEQUENCE_NUMBER_RESET

      public static final IcmpV6Code SEQUENCE_NUMBER_RESET
      [Type 138 - Router Renumbering] Sequence Number Reset: 255
    • SUBJECT_IP_V6_ADDRESS

      public static final IcmpV6Code SUBJECT_IP_V6_ADDRESS
      [Type 139 - ICMP Node Information Query] The Data field contains an IPv6 address which is the Subject of this Query: 0
    • SUBJECT_NAME

      public static final IcmpV6Code SUBJECT_NAME
      [Type 139 - ICMP Node Information Query] The Data field contains a name which is the Subject of this Query, or is empty, as in the case of a NOOP: 1
    • SUBJECT_IP_V4_ADDRESS

      public static final IcmpV6Code SUBJECT_IP_V4_ADDRESS
      [Type 139 - ICMP Node Information Query] The Data field contains an IPv4 address which is the Subject of this Query: 2
    • SUCCESSFUL_REPLY

      public static final IcmpV6Code SUCCESSFUL_REPLY
      [Type 140 - ICMP Node Information Response] A successful reply. The Reply Data field may or may not be empty: 0
    • REFUSE

      public static final IcmpV6Code REFUSE
      [Type 140 - ICMP Node Information Response] The Responder refuses to supply the answer. The Reply Data field will be empty: 1
    • UNKNOWN_QTYPE

      public static final IcmpV6Code UNKNOWN_QTYPE
      [Type 140 - ICMP Node Information Response] The Qtype of the Query is unknown to the Responder. The Reply Data field will be empty: 2
    • registry

      private static final Map<Byte, Map<Byte, IcmpV6Code>> registry
  • Constructor Details

    • IcmpV6Code

      public IcmpV6Code(Byte value, String name)
      Parameters:
      value - value
      name - name
  • Method Details