From 1dc761d902b2866e0d5fe542ed0defb0414b594c Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Sun, 14 May 2017 16:40:02 +0200 Subject: 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 --- epan/dissectors/packet-openflow_v6.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'epan/dissectors/packet-openflow_v6.c') 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 } }; -- cgit v1.2.3