static int hf_openflow_v4_oxm_hm = -1;
static int hf_openflow_v4_oxm_length = -1;
static int hf_openflow_v4_oxm_experimenter_experimenter = -1;
+static int hf_openflow_v4_oxm_experimenter_value = -1;
static int hf_openflow_v4_oxm_value = -1;
static int hf_openflow_v4_oxm_value_etheraddr = -1;
static int hf_openflow_v4_oxm_value_vlan_present = -1;
dissect_openflow_oxm_header_v4(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset, guint16 length _U_)
{
guint16 oxm_class;
+ guint8 oxm_length;
/* oxm_class */
oxm_class = tvb_get_ntohs(tvb, offset);
offset+=1;
/* oxm_length */
+ oxm_length = tvb_get_guint8(tvb, offset);
proto_tree_add_item(tree, hf_openflow_v4_oxm_length, tvb, offset, 1, ENC_BIG_ENDIAN);
offset+=1;
/* uint32_t experimenter; */
proto_tree_add_item(tree, hf_openflow_v4_oxm_experimenter_experimenter, tvb, offset, 4, ENC_BIG_ENDIAN);
offset+=4;
+ proto_tree_add_item(tree, hf_openflow_v4_oxm_experimenter_value, tvb, offset, oxm_length - 4, ENC_NA);
+ offset+=(oxm_length - 4);
}
return offset;
FT_UINT32, BASE_HEX, NULL, 0x0,
NULL, HFILL }
},
+ { &hf_openflow_v4_oxm_experimenter_value,
+ { "Experimenter Value", "openflow_v4.oxm_experimenter.value",
+ FT_BYTES, BASE_NONE, NULL, 0x0,
+ NULL, HFILL }
+ },
{ &hf_openflow_v4_oxm_value,
{ "Value", "openflow_v4.oxm.value",
FT_BYTES, BASE_NONE, NULL, 0x0,
static int hf_openflow_v5_action_type = -1;
static int hf_openflow_v5_action_length = -1;
static int hf_openflow_v5_action_experimenter_experimenter = -1;
+static int hf_openflow_v5_oxm_experimenter_value = -1;
static int hf_openflow_v5_action_output_port = -1;
static int hf_openflow_v5_action_output_port_reserved = -1;
static int hf_openflow_v5_action_output_max_len = -1;
dissect_openflow_oxm_header_v5(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset, guint16 length _U_)
{
guint16 oxm_class;
+ guint8 oxm_length;
/* oxm_class */
oxm_class = tvb_get_ntohs(tvb, offset);
offset+=1;
/* oxm_length */
+ oxm_length = tvb_get_guint8(tvb, offset);
proto_tree_add_item(tree, hf_openflow_v5_oxm_length, tvb, offset, 1, ENC_BIG_ENDIAN);
offset+=1;
/* uint32_t experimenter; */
proto_tree_add_item(tree, hf_openflow_v5_oxm_experimenter_experimenter, tvb, offset, 4, ENC_BIG_ENDIAN);
offset+=4;
+ proto_tree_add_item(tree, hf_openflow_v5_oxm_experimenter_value, tvb, offset, oxm_length - 4, ENC_NA);
+ offset+=(oxm_length - 4);
}
return offset;
FT_UINT32, BASE_HEX, NULL, 0x0,
NULL, HFILL }
},
+ { &hf_openflow_v5_oxm_experimenter_value,
+ { "Experimenter Value", "openflow_v5.oxm_experimenter.value",
+ FT_BYTES, BASE_NONE, NULL, 0x0,
+ NULL, HFILL }
+ },
{ &hf_openflow_v5_oxm_value,
{ "Value", "openflow_v5.oxm.value",
FT_BYTES, BASE_NONE, NULL, 0x0,