ofp-util: New functions for string versions of ofp_packet_in_reason.
[openvswitch] / include / openflow / openflow.h
index a707087b95ef8012d81bdfd6a99fcccdb00c4385..cfdb192375064580abfa217e69ec03afbdc77122 100644 (file)
@@ -294,7 +294,8 @@ OFP_ASSERT(sizeof(struct ofp_port_mod) == 32);
 enum ofp_packet_in_reason {
     OFPR_NO_MATCH,          /* No matching flow. */
     OFPR_ACTION,            /* Action explicitly output to controller. */
-    OFPR_INVALID_TTL        /* Packet has invalid TTL. */
+    OFPR_INVALID_TTL,       /* Packet has invalid TTL. */
+    OFPR_N_REASONS
 };
 
 /* Packet received on port (datapath -> controller). */