aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-openflow_v6.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2017-05-14 16:40:02 +0200
committerAnders Broman <a.broman58@gmail.com>2017-05-14 20:13:12 +0000
commit1dc761d902b2866e0d5fe542ed0defb0414b594c (patch)
tree6be4e1b023e5a2abd07948febf5edcf82b8c9ac9 /epan/dissectors/packet-openflow_v6.c
parent0bbf415af0ccb5f507306567baa99f5cb0508c24 (diff)
OpenFlow(v6): Enhance OFPIT
OFPIT_METER is now deprecated and there is a new OFPIT_STAT_TRIGGER Ping-Bug: 13702 Change-Id: I76b8ab8a86ee59e443fbeac81c45b982bac1b3a2 Reviewed-on: https://code.wireshark.org/review/21644 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-openflow_v6.c')
-rw-r--r--epan/dissectors/packet-openflow_v6.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/epan/dissectors/packet-openflow_v6.c b/epan/dissectors/packet-openflow_v6.c
index bdc2545851..21eeed2b93 100644
--- a/epan/dissectors/packet-openflow_v6.c
+++ b/epan/dissectors/packet-openflow_v6.c
@@ -2907,6 +2907,7 @@ dissect_openflow_packet_out_v6(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree
#define OFPIT_APPLY_ACTIONS 4 /* Applies the action(s) immediately */
#define OFPIT_CLEAR_ACTIONS 5 /* Clears all actions from the datapath */
#define OFPIT_METER 6 /* Apply meter (rate limiter) */
+#define OFPIT_STAT_TRIGGER 7 /* Statistics triggers */
#define OFPIT_EXPERIMENTER 0xFFFF /* Experimenter instruction */
static const value_string openflow_v6_instruction_type_values[] = {
{ 0x0001, "OFPIT_GOTO_TABLE" },
@@ -2914,7 +2915,8 @@ static const value_string openflow_v6_instruction_type_values[] = {
{ 0x0003, "OFPIT_WRITE_ACTIONS" },
{ 0x0004, "OFPIT_APPLY_ACTIONS" },
{ 0x0005, "OFPIT_CLEAR_ACTIONS" },
- { 0x0006, "OFPIT_METER" },
+ { 0x0006, "OFPIT_METER (Deprecated)" },
+ { 0x0007, "OFPIT_STAT_TRIGGER" },
{ 0xffff, "OFPIT_EXPERIMENTER = 0xFFFF" },
{ 0, NULL }
};