public enum OxmExperimenterFieldType extends Enum<OxmExperimenterFieldType> implements OxmFieldType
The description of each field type includes the size of the field in bits, whether or not a bitmask can be applied to the field (for wild-carding), and what pre-requisites exist (if any).
Enum Constant and Description |
---|
TCP_DST_PORT_RANGE
TCP destination port range
|
TCP_FLAG
TCP flags matching
|
TCP_SRC_PORT_RANGE
TCP source port range
|
UDP_DST_PORT_RANGE
UDP destination port range
|
UDP_SRC_PORT_RANGE
UDP source port range
|
Modifier and Type | Method and Description |
---|---|
int |
getCode()
The HP defined code value for the experimenter field match type.
|
boolean |
isMaskable()
Return if the match field is maskable
|
static OxmExperimenterFieldType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OxmExperimenterFieldType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OxmExperimenterFieldType UDP_SRC_PORT_RANGE
Payload length 64 bits, including 32 bits experimenter ID, 16 bits range end value and 16 bits range begin value.
No mask is supported
public static final OxmExperimenterFieldType UDP_DST_PORT_RANGE
Payload length 64 bits, including 32 bits experimenter ID, 16 bits range end value and 16 bits range begin value.
No mask is supported
public static final OxmExperimenterFieldType TCP_SRC_PORT_RANGE
Payload length 64 bits, including 32 bits experimenter ID, 16 bits range end value and 16 bits range begin value.
No mask is supported
public static final OxmExperimenterFieldType TCP_DST_PORT_RANGE
Payload length 64 bits, including 32 bits experimenter ID, 16 bits range end value and 16 bits range begin value.
No mask is supported
public static final OxmExperimenterFieldType TCP_FLAG
Payload length 64 bits, including 32 bits experimenter ID, 16 bits TCP flag mask and 16 bits TCP flag match value
Mask is supported
public static OxmExperimenterFieldType[] values()
for (OxmExperimenterFieldType c : OxmExperimenterFieldType.values()) System.out.println(c);
public static OxmExperimenterFieldType 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 getCode()
This value is presented at bit 15-9 in the first 4 byte word of the match field TLV header
public boolean isMaskable()
Copyright © 2015. All Rights Reserved.