public static enum IpV6OptionType.IpV6OptionTypeAction extends Enum<IpV6OptionType.IpV6OptionTypeAction>
Enum Constant and Description |
---|
DISCARD
Discard the packet: 1
|
DISCARD_AND_SEND_ICMP
Discard the packet and, regardless of whether or not the
packet's Destination Address was a multicast address, send an
ICMP Parameter Problem, Code 2, message to the packet's
Source Address, pointing to the unrecognized Option Type: 2
|
DISCARD_AND_SEND_ICMP_IF_NOT_MULTICAST
Discard the packet and, only if the packet's Destination
Address was not a multicast address, send an ICMP Parameter
Problem, Code 2, message to the packet's Source Address,
pointing to the unrecognized Option Type: 3
|
SKIP
Skip over this option and continue processing the header: 0
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static IpV6OptionType.IpV6OptionTypeAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IpV6OptionType.IpV6OptionTypeAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IpV6OptionType.IpV6OptionTypeAction SKIP
public static final IpV6OptionType.IpV6OptionTypeAction DISCARD
public static final IpV6OptionType.IpV6OptionTypeAction DISCARD_AND_SEND_ICMP
public static final IpV6OptionType.IpV6OptionTypeAction DISCARD_AND_SEND_ICMP_IF_NOT_MULTICAST
public static IpV6OptionType.IpV6OptionTypeAction[] values()
for (IpV6OptionType.IpV6OptionTypeAction c : IpV6OptionType.IpV6OptionTypeAction.values()) System.out.println(c);
public static IpV6OptionType.IpV6OptionTypeAction 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 int getValue()
Copyright © 2011–2016 Pcap4J.org. All rights reserved.