クラス IcmpV6Code
- java.lang.Object
-
- org.pcap4j.packet.namednumber.NamedNumber<Byte,IcmpV6Code>
-
- org.pcap4j.packet.namednumber.IcmpV6Code
-
- すべての実装されたインタフェース:
Serializable,Comparable<IcmpV6Code>
public final class IcmpV6Code extends NamedNumber<Byte,IcmpV6Code>
ICMPv6 Code- 導入されたバージョン:
- pcap4j 0.9.15
- 作成者:
- Kaito Yamada
- 関連項目:
- IANA Registry, 直列化された形式
-
-
フィールドの概要
フィールド 修飾子とタイプ フィールド 説明 static IcmpV6CodeADDR_UNREACHABLE[Type 1 — Destination Unreachable] address unreachable: 3static IcmpV6CodeBEYOND_SCOPE_OF_SRC_ADDR[Type 1 — Destination Unreachable] beyond scope of source address: 2static IcmpV6CodeCOMMUNICATION_WITH_DST_PROHIBITED[Type 1 — Destination Unreachable] communication with destination administratively prohibited: 1static IcmpV6CodeERRONEOUS_HEADER_FIELD[Type 4 - Parameter Problem] erroneous header field encountered: 0static IcmpV6CodeERROR_IN_SRC_ROUTING_HEADER[Type 1 — Destination Unreachable] Error in Source Routing Header: 7static IcmpV6CodeFIRST_FRAGMENT_HAS_INCOMPLETE_IP_V6_HEADER_CHAIN[Type 4 - Parameter Problem] IPv6 First Fragment has incomplete IPv6 Header Chain: 3static IcmpV6CodeFRAGMENT_REASSEMBLY_TIME_EXCEEDED[Type 3 — Time Exceeded] fragment reassembly time exceeded: 1static IcmpV6CodeHOP_LIMIT_EXCEEDED[Type 3 — Time Exceeded] hop limit exceeded in transit: 0static IcmpV6CodeNO_CODENo Code: 0static IcmpV6CodeNO_ROUTE_TO_DST[Type 1 — Destination Unreachable] no route to destination: 0static IcmpV6CodePORT_UNREACHABLE[Type 1 — Destination Unreachable] port unreachable: 4static IcmpV6CodeREFUSE[Type 140 - ICMP Node Information Response] The Responder refuses to supply the answer.static IcmpV6CodeREJECT_ROUTE_TO_DST[Type 1 — Destination Unreachable] reject route to destination: 6static IcmpV6CodeROUTER_RENUMBERING_COMMAND[Type 138 - Router Renumbering] Router Renumbering Command: 0static IcmpV6CodeROUTER_RENUMBERING_RESULT[Type 138 - Router Renumbering] Router Renumbering Result: 1static IcmpV6CodeSEQUENCE_NUMBER_RESET[Type 138 - Router Renumbering] Sequence Number Reset: 255static IcmpV6CodeSRC_ADDR_FAILED_POLICY[Type 1 — Destination Unreachable] source address failed ingress/egress policy: 5static IcmpV6CodeSUBJECT_IP_V4_ADDRESS[Type 139 - ICMP Node Information Query] The Data field contains an IPv4 address which is the Subject of this Query: 2static IcmpV6CodeSUBJECT_IP_V6_ADDRESS[Type 139 - ICMP Node Information Query] The Data field contains an IPv6 address which is the Subject of this Query: 0static IcmpV6CodeSUBJECT_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: 1static IcmpV6CodeSUCCESSFUL_REPLY[Type 140 - ICMP Node Information Response] A successful reply.static IcmpV6CodeUNKNOWN_QTYPE[Type 140 - ICMP Node Information Response] The Qtype of the Query is unknown to the Responder.static IcmpV6CodeUNRECOGNIZED_IP_V6_OPT[Type 4 - Parameter Problem] unrecognized IPv6 option encountered: 2static IcmpV6CodeUNRECOGNIZED_NEXT_HEADER_TYPE[Type 4 - Parameter Problem] unrecognized Next Header type encountered: 1
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 IcmpV6Code(Byte value, String name)
-
メソッドの概要
すべてのメソッド staticメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 intcompareTo(IcmpV6Code o)static IcmpV6CodegetInstance(Byte type, Byte value)static IcmpV6Coderegister(IcmpV6Type type, IcmpV6Code code)StringvalueAsString()
-
-
-
フィールドの詳細
-
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
-
-
メソッドの詳細
-
getInstance
public static IcmpV6Code getInstance(Byte type, Byte value)
- パラメータ:
type- ICMPv6 typevalue- value- 戻り値:
- an IcmpV6Code object.
-
register
public static IcmpV6Code register(IcmpV6Type type, IcmpV6Code code)
- パラメータ:
type- typecode- code- 戻り値:
- an IcmpV6Code object.
-
valueAsString
public String valueAsString()
- オーバーライド:
valueAsStringクラス内NamedNumber<Byte,IcmpV6Code>- 戻り値:
- a string representation of this value.
-
compareTo
public int compareTo(IcmpV6Code o)
- 定義:
compareToインタフェース内Comparable<IcmpV6Code>- 定義:
compareToクラス内NamedNumber<Byte,IcmpV6Code>
-
-