--- openflow-2011-10-11-7.h	2015-07-23 09:54:16.968479355 -0700
+++ openflow-2011-10-13-5.h	2015-07-23 09:54:16.976479355 -0700
@@ -1282,10 +1282,11 @@
 
 /* Meter property types */
 enum ofp_meter_prop_type {
-    OFPMPT_DROP          = 1,      /* Drop packet */
-    OFPMPT_DSCP_REMARK   = 2,      /* Remark DSCP in the IP header */
-    OFPMPT_WRITE_ACTIONS = 3,      /* Write actions in action set */
-    OFPMPT_EXPERIMENTER  = 0xFFFF  /* Experimenter meter property */
+    OFPMPT_DROP           = 1,      /* Drop packet */
+    OFPMPT_DSCP_REMARK    = 2,      /* Remark DSCP in the IP header */
+    OFPMPT_WRITE_METADATA = 3,      /* Overwrite packet metadata */
+    OFPMPT_WRITE_ACTIONS  = 4,      /* Write actions in action set */
+    OFPMPT_EXPERIMENTER   = 0xFFFF  /* Experimenter meter property */
 };
 
 /* Common header for all rate properties */
@@ -1312,6 +1313,16 @@
 };
 OFP_ASSERT(sizeof(struct ofp_meter_prop_dscp_remark) == 8);
 
+/* OFPMPT_WRITE_METADATA property - Write actions in action set */
+struct ofp_meter_prop_metadata {
+    uint16_t        type;    /* One of OFPMPT_WRITE_METADATA. */
+    uint16_t        len;     /* Length in bytes of this property. */
+    uint32_t        rate;    /* Rate for dropping packets. */
+    uint64_t        metadata;       /* Metadata value to write */
+    uint64_t        metadata_mask;  /* Metadata write bitmask */
+};
+OFP_ASSERT(sizeof(struct ofp_meter_prop_metadata) == 24);
+
 /* OFPMPT_WRITE_ACTIONS property - Write actions in action set */
 struct ofp_meter_prop_write {
     uint16_t        type;    /* One of OFPMPT_WRITE_ACTIONS. */
