X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=third-party%2Fopenflowj%2Fsrc%2Fmain%2Fjava%2Forg%2Fopenflow%2Fprotocol%2Faction%2FOFActionTransportLayerSource.java;fp=third-party%2Fopenflowj%2Fsrc%2Fmain%2Fjava%2Forg%2Fopenflow%2Fprotocol%2Faction%2FOFActionTransportLayerSource.java;h=555d4d167f7cb696c0195b966c145fd26429bf28;hb=42210c03b0a4c54706320ba9f55794c0abd4d201;hp=0000000000000000000000000000000000000000;hpb=7576b38152b393793b1c9ec3df0ff86685f95236;p=controller.git diff --git a/third-party/openflowj/src/main/java/org/openflow/protocol/action/OFActionTransportLayerSource.java b/third-party/openflowj/src/main/java/org/openflow/protocol/action/OFActionTransportLayerSource.java new file mode 100644 index 0000000000..555d4d167f --- /dev/null +++ b/third-party/openflowj/src/main/java/org/openflow/protocol/action/OFActionTransportLayerSource.java @@ -0,0 +1,13 @@ +package org.openflow.protocol.action; + +/** + * + * @author David Erickson (daviderickson@cs.stanford.edu) + */ +public class OFActionTransportLayerSource extends OFActionTransportLayer { + public OFActionTransportLayerSource() { + super(); + super.setType(OFActionType.SET_TP_SRC); + super.setLength((short) OFActionTransportLayer.MINIMUM_LENGTH); + } +}