--- /dev/null
+/**
+ * @author Yugandhar Sarraju (ysarraju@in.ibm.com) - July 20, 2013
+ */
+package org.openflow.codec.protocol.action;
+
+import org.openflow.codec.io.IDataBuffer;
+
+/**
+ * Represents an action type OFPAT_DEC_NW_TTL
+ */
+public class OFPActionDecNetworkTimeToLive extends OFPAction {
+ public static int MINIMUM_LENGTH = 8;
+
+ public OFPActionDecNetworkTimeToLive() {
+ super();
+ super.setType(OFPActionType.DEC_NW_TTL);
+ super.setLength((short) MINIMUM_LENGTH);
+ }
+
+ @Override
+ public void readFrom(IDataBuffer data) {
+ super.readFrom(data);
+ // PAD
+ data.getInt();
+ }
+
+ @Override
+ public void writeTo(IDataBuffer data) {
+ super.writeTo(data);
+ // PAD
+ data.putInt(0);
+ }
+}
\ No newline at end of file