|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openflow.protocol.FlowWildcards
public class FlowWildcards
Flow wildcards. Equivalent to ofp_flow_wildcards.
| Nested Class Summary | |
|---|---|
static class |
FlowWildcards.Wildcard
|
| Constructor Summary | |
|---|---|
FlowWildcards()
|
|
FlowWildcards(int bitfield)
|
|
| Method Summary | |
|---|---|
static java.lang.String |
bitCountToString(int numBitsMasked)
Returns the netmask with the specified number of bits masked |
boolean |
equals(java.lang.Object o)
|
int |
getAssociatedBits()
returns the bits representing this wildcard |
int |
getWildcardIPDstBitsMasked()
Gets the number of bits in the IP destination address which are wildcarded |
int |
getWildcardIPSrcBitsMasked()
Gets the number of bits in the IP source address which are wildcarded |
int |
hashCode()
|
boolean |
isSet(FlowWildcards.Wildcard w)
Returns whether the bit for Wildcard w is set in bitfield |
boolean |
isWildcardAll()
Whether to wildcard on everything |
boolean |
isWildcardEthernetDst()
Whether to wildcard on destination MAC address |
boolean |
isWildcardEthernetSrc()
Whether to wildcard on source MAC address |
boolean |
isWildcardEthernetType()
Whether to wildcard on Ethernet type |
boolean |
isWildcardInputPort()
Whether to wildcard on input port |
boolean |
isWildcardIPDst()
Whether to wildcard on destination IP address |
boolean |
isWildcardIPProtocol()
Whether to wildcard on IP protocol |
boolean |
isWildcardIPSrc()
Whether to wildcard on source IP address |
boolean |
isWildcardPortDst()
Whether to wildcard on TCP/UDP destination port |
boolean |
isWildcardPortSrc()
Whether to wildcard on TCP/UDP source port |
boolean |
isWildcardVLAN()
Whether to wildcard on VLAN |
void |
set(FlowWildcards.Wildcard w,
boolean enable)
Sets whether the bit for Wildcard w is set in bitfield |
void |
set(int bitfield)
Sets all of the wiidcard bits directly |
void |
setWildcardAll()
Enables all wildcards |
void |
setWildcardEthernetDst(boolean enable)
Set whether to wildcard on destination MAC address |
void |
setWildcardEthernetSrc(boolean enable)
Set whether to wildcard on source MAC address |
void |
setWildcardEthernetType(boolean enable)
Set whether to wildcard on Ethernet type |
void |
setWildcardInputPort(boolean enable)
Set whether to wildcard on input port |
void |
setWildcardIPDst(int numBitsToMask)
Sets whether to wildcard on IP destination address (0 => no wildcard). |
void |
setWildcardIPProtocol(boolean enable)
Set whether to wildcard on IP protocol |
void |
setWildcardIPSrc(int numBitsToMask)
Sets whether to wildcard on IP source address (0 => no wildcard). |
void |
setWildcardPortDst(boolean enable)
Set whether to wildcard on TCP/UDP destination port |
void |
setWildcardPortSrc(boolean enable)
Set whether to wildcard on TCP/UDP source port |
void |
setWildcardVLAN(boolean enable)
Set whether to wildcard on VLAN |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FlowWildcards()
public FlowWildcards(int bitfield)
| Method Detail |
|---|
public int getAssociatedBits()
public boolean isSet(FlowWildcards.Wildcard w)
public void set(FlowWildcards.Wildcard w,
boolean enable)
public void set(int bitfield)
public boolean isWildcardInputPort()
public void setWildcardInputPort(boolean enable)
public boolean isWildcardVLAN()
public void setWildcardVLAN(boolean enable)
public boolean isWildcardEthernetSrc()
public void setWildcardEthernetSrc(boolean enable)
public boolean isWildcardEthernetDst()
public void setWildcardEthernetDst(boolean enable)
public boolean isWildcardEthernetType()
public void setWildcardEthernetType(boolean enable)
public boolean isWildcardIPProtocol()
public void setWildcardIPProtocol(boolean enable)
public boolean isWildcardPortSrc()
public void setWildcardPortSrc(boolean enable)
public boolean isWildcardPortDst()
public void setWildcardPortDst(boolean enable)
public boolean isWildcardIPSrc()
public void setWildcardIPSrc(int numBitsToMask)
public int getWildcardIPSrcBitsMasked()
public boolean isWildcardIPDst()
public void setWildcardIPDst(int numBitsToMask)
public int getWildcardIPDstBitsMasked()
public boolean isWildcardAll()
public void setWildcardAll()
public static java.lang.String bitCountToString(int numBitsMasked)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||