org.openflow.protocol
Enum FlowWildcards.Wildcard

java.lang.Object
  extended by java.lang.Enum<FlowWildcards.Wildcard>
      extended by org.openflow.protocol.FlowWildcards.Wildcard
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<FlowWildcards.Wildcard>
Enclosing class:
FlowWildcards

public static enum FlowWildcards.Wildcard
extends java.lang.Enum<FlowWildcards.Wildcard>


Enum Constant Summary
OFPFW_ALL
          Wildcard all fields
OFPFW_DL_DST
          Ethernet destination address.
OFPFW_DL_SRC
          Ethernet source address.
OFPFW_DL_TYPE
          Ethernet frame type.
OFPFW_DL_VLAN
          VLAN.
OFPFW_IN_PORT
          Switch input port.
OFPFW_NW_DST_SHIFT
          IP destination address.
OFPFW_NW_PROTO
          IP protocol.
OFPFW_NW_SRC_SHIFT
          IP source address.
OFPFW_TP_DST
          TCP/UDP destination port.
OFPFW_TP_SRC
          TCP/UDP source port.
 
Field Summary
 int bitfield
          bits corresponding to the wildcard in the bitfield
 
Method Summary
static FlowWildcards.Wildcard valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static FlowWildcards.Wildcard[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

OFPFW_IN_PORT

public static final FlowWildcards.Wildcard OFPFW_IN_PORT
Switch input port.


OFPFW_DL_VLAN

public static final FlowWildcards.Wildcard OFPFW_DL_VLAN
VLAN.


OFPFW_DL_SRC

public static final FlowWildcards.Wildcard OFPFW_DL_SRC
Ethernet source address.


OFPFW_DL_DST

public static final FlowWildcards.Wildcard OFPFW_DL_DST
Ethernet destination address.


OFPFW_DL_TYPE

public static final FlowWildcards.Wildcard OFPFW_DL_TYPE
Ethernet frame type.


OFPFW_NW_PROTO

public static final FlowWildcards.Wildcard OFPFW_NW_PROTO
IP protocol.


OFPFW_TP_SRC

public static final FlowWildcards.Wildcard OFPFW_TP_SRC
TCP/UDP source port.


OFPFW_TP_DST

public static final FlowWildcards.Wildcard OFPFW_TP_DST
TCP/UDP destination port.


OFPFW_NW_SRC_SHIFT

public static final FlowWildcards.Wildcard OFPFW_NW_SRC_SHIFT
IP source address.


OFPFW_NW_DST_SHIFT

public static final FlowWildcards.Wildcard OFPFW_NW_DST_SHIFT
IP destination address.


OFPFW_ALL

public static final FlowWildcards.Wildcard OFPFW_ALL
Wildcard all fields

Field Detail

bitfield

public final int bitfield
bits corresponding to the wildcard in the bitfield

Method Detail

values

public static FlowWildcards.Wildcard[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (FlowWildcards.Wildcard c : FlowWildcards.Wildcard.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static FlowWildcards.Wildcard valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null