|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openflow.protocol.Match
public class Match
Fields to match against flows. Equivalent to ofp_match.
| Field Summary | |
|---|---|
byte[] |
dl_dst
Ethernet destination address |
byte[] |
dl_src
Ethernet source address |
short |
dl_type
Ethernet frame type |
short |
dl_vlan
Input VLAN |
short |
in_port
Input switch port |
static Match |
MATCH_ALL
a Match which matches all fields |
int |
nw_dst
IP destination address |
byte |
nw_proto
IP protocol |
int |
nw_src
IP source address |
static int |
SIZEOF
size of the data contained in this object in bytes |
short |
tp_dst
TCP/UDP destination port |
short |
tp_src
TCP/UDP source port |
FlowWildcards |
wildcards
Wildcard fields |
| Constructor Summary | |
|---|---|
Match()
Constructs fully wildcarded match. |
|
Match(java.io.DataInput in)
used to construct a message being received |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
int |
hashCode()
|
java.lang.String |
toString()
|
void |
write(java.io.DataOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static int SIZEOF
public static final Match MATCH_ALL
public FlowWildcards wildcards
public short in_port
public final byte[] dl_src
public final byte[] dl_dst
public short dl_vlan
public short dl_type
public byte nw_proto
public int nw_src
public int nw_dst
public short tp_src
public short tp_dst
| Constructor Detail |
|---|
public Match()
public Match(java.io.DataInput in)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public void write(java.io.DataOutput out)
throws java.io.IOException
java.io.IOExceptionpublic 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 | |||||||||