public final class Criteria extends Object
| Modifier and Type | Method and Description |
|---|---|
static Criterion |
dummy() |
static Criterion |
matchEthDst(org.onlab.packet.MacAddress mac)
Creates a match on ETH_DST field using the specified value.
|
static Criterion |
matchEthSrc(org.onlab.packet.MacAddress mac)
Creates a match on ETH_SRC field using the specified value.
|
static Criterion |
matchEthType(int ethType)
Creates a match on ETH_TYPE field using the specified value.
|
static Criterion |
matchIcmpCode(short icmpCode)
Creates a match on ICMP code field using the specified value.
|
static Criterion |
matchIcmpType(short icmpType)
Creates a match on ICMP type field using the specified value.
|
static Criterion |
matchIcmpv6Code(short icmpv6Code)
Creates a match on ICMPv6 code field using the specified value.
|
static Criterion |
matchIcmpv6Type(short icmpv6Type)
Creates a match on ICMPv6 type field using the specified value.
|
static Criterion |
matchInPhyPort(PortNumber port)
Creates a match on IN_PHY_PORT field using the specified value.
|
static Criterion |
matchInPort(PortNumber port)
Creates a match on IN_PORT field using the specified value.
|
static Criterion |
matchIPDscp(byte ipDscp)
Creates a match on IP DSCP field using the specified value.
|
static Criterion |
matchIPDst(org.onlab.packet.IpPrefix ip)
Creates a match on IPv4 destination field using the specified value.
|
static Criterion |
matchIPEcn(byte ipEcn)
Creates a match on IP ECN field using the specified value.
|
static Criterion |
matchIPProtocol(short proto)
Creates a match on IP proto field using the specified value.
|
static Criterion |
matchIPSrc(org.onlab.packet.IpPrefix ip)
Creates a match on IPv4 source field using the specified value.
|
static Criterion |
matchIPv6Dst(org.onlab.packet.IpPrefix ip)
Creates a match on IPv6 destination field using the specified value.
|
static Criterion |
matchIPv6ExthdrFlags(int exthdrFlags)
Creates a match on IPv6 Extension Header pseudo-field fiags.
|
static Criterion |
matchIPv6FlowLabel(int flowLabel)
Creates a match on IPv6 flow label field using the specified value.
|
static Criterion |
matchIPv6NDSourceLinkLayerAddress(org.onlab.packet.MacAddress mac)
Creates a match on IPv6 Neighbor Discovery source link-layer address
using the specified value.
|
static Criterion |
matchIPv6NDTargetAddress(org.onlab.packet.Ip6Address targetAddress)
Creates a match on IPv6 Neighbor Discovery target address using the
specified value.
|
static Criterion |
matchIPv6NDTargetLinkLayerAddress(org.onlab.packet.MacAddress mac)
Creates a match on IPv6 Neighbor Discovery target link-layer address
using the specified value.
|
static Criterion |
matchIPv6Src(org.onlab.packet.IpPrefix ip)
Creates a match on IPv6 source field using the specified value.
|
static Criterion |
matchLambda(int lambda)
Deprecated.
in Cardinal Release. Use
matchLambda(Lambda) instead. |
static Criterion |
matchLambda(Lambda lambda)
Creates a match on lambda using the specified value.
|
static Criterion |
matchMetadata(long metadata)
Creates a match on METADATA field using the specified value.
|
static Criterion |
matchMplsLabel(org.onlab.packet.MplsLabel mplsLabel)
Creates a match on MPLS label.
|
static Criterion |
matchOchSignalType(OchSignalType signalType)
Create a match on OCh (Optical Channel) signal type.
|
static Criterion |
matchOpticalSignalType(short sigType)
Deprecated.
|
static Criterion |
matchSctpDst(int sctpPort)
Creates a match on SCTP destination port field using the specified
value.
|
static Criterion |
matchSctpSrc(int sctpPort)
Creates a match on SCTP source port field using the specified value.
|
static Criterion |
matchTcpDst(int tcpPort)
Creates a match on TCP destination port field using the specified value.
|
static Criterion |
matchTcpSrc(int tcpPort)
Creates a match on TCP source port field using the specified value.
|
static Criterion |
matchUdpDst(int udpPort)
Creates a match on UDP destination port field using the specified value.
|
static Criterion |
matchUdpSrc(int udpPort)
Creates a match on UDP source port field using the specified value.
|
static Criterion |
matchVlanId(org.onlab.packet.VlanId vlanId)
Creates a match on VLAN ID field using the specified value.
|
static Criterion |
matchVlanPcp(byte vlanPcp)
Creates a match on VLAN PCP field using the specified value.
|
public static Criterion matchInPort(PortNumber port)
port - inport valuepublic static Criterion matchInPhyPort(PortNumber port)
port - inport valuepublic static Criterion matchMetadata(long metadata)
metadata - metadata value (64 bits data)public static Criterion matchEthDst(org.onlab.packet.MacAddress mac)
mac - MAC address value or wildcard maskpublic static Criterion matchEthSrc(org.onlab.packet.MacAddress mac)
mac - MAC address value or wildcard maskpublic static Criterion matchEthType(int ethType)
ethType - eth type value (16 bits unsigned integer)public static Criterion matchVlanId(org.onlab.packet.VlanId vlanId)
vlanId - vlan id valuepublic static Criterion matchVlanPcp(byte vlanPcp)
vlanPcp - vlan pcp value (3 bits)public static Criterion matchIPDscp(byte ipDscp)
ipDscp - ip dscp value (6 bits)public static Criterion matchIPEcn(byte ipEcn)
ipEcn - ip ecn value (2 bits)public static Criterion matchIPProtocol(short proto)
proto - ip protocol value (8 bits unsigned integer)public static Criterion matchIPSrc(org.onlab.packet.IpPrefix ip)
ip - ipv4 source valuepublic static Criterion matchIPDst(org.onlab.packet.IpPrefix ip)
ip - ipv4 source valuepublic static Criterion matchTcpSrc(int tcpPort)
tcpPort - TCP source port (16 bits unsigned integer)public static Criterion matchTcpDst(int tcpPort)
tcpPort - TCP destination port (16 bits unsigned integer)public static Criterion matchUdpSrc(int udpPort)
udpPort - UDP source port (16 bits unsigned integer)public static Criterion matchUdpDst(int udpPort)
udpPort - UDP destination port (16 bits unsigned integer)public static Criterion matchSctpSrc(int sctpPort)
sctpPort - SCTP source port (16 bits unsigned integer)public static Criterion matchSctpDst(int sctpPort)
sctpPort - SCTP destination port (16 bits unsigned integer)public static Criterion matchIcmpType(short icmpType)
icmpType - ICMP type (8 bits unsigned integer)public static Criterion matchIcmpCode(short icmpCode)
icmpCode - ICMP code (8 bits unsigned integer)public static Criterion matchIPv6Src(org.onlab.packet.IpPrefix ip)
ip - ipv6 source valuepublic static Criterion matchIPv6Dst(org.onlab.packet.IpPrefix ip)
ip - ipv6 destination valuepublic static Criterion matchIPv6FlowLabel(int flowLabel)
flowLabel - IPv6 flow label (20 bits)public static Criterion matchIcmpv6Type(short icmpv6Type)
icmpv6Type - ICMPv6 type (8 bits unsigned integer)public static Criterion matchIcmpv6Code(short icmpv6Code)
icmpv6Code - ICMPv6 code (8 bits unsigned integer)public static Criterion matchIPv6NDTargetAddress(org.onlab.packet.Ip6Address targetAddress)
targetAddress - IPv6 Neighbor Discovery target addresspublic static Criterion matchIPv6NDSourceLinkLayerAddress(org.onlab.packet.MacAddress mac)
mac - IPv6 Neighbor Discovery source link-layer addresspublic static Criterion matchIPv6NDTargetLinkLayerAddress(org.onlab.packet.MacAddress mac)
mac - IPv6 Neighbor Discovery target link-layer addresspublic static Criterion matchMplsLabel(org.onlab.packet.MplsLabel mplsLabel)
mplsLabel - MPLS label (20 bits)public static Criterion matchIPv6ExthdrFlags(int exthdrFlags)
exthdrFlags - IPv6 Extension Header pseudo-field flags (16 bits)@Deprecated public static Criterion matchLambda(int lambda)
matchLambda(Lambda) instead.lambda - lambda to match on (16 bits unsigned integer)public static Criterion matchLambda(Lambda lambda)
lambda - lambda@Deprecated public static Criterion matchOpticalSignalType(short sigType)
sigType - optical signal type (8 bits unsigned integer)public static Criterion matchOchSignalType(OchSignalType signalType)
signalType - OCh signal typepublic static Criterion dummy()
Copyright © 2015. All rights reserved.