if (match.getInputPort() != 0) { this.setInputPort(match.getInputPort(), (short) 0); } else { this.inputPortMask = 0;
public void removeFlowMods(OVXStatisticsReply msg) { int tid = msg.getXid() >> 16; short port = (short) (msg.getXid() & 0xFFFF); for (OFStatistics stat : msg.getStatistics()) { OVXFlowStatisticsReply reply = (OVXFlowStatisticsReply) stat; if (tid != this.getTidFromCookie(reply.getCookie())) { continue; } if (port != 0) { sendDeleteFlowMod(reply, port); if (reply.getMatch().getInputPort() == port) { sendDeleteFlowMod(reply, OFPort.OFPP_NONE.getValue()); } } else { sendDeleteFlowMod(reply, OFPort.OFPP_NONE.getValue()); } } }
/** * Instantiates a new OVXmatch from an OFMatch instance. * * @param match * the match */ public OVXMatch(final OFMatch match) { this.wildcards = match.getWildcards(); this.inputPort = match.getInputPort(); this.dataLayerSource = match.getDataLayerSource(); this.dataLayerDestination = match.getDataLayerDestination(); this.dataLayerVirtualLan = match.getDataLayerVirtualLan(); this.dataLayerVirtualLanPriorityCodePoint = match .getDataLayerVirtualLanPriorityCodePoint(); this.dataLayerType = match.getDataLayerType(); this.networkTypeOfService = match.getNetworkTypeOfService(); this.networkProtocol = match.getNetworkProtocol(); this.networkSource = match.getNetworkSource(); this.networkDestination = match.getNetworkDestination(); this.transportSource = match.getTransportSource(); this.transportDestination = match.getTransportDestination(); this.cookie = 0; this.pktData = null; }
bufferId = sw.getFromBufferMap(this.bufferId).getBufferId(); final short inport = this.getMatch().getInputPort();
jGen.writeNumberField("dataLayerVirtualLanPriorityCodePoint", match.getDataLayerVirtualLanPriorityCodePoint()); jGen.writeNumberField("inputPort", match.getInputPort()); jGen.writeStringField("networkDestination", this.intToIp(match.getNetworkDestination()));
this.log.error( "Virtual Src Port Unknown: {}, port {} with this match {}; dropping packet", sw.getName(), match.getInputPort(), match); return;
for (OFAction act : fe.getActions()) { if (act.getType() == OFActionType.OUTPUT && fe.getMatch().getInputPort() == this.getSrcPort() .getPortNumber() && ((OFActionOutput) act).getPort() == this
if (!isIPv6) { if (ofMatch.getInputPort() != 0 && ofMatch.getInputPort() != OFPort.OFPP_LOCAL.getValue()) { salMatch.setField(new MatchField(MatchType.IN_PORT, NodeConnectorCreator.createNodeConnector( ofMatch.getInputPort(), node)));
if (match.getInputPort() != 0) { this.setInputPort(match.getInputPort(), (short) 0); } else { this.inputPortMask = 0;
tmatch.getInputPort(), omatch.getInputPort())) { return DISJOINT;