aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-noe.c
diff options
context:
space:
mode:
authorNicolas BERTIN <nicolas.bertin@al-enterprise.com>2017-04-05 23:55:27 +0200
committerAnders Broman <a.broman58@gmail.com>2017-04-06 06:28:38 +0000
commitcc30b7b0b5dcb79e4daaa096c2aabfca9ee23bc9 (patch)
tree4cf0063730d3f46f0dcd016ef6d991d1079fbf97 /epan/dissectors/packet-noe.c
parent2bd5adcf71792fc2a9431ad98aa803b2c03a93dc (diff)
NOE: fix "EVT_LOCAL_APPLICATION" message decoding
Change-Id: Ic27d05afa3a785152c7a6e114d8cf1f13cb65859 Reviewed-on: https://code.wireshark.org/review/20942 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-noe.c')
-rw-r--r--epan/dissectors/packet-noe.c49
1 files changed, 49 insertions, 0 deletions
diff --git a/epan/dissectors/packet-noe.c b/epan/dissectors/packet-noe.c
index 81077a7ce5..61fc11de93 100644
--- a/epan/dissectors/packet-noe.c
+++ b/epan/dissectors/packet-noe.c
@@ -604,6 +604,9 @@ static int hf_noe_property_item_u32 = -1;
static int hf_noe_property_item_bytes = -1;
static int hf_event_value_u8 = -1;
static int hf_event_context_switch = -1;
+static int hf_evt_locappl_enable = -1;
+static int hf_evt_locappl_interruptible= -1;
+static int hf_evt_locappl_identifier = -1;
static int hf_event_widget_gc = -1;
static const value_string servers_vals[] = {
@@ -1138,6 +1141,16 @@ static void decode_evt(proto_tree *tree,
case OPCODE_EVT_CONTEXT_SWITCH:
proto_tree_add_item(tree, hf_event_context_switch, tvb, offset, 1, ENC_BIG_ENDIAN);
break;
+ case OPCODE_EVT_LOCAL_APPLICATION:
+ {
+ proto_tree_add_item(tree, hf_evt_locappl_enable, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset += 1;
+ proto_tree_add_item(tree, hf_evt_locappl_interruptible, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset += 1;
+ proto_tree_add_item(tree, hf_evt_locappl_identifier, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset += 1;
+ break;
+ }
case OPCODE_EVT_SUCCESS_CREATE:
case OPCODE_EVT_SUCCESS_DELETE:
case OPCODE_EVT_SUCCESS_SET_PROPERTY:
@@ -1597,6 +1610,42 @@ void proto_register_noe(void)
HFILL
}
},
+ { &hf_evt_locappl_enable,
+ {
+ "Enable",
+ "noe.event_locappl.enable",
+ FT_BOOLEAN,
+ BASE_NONE,
+ NULL,
+ 0x0,
+ NULL,
+ HFILL
+ }
+ },
+ { &hf_evt_locappl_interruptible,
+ {
+ "Interruptible",
+ "noe.event_locappl.interruptible",
+ FT_BOOLEAN,
+ BASE_NONE,
+ NULL,
+ 0x0,
+ NULL,
+ HFILL
+ }
+ },
+ { &hf_evt_locappl_identifier,
+ {
+ "Identifier",
+ "noe.event_locappl.identifier",
+ FT_UINT8,
+ BASE_DEC,
+ NULL,
+ 0x0,
+ NULL,
+ HFILL
+ }
+ },
{ &hf_event_widget_gc,
{
"FreeMem (bytes)",