aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ieee17221.c
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss.ws@gmail.com>2013-05-30 12:54:24 +0000
committerJeff Morriss <jeff.morriss.ws@gmail.com>2013-05-30 12:54:24 +0000
commitd4f44f497943caee86cb3c14d868b9ac103c5ebf (patch)
tree5ac489234a0d044e9c9dd9ac09b7f159d00b7d4a /epan/dissectors/packet-ieee17221.c
parentdea156c3d5d5c754fa201c8979c42260ddbfdd57 (diff)
Get rid of C++/C99-style comments.
svn path=/trunk/; revision=49632
Diffstat (limited to 'epan/dissectors/packet-ieee17221.c')
-rw-r--r--epan/dissectors/packet-ieee17221.c26
1 files changed, 12 insertions, 14 deletions
diff --git a/epan/dissectors/packet-ieee17221.c b/epan/dissectors/packet-ieee17221.c
index c9eab6430b..c0793bdc02 100644
--- a/epan/dissectors/packet-ieee17221.c
+++ b/epan/dissectors/packet-ieee17221.c
@@ -1312,7 +1312,7 @@
#define AECP_U_FLAG_MASK 0x80
#define AECP_MSRP_MAPPINGS_COUNT_MASK 0x00
#define AECP_AS_CAPABLE_FLAG_MASK 0x01
-#define AECP_GPTP_ENABLED_FLAG_MASK 0x02
+#define AECP_GPTP_ENABLED_FLAG_MASK 0x02
#define AECP_SRP_ENABLED_FLAG_MASK 0x04
/* key permission flag masks */
@@ -3513,7 +3513,7 @@ dissect_17221_aem(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree)
proto_tree_add_item(aem_tree, hf_aem_control_domain, tvb,
SIGNAL_SELECTOR_OFFSET_CONTROL_DOMAIN, 2, ENC_BIG_ENDIAN);
- /*
+#if 0
proto_tree_add_item(aem_tree, hf_aem_control_location_type, tvb,
AEM_OFFSET_CONTROL_LOCATION_TYPE_SIGS, 2, ENC_BIG_ENDIAN);
proto_tree_add_item(aem_tree, hf_aem_control_location_id, tvb,
@@ -3541,7 +3541,7 @@ dissect_17221_aem(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree)
proto_tree_add_item(aem_tree, hf_aem_control_latency, tvb,
SIGNAL_SELECTOR_OFFSET_CONTROL_LATENCY, 4, ENC_BIG_ENDIAN);
- // set up sources subtree
+ /* set up sources subtree */
mr_item = proto_tree_add_item(aem_tree, hf_aem_sources, tvb,
0, 0, ENC_NA);
mr_subtree = proto_item_add_subtree(mr_item, ett_aem_sources);
@@ -3557,7 +3557,7 @@ dissect_17221_aem(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree)
mr_offset, 2, ENC_BIG_ENDIAN);
mr_offset += 2;
}
- */
+#endif
break;
case AEM_DESCRIPTOR_MIXER:
proto_tree_add_item(aem_tree, hf_aem_object_name, tvb,
@@ -3573,7 +3573,6 @@ dissect_17221_aem(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree)
MIXER_OFFSET_CONTROL_DOMAIN, 2, ENC_BIG_ENDIAN);
#if 0
- /*
proto_tree_add_item(aem_tree, hf_aem_control_location_type, tvb,
AEM_OFFSET_CONTROL_LOCATION_TYPE_MXR, 2, ENC_BIG_ENDIAN);
proto_tree_add_item(aem_tree, hf_aem_control_location_id, tvb,
@@ -3597,7 +3596,7 @@ dissect_17221_aem(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree)
proto_tree_add_item(aem_tree, hf_aem_control_latency, tvb,
MIXER_OFFSET_CONTROL_LATENCY, 4, ENC_BIG_ENDIAN);
- // set up subtree for sources
+ /* set up subtree for sources */
mr_item = proto_tree_add_item(aem_tree, hf_aem_sources, tvb,
0, 0, ENC_NA);
mr_subtree = proto_item_add_subtree(mr_item, ett_aem_sources);
@@ -3614,13 +3613,12 @@ dissect_17221_aem(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree)
mr_offset += 2;
}
- // end sources subtree
+ /* end sources subtree */
ctrl_val_type = tvb_get_ntohs(tvb, AEM_OFFSET_CONTROL_VALUE_TYPE_MXR);
num_ctrl_vals = 1;
dissect_17221_ctrl_val(tvb, aem_tree, num_ctrl_vals, ctrl_val_type,
MIXER_OFFSET_SOURCES + (tvb_get_ntohs(tvb, AEM_OFFSET_NUMBER_OF_SOURCES_MXR) * 4));
- */
#endif
break;
case AEM_DESCRIPTOR_MATRIX:
@@ -4496,7 +4494,7 @@ dissect_17221_aecp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *aecp_tree)
/* the command type is not one of the valid spec values */
break;
}
- } // AECP AEM Command
+ } /* AECP AEM Command */
else if ((mess_type == AECP_ADDRESS_ACCESS_COMMAND_MESSAGE) || (mess_type == AECP_ADDRESS_ACCESS_RESPONSE_MESSAGE))
{
proto_tree_add_item(aecp_tree, hf_aecp_aa_count, tvb,
@@ -5347,7 +5345,7 @@ proto_register_17221(void)
{"Flags", "ieee17221.avbinfo_flags",
FT_UINT8, BASE_HEX, NULL, 0x00, NULL, HFILL }
},
-
+
{ &hf_aecp_as_capable_flag,
{ "AS Capable Flag", "ieee17221.as_capable_flag",
FT_BOOLEAN, 8, NULL, AECP_AS_CAPABLE_FLAG_MASK, NULL, HFILL }
@@ -5362,7 +5360,7 @@ proto_register_17221(void)
{ "SRP Enabled Flag", "ieee17221.srp_enabled_flag",
FT_BOOLEAN, 8, NULL, AECP_SRP_ENABLED_FLAG_MASK, NULL, HFILL }
},
-
+
{ &hf_aecp_avb_info_msrp_mappings_count,
{"MSRP Mappings Count", "ieee17221.msrp_mappings",
FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL }
@@ -5385,7 +5383,7 @@ proto_register_17221(void)
{"MSRP VLAN ID", "ieee17221.msrp_vlan_id",
FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL }
},
-
+
{ &hf_aecp_map_index,
{"Map Index", "ieee17221.map_index",
FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL }
@@ -5455,7 +5453,7 @@ proto_register_17221(void)
{"Count", "ieee17221.as_path_count",
FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL }
},
-
+
{ &hf_aecp_as_path_sequences,
{"Path Sequence", "ieee17221.as_path_sequences",
FT_NONE, BASE_NONE, NULL, 0x00, NULL, HFILL }
@@ -5465,7 +5463,7 @@ proto_register_17221(void)
{ "ClockId", "ieee17221.get_as_info_clock_id",
FT_UINT64, BASE_HEX, NULL, 0x00, NULL, HFILL }
},
-
+
/* AUTH_ADD_KEY */
{ &hf_aecp_keychain_id,
{"Keychain ID", "ieee17221.keychain_id",