public enum ConfigFlag extends Enum<ConfigFlag> implements OfpBitmapEnum
Enum Constant and Description |
---|
FRAG_DROP
Drop fragments; Since 1.0.
|
FRAG_NORMAL
No special handling of fragments; Since 1.0.
|
FRAG_REASM
Reassemble fragments; Since 1.0.
|
INV_TTL_TO_CTRLR
Send packets with invalid TTL to the controller; Since 1.1;
Removed at 1.3.
|
Modifier and Type | Method and Description |
---|---|
int |
getBit(ProtocolVersion pv)
Returns the bit value for the constant, under the given protocol
version.
|
String |
toDisplayString()
Returns a string representation of the constant, suitable for
presentation in a display.
|
String |
toString() |
static ConfigFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfigFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigFlag FRAG_NORMAL
public static final ConfigFlag FRAG_DROP
public static final ConfigFlag FRAG_REASM
Capability.IP_REASM
flag is set.public static final ConfigFlag INV_TTL_TO_CTRLR
public static ConfigFlag[] values()
for (ConfigFlag c : ConfigFlag.values()) System.out.println(c);
public static ConfigFlag 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 getBit(ProtocolVersion pv)
OfpBitmapEnum
getBit
in interface OfpBitmapEnum
pv
- the protocol versionpublic String toString()
toString
in class Enum<ConfigFlag>
public String toDisplayString()
OfpBitmapEnum
toDisplayString
in interface OfpBitmapEnum
Copyright © 2015. All Rights Reserved.