public enum Icmp6Code extends Enum<Icmp6Code>
| Enum Constant and Description | 
|---|
ADDR_UNREACH
Address unreachable. 
 | 
BEYOND_SCOPE
Beyond scope of source address. 
 | 
COMM_PROHIBIT
Communication with destination administratively prohibited. 
 | 
DEFRAG_TIME_EXCEED
Fragment reassembly time exceeded. 
 | 
FAIL_POLICY
Source address failed ingress/egress policy. 
 | 
HDR_FIELD_ERR
Erroneous header field encountered. 
 | 
HOP_LIMIT_EXCEED
Hop limit exceeded in transit. 
 | 
IPV6_OPT_ERR
Unrecognized IPv6 option encountered. 
 | 
NEXT_HEADER_ERR
Unrecognized Next Header type encountered. 
 | 
NO_ROUTE
No route to destination. 
 | 
PORT_UNREACH
Port unreachable. 
 | 
REJECT_ROUTE
Reject route to destination. 
 | 
SRC_ROUTING_HEADER_ERR
Error in Source Routing Header. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static byte | 
parseFromString(String input)
Parse a string input that could contain an Icmp6Code value. 
 | 
byte | 
value()
Gets the value to use for this Icmp6Code. 
 | 
static Icmp6Code | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static Icmp6Code[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final Icmp6Code NO_ROUTE
public static final Icmp6Code COMM_PROHIBIT
public static final Icmp6Code BEYOND_SCOPE
public static final Icmp6Code ADDR_UNREACH
public static final Icmp6Code PORT_UNREACH
public static final Icmp6Code FAIL_POLICY
public static final Icmp6Code REJECT_ROUTE
public static final Icmp6Code SRC_ROUTING_HEADER_ERR
public static final Icmp6Code HOP_LIMIT_EXCEED
public static final Icmp6Code DEFRAG_TIME_EXCEED
public static final Icmp6Code HDR_FIELD_ERR
public static final Icmp6Code NEXT_HEADER_ERR
public static final Icmp6Code IPV6_OPT_ERR
public static Icmp6Code[] values()
for (Icmp6Code c : Icmp6Code.values()) System.out.println(c);
public static Icmp6Code valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic byte value()
public static byte parseFromString(String input)
input - the input string to parseIllegalArgumentException - if the input string does not contain a
 value that can be parsed into an ICMPv6 code