From 75f784cc52a237e49980dee586e217d857e4f949 Mon Sep 17 00:00:00 2001 From: lego Date: Thu, 11 Aug 2005 18:21:23 +0000 Subject: Change a switch into an "if else if else if else" that fixes the "too large for switch" in HP-UX 10.20 . The generated file has a lot of indentation changes due probably to a change in asn2eth. The underlying reason for which I added this code (dissect_ber_integer() would not add as a "filterable" field if it is larger than 4 bytes, should be handled in dissect_ber_integer() ) remains there. Should we change dissect_ber_integer() itself to make sure that a 5 byte unsigned integer which fits in 4 bytes gets added to the tree as "filterable"? git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15294 f5534014-38df-0310-8fa8-9805f1628bb7 --- asn1/h248/packet-h248-template.c | 29 ++-- epan/dissectors/packet-h248.c | 325 ++++++++++++++++++++++++++------------- 2 files changed, 227 insertions(+), 127 deletions(-) diff --git a/asn1/h248/packet-h248-template.c b/asn1/h248/packet-h248-template.c index a93d6d5997..972c277918 100644 --- a/asn1/h248/packet-h248-template.c +++ b/asn1/h248/packet-h248-template.c @@ -363,23 +363,18 @@ static int dissect_h248_ctx_id(gboolean implicit_tag, packet_info *pinfo, proto_ offset++; } - switch(context_id) { - case 0x0000000: - strncpy(context_string,"Ctx 0",sizeof(context_string)); - strncpy(context_string_long,"0 (Null Context)",sizeof(context_string)); - break; - case 0xFFFFFFFF: - strncpy(context_string,"Ctx *",sizeof(context_string)); - strncpy(context_string_long,"* (All Contexts)",sizeof(context_string)); - break; - case 0xFFFFFFFE: - strncpy(context_string,"Ctx $",sizeof(context_string)); - strncpy(context_string_long,"$ (Choose One)",sizeof(context_string)); - break; - default: - g_snprintf(context_string,sizeof(context_string),"Ctx 0x%" PRIx64, context_id); - g_snprintf(context_string_long,sizeof(context_string),"0x%" PRIx64, context_id); - break; + if (context_id == 0x0000000 ) { + strncpy(context_string,"Ctx 0",sizeof(context_string)); + strncpy(context_string_long,"0 (Null Context)",sizeof(context_string)); + } else if (context_id == 0xFFFFFFFF ) { + strncpy(context_string,"Ctx *",sizeof(context_string)); + strncpy(context_string_long,"* (All Contexts)",sizeof(context_string)); + } else if (context_id == 0xFFFFFFFE ) { + strncpy(context_string,"Ctx $",sizeof(context_string)); + strncpy(context_string_long,"$ (Choose One)",sizeof(context_string)); + } else { + g_snprintf(context_string,sizeof(context_string),"Ctx 0x%" PRIx64, context_id); + g_snprintf(context_string_long,sizeof(context_string),"0x%" PRIx64, context_id); } if (context_id > 0xffffffff) { diff --git a/epan/dissectors/packet-h248.c b/epan/dissectors/packet-h248.c index 66f60d5899..3d4990b137 100644 --- a/epan/dissectors/packet-h248.c +++ b/epan/dissectors/packet-h248.c @@ -768,23 +768,18 @@ static int dissect_h248_ctx_id(gboolean implicit_tag, packet_info *pinfo, proto_ offset++; } - switch(context_id) { - case 0x0000000: - strncpy(context_string,"Ctx 0",sizeof(context_string)); - strncpy(context_string_long,"0 (Null Context)",sizeof(context_string)); - break; - case 0xFFFFFFFF: - strncpy(context_string,"Ctx *",sizeof(context_string)); - strncpy(context_string_long,"* (All Contexts)",sizeof(context_string)); - break; - case 0xFFFFFFFE: - strncpy(context_string,"Ctx $",sizeof(context_string)); - strncpy(context_string_long,"$ (Choose One)",sizeof(context_string)); - break; - default: - g_snprintf(context_string,sizeof(context_string),"Ctx 0x%" PRIx64, context_id); - g_snprintf(context_string_long,sizeof(context_string),"0x%" PRIx64, context_id); - break; + if (context_id == 0x0000000 ) { + strncpy(context_string,"Ctx 0",sizeof(context_string)); + strncpy(context_string_long,"0 (Null Context)",sizeof(context_string)); + } else if (context_id == 0xFFFFFFFF ) { + strncpy(context_string,"Ctx *",sizeof(context_string)); + strncpy(context_string_long,"* (All Contexts)",sizeof(context_string)); + } else if (context_id == 0xFFFFFFFE ) { + strncpy(context_string,"Ctx $",sizeof(context_string)); + strncpy(context_string_long,"$ (Choose One)",sizeof(context_string)); + } else { + g_snprintf(context_string,sizeof(context_string),"Ctx 0x%" PRIx64, context_id); + g_snprintf(context_string_long,sizeof(context_string),"0x%" PRIx64, context_id); } if (context_id > 0xffffffff) { @@ -1158,6 +1153,7 @@ static int dissect_ad_impl(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, return dissect_h248_AuthData(TRUE, tvb, offset, pinfo, tree, hf_h248_ad); } + static const ber_sequence_t AuthenticationHeader_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_secParmIndex_impl }, { BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_seqNum_impl }, @@ -1168,7 +1164,7 @@ static const ber_sequence_t AuthenticationHeader_sequence[] = { static int dissect_h248_AuthenticationHeader(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - AuthenticationHeader_sequence, hf_index, ett_h248_AuthenticationHeader); + AuthenticationHeader_sequence, hf_index, ett_h248_AuthenticationHeader); return offset; } @@ -1245,6 +1241,7 @@ static int dissect_manufacturerCode_impl(packet_info *pinfo, proto_tree *tree, t return dissect_h248_INTEGER_0_65535(TRUE, tvb, offset, pinfo, tree, hf_h248_manufacturerCode); } + static const ber_sequence_t IP4Address_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_iP4Address_impl }, { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_portNumber_impl }, @@ -1254,7 +1251,7 @@ static const ber_sequence_t IP4Address_sequence[] = { static int dissect_h248_IP4Address(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - IP4Address_sequence, hf_index, ett_h248_IP4Address); + IP4Address_sequence, hf_index, ett_h248_IP4Address); return offset; } @@ -1275,6 +1272,7 @@ static int dissect_iP6Address_impl(packet_info *pinfo, proto_tree *tree, tvbuff_ return dissect_h248_OCTET_STRING_SIZE_16(TRUE, tvb, offset, pinfo, tree, hf_h248_iP6Address); } + static const ber_sequence_t IP6Address_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_iP6Address_impl }, { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_portNumber_impl }, @@ -1284,7 +1282,7 @@ static const ber_sequence_t IP6Address_sequence[] = { static int dissect_h248_IP6Address(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - IP6Address_sequence, hf_index, ett_h248_IP6Address); + IP6Address_sequence, hf_index, ett_h248_IP6Address); return offset; } @@ -1308,6 +1306,7 @@ static int dissect_digitMapBody_impl(packet_info *pinfo, proto_tree *tree, tvbuf return dissect_h248_IA5String(TRUE, tvb, offset, pinfo, tree, hf_h248_digitMapBody); } + static const ber_sequence_t DomainName_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_domName_impl }, { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_portNumber_impl }, @@ -1317,7 +1316,7 @@ static const ber_sequence_t DomainName_sequence[] = { static int dissect_h248_DomainName(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - DomainName_sequence, hf_index, ett_h248_DomainName); + DomainName_sequence, hf_index, ett_h248_DomainName); return offset; } @@ -1364,7 +1363,8 @@ static const ber_choice_t MId_choice[] = { static int dissect_h248_MId(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_choice(pinfo, tree, tvb, offset, - MId_choice, hf_index, ett_h248_MId, NULL); + MId_choice, hf_index, ett_h248_MId, + NULL); return offset; } @@ -1401,6 +1401,7 @@ static int dissect_errorText_impl(packet_info *pinfo, proto_tree *tree, tvbuff_t return dissect_h248_ErrorText(TRUE, tvb, offset, pinfo, tree, hf_h248_errorText); } + static const ber_sequence_t ErrorDescriptor_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_errorCode_impl }, { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_errorText_impl }, @@ -1410,7 +1411,7 @@ static const ber_sequence_t ErrorDescriptor_sequence[] = { static int dissect_h248_ErrorDescriptor(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - ErrorDescriptor_sequence, hf_index, ett_h248_ErrorDescriptor); + ErrorDescriptor_sequence, hf_index, ett_h248_ErrorDescriptor); return offset; } @@ -1444,6 +1445,7 @@ static int dissect_lastAck_impl(packet_info *pinfo, proto_tree *tree, tvbuff_t * } + static int dissect_h248_transactionId(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_h248_trx_id(implicit_tag, pinfo, tree, tvb, offset); @@ -1456,6 +1458,7 @@ static int dissect_transactionId_impl(packet_info *pinfo, proto_tree *tree, tvbu + static int dissect_h248_contextId(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_h248_ctx_id(implicit_tag, pinfo, tree, tvb, offset); @@ -1558,6 +1561,7 @@ static int dissect_terminationId_impl(packet_info *pinfo, proto_tree *tree, tvbu return dissect_h248_T_id(TRUE, tvb, offset, pinfo, tree, hf_h248_terminationId); } + static const ber_sequence_t TerminationID_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_wildcard_impl }, { BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_terminationId_impl }, @@ -1569,7 +1573,7 @@ dissect_h248_TerminationID(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, if (check_col(pinfo->cinfo, COL_INFO) && command_string != NULL ) col_append_str(pinfo->cinfo, COL_INFO, command_string); it_is_wildcard = FALSE; offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - TerminationID_sequence, hf_index, ett_h248_TerminationID); + TerminationID_sequence, hf_index, ett_h248_TerminationID); if (check_col(pinfo->cinfo, COL_INFO) && command_string != NULL ) col_append_str(pinfo->cinfo, COL_INFO, "}"); it_is_wildcard = FALSE; @@ -1624,6 +1628,7 @@ static int dissect_streamID_impl(packet_info *pinfo, proto_tree *tree, tvbuff_t return dissect_h248_StreamID(TRUE, tvb, offset, pinfo, tree, hf_h248_streamID); } + static const ber_sequence_t TopologyRequest_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_terminationFrom_impl }, { BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_terminationTo_impl }, @@ -1635,7 +1640,7 @@ static const ber_sequence_t TopologyRequest_sequence[] = { static int dissect_h248_TopologyRequest(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - TopologyRequest_sequence, hf_index, ett_h248_TopologyRequest); + TopologyRequest_sequence, hf_index, ett_h248_TopologyRequest); return offset; } @@ -1659,6 +1664,7 @@ static int dissect_topologyReq_impl(packet_info *pinfo, proto_tree *tree, tvbuff return dissect_h248_SEQUENCE_OF_TopologyRequest(TRUE, tvb, offset, pinfo, tree, hf_h248_topologyReq); } + static const ber_sequence_t ContextRequest_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_priority_impl }, { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_emergency_impl }, @@ -1669,7 +1675,7 @@ static const ber_sequence_t ContextRequest_sequence[] = { static int dissect_h248_ContextRequest(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - ContextRequest_sequence, hf_index, ett_h248_ContextRequest); + ContextRequest_sequence, hf_index, ett_h248_ContextRequest); return offset; } @@ -1722,6 +1728,7 @@ static int dissect_iATSDServiceState_impl(packet_info *pinfo, proto_tree *tree, return dissect_h248_NULL(TRUE, tvb, offset, pinfo, tree, hf_h248_iATSDServiceState); } + static const ber_sequence_t ContextAttrAuditRequest_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_topology_impl }, { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_cAAREmergency_impl }, @@ -1732,7 +1739,7 @@ static const ber_sequence_t ContextAttrAuditRequest_sequence[] = { static int dissect_h248_ContextAttrAuditRequest(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - ContextAttrAuditRequest_sequence, hf_index, ett_h248_ContextAttrAuditRequest); + ContextAttrAuditRequest_sequence, hf_index, ett_h248_ContextAttrAuditRequest); return offset; } @@ -1836,7 +1843,8 @@ static const ber_choice_t ExtraInfo_choice[] = { static int dissect_h248_ExtraInfo(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_choice(pinfo, tree, tvb, offset, - ExtraInfo_choice, hf_index, ett_h248_ExtraInfo, NULL); + ExtraInfo_choice, hf_index, ett_h248_ExtraInfo, + NULL); return offset; } @@ -1844,6 +1852,7 @@ static int dissect_extraInfo(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb return dissect_h248_ExtraInfo(FALSE, tvb, offset, pinfo, tree, hf_h248_extraInfo); } + static const ber_sequence_t PropertyParm_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_propertyName_impl }, { BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_propertyParamValue_impl }, @@ -1854,7 +1863,7 @@ static const ber_sequence_t PropertyParm_sequence[] = { static int dissect_h248_PropertyParm(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - PropertyParm_sequence, hf_index, ett_h248_PropertyParm); + PropertyParm_sequence, hf_index, ett_h248_PropertyParm); return offset; } @@ -1923,6 +1932,7 @@ static int dissect_serviceState_impl(packet_info *pinfo, proto_tree *tree, tvbuf return dissect_h248_ServiceState(TRUE, tvb, offset, pinfo, tree, hf_h248_serviceState); } + static const ber_sequence_t TerminationStateDescriptor_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_propertyParms_impl }, { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_tSEventBufferControl_impl }, @@ -1933,7 +1943,7 @@ static const ber_sequence_t TerminationStateDescriptor_sequence[] = { static int dissect_h248_TerminationStateDescriptor(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - TerminationStateDescriptor_sequence, hf_index, ett_h248_TerminationStateDescriptor); + TerminationStateDescriptor_sequence, hf_index, ett_h248_TerminationStateDescriptor); return offset; } @@ -1963,6 +1973,7 @@ static int dissect_streamMode_impl(packet_info *pinfo, proto_tree *tree, tvbuff_ return dissect_h248_StreamMode(TRUE, tvb, offset, pinfo, tree, hf_h248_streamMode); } + static const ber_sequence_t LocalControlDescriptor_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_streamMode_impl }, { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_reserveValue_impl }, @@ -1974,7 +1985,7 @@ static const ber_sequence_t LocalControlDescriptor_sequence[] = { static int dissect_h248_LocalControlDescriptor(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - LocalControlDescriptor_sequence, hf_index, ett_h248_LocalControlDescriptor); + LocalControlDescriptor_sequence, hf_index, ett_h248_LocalControlDescriptor); return offset; } @@ -2014,6 +2025,7 @@ static int dissect_propGrps_impl(packet_info *pinfo, proto_tree *tree, tvbuff_t return dissect_h248_SEQUENCE_OF_PropertyGroup(TRUE, tvb, offset, pinfo, tree, hf_h248_propGrps); } + static const ber_sequence_t LocalRemoteDescriptor_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_propGrps_impl }, { 0, 0, 0, NULL } @@ -2022,7 +2034,7 @@ static const ber_sequence_t LocalRemoteDescriptor_sequence[] = { static int dissect_h248_LocalRemoteDescriptor(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - LocalRemoteDescriptor_sequence, hf_index, ett_h248_LocalRemoteDescriptor); + LocalRemoteDescriptor_sequence, hf_index, ett_h248_LocalRemoteDescriptor); return offset; } @@ -2033,6 +2045,7 @@ static int dissect_remoteDescriptor_impl(packet_info *pinfo, proto_tree *tree, t return dissect_h248_LocalRemoteDescriptor(TRUE, tvb, offset, pinfo, tree, hf_h248_remoteDescriptor); } + static const ber_sequence_t StreamParms_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_localControlDescriptor_impl }, { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_localDescriptor_impl }, @@ -2043,7 +2056,7 @@ static const ber_sequence_t StreamParms_sequence[] = { static int dissect_h248_StreamParms(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - StreamParms_sequence, hf_index, ett_h248_StreamParms); + StreamParms_sequence, hf_index, ett_h248_StreamParms); return offset; } @@ -2054,6 +2067,7 @@ static int dissect_streamParms_impl(packet_info *pinfo, proto_tree *tree, tvbuff return dissect_h248_StreamParms(TRUE, tvb, offset, pinfo, tree, hf_h248_streamParms); } + static const ber_sequence_t StreamDescriptor_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_streamID_impl }, { BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_streamParms_impl }, @@ -2063,7 +2077,7 @@ static const ber_sequence_t StreamDescriptor_sequence[] = { static int dissect_h248_StreamDescriptor(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - StreamDescriptor_sequence, hf_index, ett_h248_StreamDescriptor); + StreamDescriptor_sequence, hf_index, ett_h248_StreamDescriptor); return offset; } @@ -2103,7 +2117,8 @@ static const ber_choice_t T_streams_choice[] = { static int dissect_h248_T_streams(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_choice(pinfo, tree, tvb, offset, - T_streams_choice, hf_index, ett_h248_T_streams, NULL); + T_streams_choice, hf_index, ett_h248_T_streams, + NULL); return offset; } @@ -2111,6 +2126,7 @@ static int dissect_streams(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, return dissect_h248_T_streams(FALSE, tvb, offset, pinfo, tree, hf_h248_streams); } + static const ber_sequence_t MediaDescriptor_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_termStateDescr_impl }, { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_streams }, @@ -2120,7 +2136,7 @@ static const ber_sequence_t MediaDescriptor_sequence[] = { static int dissect_h248_MediaDescriptor(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - MediaDescriptor_sequence, hf_index, ett_h248_MediaDescriptor); + MediaDescriptor_sequence, hf_index, ett_h248_MediaDescriptor); return offset; } @@ -2202,6 +2218,7 @@ static int dissect_t35Extension_impl(packet_info *pinfo, proto_tree *tree, tvbuf return dissect_h248_INTEGER_0_255(TRUE, tvb, offset, pinfo, tree, hf_h248_t35Extension); } + static const ber_sequence_t H221NonStandard_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_t35CountryCode1_impl }, { BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_t35CountryCode2_impl }, @@ -2213,7 +2230,7 @@ static const ber_sequence_t H221NonStandard_sequence[] = { static int dissect_h248_H221NonStandard(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - H221NonStandard_sequence, hf_index, ett_h248_H221NonStandard); + H221NonStandard_sequence, hf_index, ett_h248_H221NonStandard); return offset; } @@ -2258,7 +2275,8 @@ static const ber_choice_t NonStandardIdentifier_choice[] = { static int dissect_h248_NonStandardIdentifier(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_choice(pinfo, tree, tvb, offset, - NonStandardIdentifier_choice, hf_index, ett_h248_NonStandardIdentifier, NULL); + NonStandardIdentifier_choice, hf_index, ett_h248_NonStandardIdentifier, + NULL); return offset; } @@ -2282,6 +2300,7 @@ static int dissect_Value_item(packet_info *pinfo, proto_tree *tree, tvbuff_t *tv return dissect_h248_OCTET_STRING(FALSE, tvb, offset, pinfo, tree, hf_h248_Value_item); } + static const ber_sequence_t NonStandardData_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_NOTCHKTAG, dissect_nonStandardIdentifier }, { BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_data_impl }, @@ -2291,7 +2310,7 @@ static const ber_sequence_t NonStandardData_sequence[] = { static int dissect_h248_NonStandardData(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - NonStandardData_sequence, hf_index, ett_h248_NonStandardData); + NonStandardData_sequence, hf_index, ett_h248_NonStandardData); return offset; } @@ -2299,6 +2318,7 @@ static int dissect_nonStandardData_impl(packet_info *pinfo, proto_tree *tree, tv return dissect_h248_NonStandardData(TRUE, tvb, offset, pinfo, tree, hf_h248_nonStandardData); } + static const ber_sequence_t ModemDescriptor_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_mtl_impl }, { BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_mpl_impl }, @@ -2309,7 +2329,7 @@ static const ber_sequence_t ModemDescriptor_sequence[] = { static int dissect_h248_ModemDescriptor(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - ModemDescriptor_sequence, hf_index, ett_h248_ModemDescriptor); + ModemDescriptor_sequence, hf_index, ett_h248_ModemDescriptor); return offset; } @@ -2355,6 +2375,7 @@ static int dissect_termList_impl(packet_info *pinfo, proto_tree *tree, tvbuff_t return dissect_h248_SEQUENCE_OF_TerminationID(TRUE, tvb, offset, pinfo, tree, hf_h248_termList); } + static const ber_sequence_t MuxDescriptor_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_muxType_impl }, { BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_termList_impl }, @@ -2365,7 +2386,7 @@ static const ber_sequence_t MuxDescriptor_sequence[] = { static int dissect_h248_MuxDescriptor(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - MuxDescriptor_sequence, hf_index, ett_h248_MuxDescriptor); + MuxDescriptor_sequence, hf_index, ett_h248_MuxDescriptor); return offset; } @@ -2416,6 +2437,7 @@ static int dissect_sigParameterName_impl(packet_info *pinfo, proto_tree *tree, t } + static int dissect_h248_DigitMapName(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_h248_Name(implicit_tag, tvb, offset, pinfo, tree, hf_index); @@ -2426,6 +2448,7 @@ static int dissect_digitMapName_impl(packet_info *pinfo, proto_tree *tree, tvbuf return dissect_h248_DigitMapName(TRUE, tvb, offset, pinfo, tree, hf_h248_digitMapName); } + static const ber_sequence_t DigitMapValue_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_startTimer_impl }, { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_shortTimer_impl }, @@ -2438,7 +2461,7 @@ static const ber_sequence_t DigitMapValue_sequence[] = { static int dissect_h248_DigitMapValue(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - DigitMapValue_sequence, hf_index, ett_h248_DigitMapValue); + DigitMapValue_sequence, hf_index, ett_h248_DigitMapValue); return offset; } @@ -2462,7 +2485,8 @@ static const ber_choice_t EventDM_choice[] = { static int dissect_h248_EventDM(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_choice(pinfo, tree, tvb, offset, - EventDM_choice, hf_index, ett_h248_EventDM, NULL); + EventDM_choice, hf_index, ett_h248_EventDM, + NULL); return offset; } @@ -2536,6 +2560,7 @@ static int dissect_statValue_impl(packet_info *pinfo, proto_tree *tree, tvbuff_t return dissect_h248_Value(TRUE, tvb, offset, pinfo, tree, hf_h248_statValue); } + static const ber_sequence_t SigParameter_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_sigParameterName_impl }, { BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_value_impl }, @@ -2546,7 +2571,7 @@ static const ber_sequence_t SigParameter_sequence[] = { static int dissect_h248_SigParameter(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - SigParameter_sequence, hf_index, ett_h248_SigParameter); + SigParameter_sequence, hf_index, ett_h248_SigParameter); return offset; } @@ -2570,6 +2595,7 @@ static int dissect_sigParList_impl(packet_info *pinfo, proto_tree *tree, tvbuff_ return dissect_h248_SEQUENCE_OF_SigParameter(TRUE, tvb, offset, pinfo, tree, hf_h248_sigParList); } + static const ber_sequence_t Signal_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_signalName_impl }, { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_streamID_impl }, @@ -2584,7 +2610,7 @@ static const ber_sequence_t Signal_sequence[] = { static int dissect_h248_Signal(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - Signal_sequence, hf_index, ett_h248_Signal); + Signal_sequence, hf_index, ett_h248_Signal); return offset; } @@ -2611,6 +2637,7 @@ static int dissect_signalList_impl(packet_info *pinfo, proto_tree *tree, tvbuff_ return dissect_h248_SEQUENCE_OF_Signal(TRUE, tvb, offset, pinfo, tree, hf_h248_signalList); } + static const ber_sequence_t SeqSigList_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_id_impl }, { BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_signalList_impl }, @@ -2620,7 +2647,7 @@ static const ber_sequence_t SeqSigList_sequence[] = { static int dissect_h248_SeqSigList(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - SeqSigList_sequence, hf_index, ett_h248_SeqSigList); + SeqSigList_sequence, hf_index, ett_h248_SeqSigList); return offset; } @@ -2644,7 +2671,8 @@ static const ber_choice_t SignalRequest_choice[] = { static int dissect_h248_SignalRequest(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_choice(pinfo, tree, tvb, offset, - SignalRequest_choice, hf_index, ett_h248_SignalRequest, NULL); + SignalRequest_choice, hf_index, ett_h248_SignalRequest, + NULL); return offset; } @@ -2668,6 +2696,7 @@ static int dissect_signalsDescriptor_impl(packet_info *pinfo, proto_tree *tree, return dissect_h248_SignalsDescriptor(TRUE, tvb, offset, pinfo, tree, hf_h248_signalsDescriptor); } + static const ber_sequence_t SecondRequestedActions_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_keepActive_impl }, { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_NOTCHKTAG, dissect_eventDM }, @@ -2678,7 +2707,7 @@ static const ber_sequence_t SecondRequestedActions_sequence[] = { static int dissect_h248_SecondRequestedActions(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - SecondRequestedActions_sequence, hf_index, ett_h248_SecondRequestedActions); + SecondRequestedActions_sequence, hf_index, ett_h248_SecondRequestedActions); return offset; } @@ -2686,6 +2715,7 @@ static int dissect_secondaryEventAction_impl(packet_info *pinfo, proto_tree *tre return dissect_h248_SecondRequestedActions(TRUE, tvb, offset, pinfo, tree, hf_h248_secondaryEventAction); } + static const ber_sequence_t EventParameter_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_eventParameterName_impl }, { BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_value_impl }, @@ -2696,7 +2726,7 @@ static const ber_sequence_t EventParameter_sequence[] = { static int dissect_h248_EventParameter(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - EventParameter_sequence, hf_index, ett_h248_EventParameter); + EventParameter_sequence, hf_index, ett_h248_EventParameter); return offset; } @@ -2723,6 +2753,7 @@ static int dissect_evParList_impl(packet_info *pinfo, proto_tree *tree, tvbuff_t return dissect_h248_EventParameters(TRUE, tvb, offset, pinfo, tree, hf_h248_evParList); } + static const ber_sequence_t SecondRequestedEvent_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_pkgdName_impl }, { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_streamID_impl }, @@ -2734,7 +2765,7 @@ static const ber_sequence_t SecondRequestedEvent_sequence[] = { static int dissect_h248_SecondRequestedEvent(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - SecondRequestedEvent_sequence, hf_index, ett_h248_SecondRequestedEvent); + SecondRequestedEvent_sequence, hf_index, ett_h248_SecondRequestedEvent); return offset; } @@ -2758,6 +2789,7 @@ static int dissect_secondaryEventList_impl(packet_info *pinfo, proto_tree *tree, return dissect_h248_SEQUENCE_OF_SecondRequestedEvent(TRUE, tvb, offset, pinfo, tree, hf_h248_secondaryEventList); } + static const ber_sequence_t SecondEventsDescriptor_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_requestID_impl }, { BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_secondaryEventList_impl }, @@ -2767,7 +2799,7 @@ static const ber_sequence_t SecondEventsDescriptor_sequence[] = { static int dissect_h248_SecondEventsDescriptor(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - SecondEventsDescriptor_sequence, hf_index, ett_h248_SecondEventsDescriptor); + SecondEventsDescriptor_sequence, hf_index, ett_h248_SecondEventsDescriptor); return offset; } @@ -2775,6 +2807,7 @@ static int dissect_secondEvent_impl(packet_info *pinfo, proto_tree *tree, tvbuff return dissect_h248_SecondEventsDescriptor(TRUE, tvb, offset, pinfo, tree, hf_h248_secondEvent); } + static const ber_sequence_t RequestedActions_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_keepActive_impl }, { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_NOTCHKTAG, dissect_eventDM }, @@ -2786,7 +2819,7 @@ static const ber_sequence_t RequestedActions_sequence[] = { static int dissect_h248_RequestedActions(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - RequestedActions_sequence, hf_index, ett_h248_RequestedActions); + RequestedActions_sequence, hf_index, ett_h248_RequestedActions); return offset; } @@ -2794,6 +2827,7 @@ static int dissect_eventAction_impl(packet_info *pinfo, proto_tree *tree, tvbuff return dissect_h248_RequestedActions(TRUE, tvb, offset, pinfo, tree, hf_h248_eventAction); } + static const ber_sequence_t RequestedEvent_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_pkgdName_impl }, { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_streamID_impl }, @@ -2805,7 +2839,7 @@ static const ber_sequence_t RequestedEvent_sequence[] = { static int dissect_h248_RequestedEvent(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - RequestedEvent_sequence, hf_index, ett_h248_RequestedEvent); + RequestedEvent_sequence, hf_index, ett_h248_RequestedEvent); return offset; } @@ -2829,6 +2863,7 @@ static int dissect_eventList_impl(packet_info *pinfo, proto_tree *tree, tvbuff_t return dissect_h248_RequestedEvents(TRUE, tvb, offset, pinfo, tree, hf_h248_eventList); } + static const ber_sequence_t EventsDescriptor_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_requestID_impl }, { BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_eventList_impl }, @@ -2838,7 +2873,7 @@ static const ber_sequence_t EventsDescriptor_sequence[] = { static int dissect_h248_EventsDescriptor(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - EventsDescriptor_sequence, hf_index, ett_h248_EventsDescriptor); + EventsDescriptor_sequence, hf_index, ett_h248_EventsDescriptor); return offset; } @@ -2846,6 +2881,7 @@ static int dissect_eventsDescriptor_impl(packet_info *pinfo, proto_tree *tree, t return dissect_h248_EventsDescriptor(TRUE, tvb, offset, pinfo, tree, hf_h248_eventsDescriptor); } + static const ber_sequence_t EventSpec_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_eventName_impl }, { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_streamID_impl }, @@ -2856,7 +2892,7 @@ static const ber_sequence_t EventSpec_sequence[] = { static int dissect_h248_EventSpec(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - EventSpec_sequence, hf_index, ett_h248_EventSpec); + EventSpec_sequence, hf_index, ett_h248_EventSpec); return offset; } @@ -2880,6 +2916,7 @@ static int dissect_eventBufferDescriptor_impl(packet_info *pinfo, proto_tree *tr return dissect_h248_EventBufferDescriptor(TRUE, tvb, offset, pinfo, tree, hf_h248_eventBufferDescriptor); } + static const ber_sequence_t DigitMapDescriptor_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_digitMapName_impl }, { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_digitMapValue_impl }, @@ -2889,7 +2926,7 @@ static const ber_sequence_t DigitMapDescriptor_sequence[] = { static int dissect_h248_DigitMapDescriptor(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - DigitMapDescriptor_sequence, hf_index, ett_h248_DigitMapDescriptor); + DigitMapDescriptor_sequence, hf_index, ett_h248_DigitMapDescriptor); return offset; } @@ -2923,6 +2960,7 @@ static int dissect_auditToken_impl(packet_info *pinfo, proto_tree *tree, tvbuff_ return dissect_h248_T_auditToken(TRUE, tvb, offset, pinfo, tree, hf_h248_auditToken); } + static const ber_sequence_t IndAudPropertyParm_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_name_impl }, { 0, 0, 0, NULL } @@ -2931,7 +2969,7 @@ static const ber_sequence_t IndAudPropertyParm_sequence[] = { static int dissect_h248_IndAudPropertyParm(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - IndAudPropertyParm_sequence, hf_index, ett_h248_IndAudPropertyParm); + IndAudPropertyParm_sequence, hf_index, ett_h248_IndAudPropertyParm); return offset; } @@ -2958,6 +2996,7 @@ static int dissect_indAudPropertyParms_impl(packet_info *pinfo, proto_tree *tree return dissect_h248_IndAudPropertyParms(TRUE, tvb, offset, pinfo, tree, hf_h248_indAudPropertyParms); } + static const ber_sequence_t IndAudTerminationStateDescriptor_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_indAudPropertyParms_impl }, { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_eventBufferControl_impl }, @@ -2968,7 +3007,7 @@ static const ber_sequence_t IndAudTerminationStateDescriptor_sequence[] = { static int dissect_h248_IndAudTerminationStateDescriptor(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - IndAudTerminationStateDescriptor_sequence, hf_index, ett_h248_IndAudTerminationStateDescriptor); + IndAudTerminationStateDescriptor_sequence, hf_index, ett_h248_IndAudTerminationStateDescriptor); return offset; } @@ -2976,6 +3015,7 @@ static int dissect_indAudTerminationStateDescriptor_impl(packet_info *pinfo, pro return dissect_h248_IndAudTerminationStateDescriptor(TRUE, tvb, offset, pinfo, tree, hf_h248_indAudTerminationStateDescriptor); } + static const ber_sequence_t IndAudLocalControlDescriptor_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_iALCDStreamMode_impl }, { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_iALCDReserveValue_impl }, @@ -2987,7 +3027,7 @@ static const ber_sequence_t IndAudLocalControlDescriptor_sequence[] = { static int dissect_h248_IndAudLocalControlDescriptor(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - IndAudLocalControlDescriptor_sequence, hf_index, ett_h248_IndAudLocalControlDescriptor); + IndAudLocalControlDescriptor_sequence, hf_index, ett_h248_IndAudLocalControlDescriptor); return offset; } @@ -3011,6 +3051,7 @@ static int dissect_iAPropertyGroup_impl(packet_info *pinfo, proto_tree *tree, tv return dissect_h248_IndAudPropertyGroup(TRUE, tvb, offset, pinfo, tree, hf_h248_iAPropertyGroup); } + static const ber_sequence_t IndAudLocalRemoteDescriptor_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_propGroupID_impl }, { BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_iAPropertyGroup_impl }, @@ -3020,7 +3061,7 @@ static const ber_sequence_t IndAudLocalRemoteDescriptor_sequence[] = { static int dissect_h248_IndAudLocalRemoteDescriptor(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - IndAudLocalRemoteDescriptor_sequence, hf_index, ett_h248_IndAudLocalRemoteDescriptor); + IndAudLocalRemoteDescriptor_sequence, hf_index, ett_h248_IndAudLocalRemoteDescriptor); return offset; } @@ -3031,6 +3072,7 @@ static int dissect_iASPRemoteDescriptor_impl(packet_info *pinfo, proto_tree *tre return dissect_h248_IndAudLocalRemoteDescriptor(TRUE, tvb, offset, pinfo, tree, hf_h248_iASPRemoteDescriptor); } + static const ber_sequence_t IndAudStreamParms_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_iASPLocalControlDescriptor_impl }, { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_iASPLocalDescriptor_impl }, @@ -3041,7 +3083,7 @@ static const ber_sequence_t IndAudStreamParms_sequence[] = { static int dissect_h248_IndAudStreamParms(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - IndAudStreamParms_sequence, hf_index, ett_h248_IndAudStreamParms); + IndAudStreamParms_sequence, hf_index, ett_h248_IndAudStreamParms); return offset; } @@ -3052,6 +3094,7 @@ static int dissect_indAudStreamParms_impl(packet_info *pinfo, proto_tree *tree, return dissect_h248_IndAudStreamParms(TRUE, tvb, offset, pinfo, tree, hf_h248_indAudStreamParms); } + static const ber_sequence_t IndAudStreamDescriptor_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_streamID_impl }, { BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_indAudStreamParms_impl }, @@ -3061,7 +3104,7 @@ static const ber_sequence_t IndAudStreamDescriptor_sequence[] = { static int dissect_h248_IndAudStreamDescriptor(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - IndAudStreamDescriptor_sequence, hf_index, ett_h248_IndAudStreamDescriptor); + IndAudStreamDescriptor_sequence, hf_index, ett_h248_IndAudStreamDescriptor); return offset; } @@ -3101,7 +3144,8 @@ static const ber_choice_t indAudMediaDescriptorStreams_choice[] = { static int dissect_h248_indAudMediaDescriptorStreams(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_choice(pinfo, tree, tvb, offset, - indAudMediaDescriptorStreams_choice, hf_index, ett_h248_indAudMediaDescriptorStreams, NULL); + indAudMediaDescriptorStreams_choice, hf_index, ett_h248_indAudMediaDescriptorStreams, + NULL); return offset; } @@ -3109,6 +3153,7 @@ static int dissect_indAudMediaDescriptorStreams(packet_info *pinfo, proto_tree * return dissect_h248_indAudMediaDescriptorStreams(FALSE, tvb, offset, pinfo, tree, hf_h248_indAudMediaDescriptorStreams); } + static const ber_sequence_t IndAudMediaDescriptor_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_indAudTerminationStateDescriptor_impl }, { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_indAudMediaDescriptorStreams }, @@ -3118,7 +3163,7 @@ static const ber_sequence_t IndAudMediaDescriptor_sequence[] = { static int dissect_h248_IndAudMediaDescriptor(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - IndAudMediaDescriptor_sequence, hf_index, ett_h248_IndAudMediaDescriptor); + IndAudMediaDescriptor_sequence, hf_index, ett_h248_IndAudMediaDescriptor); return offset; } @@ -3126,6 +3171,7 @@ static int dissect_indaudmediaDescriptor_impl(packet_info *pinfo, proto_tree *tr return dissect_h248_IndAudMediaDescriptor(TRUE, tvb, offset, pinfo, tree, hf_h248_indaudmediaDescriptor); } + static const ber_sequence_t IndAudEventsDescriptor_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_requestID_impl }, { BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_iAEDPkgdName_impl }, @@ -3136,7 +3182,7 @@ static const ber_sequence_t IndAudEventsDescriptor_sequence[] = { static int dissect_h248_IndAudEventsDescriptor(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - IndAudEventsDescriptor_sequence, hf_index, ett_h248_IndAudEventsDescriptor); + IndAudEventsDescriptor_sequence, hf_index, ett_h248_IndAudEventsDescriptor); return offset; } @@ -3144,6 +3190,7 @@ static int dissect_indaudeventsDescriptor_impl(packet_info *pinfo, proto_tree *t return dissect_h248_IndAudEventsDescriptor(TRUE, tvb, offset, pinfo, tree, hf_h248_indaudeventsDescriptor); } + static const ber_sequence_t IndAudEventBufferDescriptor_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_iAEBDEventName_impl }, { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_streamID_impl }, @@ -3153,7 +3200,7 @@ static const ber_sequence_t IndAudEventBufferDescriptor_sequence[] = { static int dissect_h248_IndAudEventBufferDescriptor(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - IndAudEventBufferDescriptor_sequence, hf_index, ett_h248_IndAudEventBufferDescriptor); + IndAudEventBufferDescriptor_sequence, hf_index, ett_h248_IndAudEventBufferDescriptor); return offset; } @@ -3161,6 +3208,7 @@ static int dissect_indaudeventBufferDescriptor_impl(packet_info *pinfo, proto_tr return dissect_h248_IndAudEventBufferDescriptor(TRUE, tvb, offset, pinfo, tree, hf_h248_indaudeventBufferDescriptor); } + static const ber_sequence_t IndAudSignal_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_iASignalName_impl }, { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_streamID_impl }, @@ -3170,7 +3218,7 @@ static const ber_sequence_t IndAudSignal_sequence[] = { static int dissect_h248_IndAudSignal(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - IndAudSignal_sequence, hf_index, ett_h248_IndAudSignal); + IndAudSignal_sequence, hf_index, ett_h248_IndAudSignal); return offset; } @@ -3181,6 +3229,7 @@ static int dissect_iASignalList_impl(packet_info *pinfo, proto_tree *tree, tvbuf return dissect_h248_IndAudSignal(TRUE, tvb, offset, pinfo, tree, hf_h248_iASignalList); } + static const ber_sequence_t IndAudSeqSigList_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_id_impl }, { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_iASignalList_impl }, @@ -3190,7 +3239,7 @@ static const ber_sequence_t IndAudSeqSigList_sequence[] = { static int dissect_h248_IndAudSeqSigList(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - IndAudSeqSigList_sequence, hf_index, ett_h248_IndAudSeqSigList); + IndAudSeqSigList_sequence, hf_index, ett_h248_IndAudSeqSigList); return offset; } @@ -3214,7 +3263,8 @@ static const ber_choice_t IndAudSignalsDescriptor_choice[] = { static int dissect_h248_IndAudSignalsDescriptor(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_choice(pinfo, tree, tvb, offset, - IndAudSignalsDescriptor_choice, hf_index, ett_h248_IndAudSignalsDescriptor, NULL); + IndAudSignalsDescriptor_choice, hf_index, ett_h248_IndAudSignalsDescriptor, + NULL); return offset; } @@ -3222,6 +3272,7 @@ static int dissect_indaudsignalsDescriptor(packet_info *pinfo, proto_tree *tree, return dissect_h248_IndAudSignalsDescriptor(FALSE, tvb, offset, pinfo, tree, hf_h248_indaudsignalsDescriptor); } + static const ber_sequence_t IndAudDigitMapDescriptor_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_digitMapName_impl }, { 0, 0, 0, NULL } @@ -3230,7 +3281,7 @@ static const ber_sequence_t IndAudDigitMapDescriptor_sequence[] = { static int dissect_h248_IndAudDigitMapDescriptor(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - IndAudDigitMapDescriptor_sequence, hf_index, ett_h248_IndAudDigitMapDescriptor); + IndAudDigitMapDescriptor_sequence, hf_index, ett_h248_IndAudDigitMapDescriptor); return offset; } @@ -3238,6 +3289,7 @@ static int dissect_indauddigitMapDescriptor_impl(packet_info *pinfo, proto_tree return dissect_h248_IndAudDigitMapDescriptor(TRUE, tvb, offset, pinfo, tree, hf_h248_indauddigitMapDescriptor); } + static const ber_sequence_t IndAudStatisticsDescriptor_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_statName_impl }, { 0, 0, 0, NULL } @@ -3246,7 +3298,7 @@ static const ber_sequence_t IndAudStatisticsDescriptor_sequence[] = { static int dissect_h248_IndAudStatisticsDescriptor(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - IndAudStatisticsDescriptor_sequence, hf_index, ett_h248_IndAudStatisticsDescriptor); + IndAudStatisticsDescriptor_sequence, hf_index, ett_h248_IndAudStatisticsDescriptor); return offset; } @@ -3254,6 +3306,7 @@ static int dissect_indaudstatisticsDescriptor_impl(packet_info *pinfo, proto_tre return dissect_h248_IndAudStatisticsDescriptor(TRUE, tvb, offset, pinfo, tree, hf_h248_indaudstatisticsDescriptor); } + static const ber_sequence_t IndAudPackagesDescriptor_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_packageName_impl }, { BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_packageVersion_impl }, @@ -3263,7 +3316,7 @@ static const ber_sequence_t IndAudPackagesDescriptor_sequence[] = { static int dissect_h248_IndAudPackagesDescriptor(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - IndAudPackagesDescriptor_sequence, hf_index, ett_h248_IndAudPackagesDescriptor); + IndAudPackagesDescriptor_sequence, hf_index, ett_h248_IndAudPackagesDescriptor); return offset; } @@ -3297,7 +3350,8 @@ static const ber_choice_t IndAuditParameter_choice[] = { static int dissect_h248_IndAuditParameter(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_choice(pinfo, tree, tvb, offset, - IndAuditParameter_choice, hf_index, ett_h248_IndAuditParameter, NULL); + IndAuditParameter_choice, hf_index, ett_h248_IndAuditParameter, + NULL); return offset; } @@ -3321,6 +3375,7 @@ static int dissect_auditPropertyToken_impl(packet_info *pinfo, proto_tree *tree, return dissect_h248_SEQUENCE_OF_IndAuditParameter(TRUE, tvb, offset, pinfo, tree, hf_h248_auditPropertyToken); } + static const ber_sequence_t AuditDescriptor_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_auditToken_impl }, { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_auditPropertyToken_impl }, @@ -3330,7 +3385,7 @@ static const ber_sequence_t AuditDescriptor_sequence[] = { static int dissect_h248_AuditDescriptor(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - AuditDescriptor_sequence, hf_index, ett_h248_AuditDescriptor); + AuditDescriptor_sequence, hf_index, ett_h248_AuditDescriptor); return offset; } @@ -3372,7 +3427,8 @@ static const ber_choice_t AmmDescriptor_choice[] = { static int dissect_h248_AmmDescriptor(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_choice(pinfo, tree, tvb, offset, - AmmDescriptor_choice, hf_index, ett_h248_AmmDescriptor, NULL); + AmmDescriptor_choice, hf_index, ett_h248_AmmDescriptor, + NULL); return offset; } @@ -3396,6 +3452,7 @@ static int dissect_descriptors_impl(packet_info *pinfo, proto_tree *tree, tvbuff return dissect_h248_SEQUENCE_OF_AmmDescriptor(TRUE, tvb, offset, pinfo, tree, hf_h248_descriptors); } + static const ber_sequence_t AmmRequest_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_terminationIDList_impl }, { BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_descriptors_impl }, @@ -3405,12 +3462,13 @@ static const ber_sequence_t AmmRequest_sequence[] = { static int dissect_h248_AmmRequest(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - AmmRequest_sequence, hf_index, ett_h248_AmmRequest); + AmmRequest_sequence, hf_index, ett_h248_AmmRequest); return offset; } + static int dissect_h248_T_addReq(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { command_string = "addReq {"; @@ -3423,6 +3481,7 @@ static int dissect_addReq_impl(packet_info *pinfo, proto_tree *tree, tvbuff_t *t } + static int dissect_h248_T_moveReq(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { command_string = "moveReq {"; @@ -3435,6 +3494,7 @@ static int dissect_moveReq_impl(packet_info *pinfo, proto_tree *tree, tvbuff_t * } + static int dissect_h248_T_modReq(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { command_string = "modReq {"; @@ -3446,6 +3506,7 @@ static int dissect_modReq_impl(packet_info *pinfo, proto_tree *tree, tvbuff_t *t return dissect_h248_T_modReq(TRUE, tvb, offset, pinfo, tree, hf_h248_modReq); } + static const ber_sequence_t SubtractRequest_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_terminationIDList_impl }, { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_auditDescriptor_impl }, @@ -3455,12 +3516,13 @@ static const ber_sequence_t SubtractRequest_sequence[] = { static int dissect_h248_SubtractRequest(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - SubtractRequest_sequence, hf_index, ett_h248_SubtractRequest); + SubtractRequest_sequence, hf_index, ett_h248_SubtractRequest); return offset; } + static int dissect_h248_T_subtractReq(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { command_string = "subtractReq {"; @@ -3472,6 +3534,7 @@ static int dissect_subtractReq_impl(packet_info *pinfo, proto_tree *tree, tvbuff return dissect_h248_T_subtractReq(TRUE, tvb, offset, pinfo, tree, hf_h248_subtractReq); } + static const ber_sequence_t AuditRequest_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_terminationID_impl }, { BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_auditDescriptor_impl }, @@ -3481,12 +3544,13 @@ static const ber_sequence_t AuditRequest_sequence[] = { static int dissect_h248_AuditRequest(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - AuditRequest_sequence, hf_index, ett_h248_AuditRequest); + AuditRequest_sequence, hf_index, ett_h248_AuditRequest); return offset; } + static int dissect_h248_T_auditCapRequest(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { command_string = "auditCapRequest {"; @@ -3499,6 +3563,7 @@ static int dissect_auditCapRequest_impl(packet_info *pinfo, proto_tree *tree, tv } + static int dissect_h248_T_auditValueRequest(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { command_string = "auditValueRequest {"; @@ -3510,6 +3575,7 @@ static int dissect_auditValueRequest_impl(packet_info *pinfo, proto_tree *tree, return dissect_h248_T_auditValueRequest(TRUE, tvb, offset, pinfo, tree, hf_h248_auditValueRequest); } + static const ber_sequence_t TimeNotation_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_date_impl }, { BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_time_impl }, @@ -3519,7 +3585,7 @@ static const ber_sequence_t TimeNotation_sequence[] = { static int dissect_h248_TimeNotation(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - TimeNotation_sequence, hf_index, ett_h248_TimeNotation); + TimeNotation_sequence, hf_index, ett_h248_TimeNotation); return offset; } @@ -3533,6 +3599,7 @@ static int dissect_timestamp_impl(packet_info *pinfo, proto_tree *tree, tvbuff_t return dissect_h248_TimeNotation(TRUE, tvb, offset, pinfo, tree, hf_h248_timestamp); } + static const ber_sequence_t ObservedEvent_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_eventName_impl }, { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_streamID_impl }, @@ -3544,7 +3611,7 @@ static const ber_sequence_t ObservedEvent_sequence[] = { static int dissect_h248_ObservedEvent(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - ObservedEvent_sequence, hf_index, ett_h248_ObservedEvent); + ObservedEvent_sequence, hf_index, ett_h248_ObservedEvent); return offset; } @@ -3568,6 +3635,7 @@ static int dissect_observedEventLst_impl(packet_info *pinfo, proto_tree *tree, t return dissect_h248_SEQUENCE_OF_ObservedEvent(TRUE, tvb, offset, pinfo, tree, hf_h248_observedEventLst); } + static const ber_sequence_t ObservedEventsDescriptor_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_requestId_impl }, { BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_observedEventLst_impl }, @@ -3577,7 +3645,7 @@ static const ber_sequence_t ObservedEventsDescriptor_sequence[] = { static int dissect_h248_ObservedEventsDescriptor(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - ObservedEventsDescriptor_sequence, hf_index, ett_h248_ObservedEventsDescriptor); + ObservedEventsDescriptor_sequence, hf_index, ett_h248_ObservedEventsDescriptor); return offset; } @@ -3585,6 +3653,7 @@ static int dissect_observedEventsDescriptor_impl(packet_info *pinfo, proto_tree return dissect_h248_ObservedEventsDescriptor(TRUE, tvb, offset, pinfo, tree, hf_h248_observedEventsDescriptor); } + static const ber_sequence_t NotifyRequest_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_terminationIDList_impl }, { BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_observedEventsDescriptor_impl }, @@ -3595,12 +3664,13 @@ static const ber_sequence_t NotifyRequest_sequence[] = { static int dissect_h248_NotifyRequest(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - NotifyRequest_sequence, hf_index, ett_h248_NotifyRequest); + NotifyRequest_sequence, hf_index, ett_h248_NotifyRequest); return offset; } + static int dissect_h248_T_notifyReq(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { command_string = "notifyReq {"; @@ -3659,7 +3729,8 @@ static const ber_choice_t ServiceChangeAddress_choice[] = { static int dissect_h248_ServiceChangeAddress(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_choice(pinfo, tree, tvb, offset, - ServiceChangeAddress_choice, hf_index, ett_h248_ServiceChangeAddress, NULL); + ServiceChangeAddress_choice, hf_index, ett_h248_ServiceChangeAddress, + NULL); return offset; } @@ -3680,6 +3751,7 @@ static int dissect_profileName_impl(packet_info *pinfo, proto_tree *tree, tvbuff return dissect_h248_IA5String_SIZE_1_67(TRUE, tvb, offset, pinfo, tree, hf_h248_profileName); } + static const ber_sequence_t ServiceChangeProfile_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_profileName_impl }, { 0, 0, 0, NULL } @@ -3688,7 +3760,7 @@ static const ber_sequence_t ServiceChangeProfile_sequence[] = { static int dissect_h248_ServiceChangeProfile(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - ServiceChangeProfile_sequence, hf_index, ett_h248_ServiceChangeProfile); + ServiceChangeProfile_sequence, hf_index, ett_h248_ServiceChangeProfile); return offset; } @@ -3709,6 +3781,7 @@ static int dissect_serviceChangeDelay_impl(packet_info *pinfo, proto_tree *tree, return dissect_h248_INTEGER_0_4294967295(TRUE, tvb, offset, pinfo, tree, hf_h248_serviceChangeDelay); } + static const ber_sequence_t ServiceChangeParm_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_serviceChangeMethod_impl }, { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_NOTCHKTAG, dissect_serviceChangeAddress }, @@ -3726,7 +3799,7 @@ static const ber_sequence_t ServiceChangeParm_sequence[] = { static int dissect_h248_ServiceChangeParm(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - ServiceChangeParm_sequence, hf_index, ett_h248_ServiceChangeParm); + ServiceChangeParm_sequence, hf_index, ett_h248_ServiceChangeParm); return offset; } @@ -3734,6 +3807,7 @@ static int dissect_serviceChangeParms_impl(packet_info *pinfo, proto_tree *tree, return dissect_h248_ServiceChangeParm(TRUE, tvb, offset, pinfo, tree, hf_h248_serviceChangeParms); } + static const ber_sequence_t ServiceChangeRequest_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_terminationIDList_impl }, { BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_serviceChangeParms_impl }, @@ -3743,7 +3817,7 @@ static const ber_sequence_t ServiceChangeRequest_sequence[] = { static int dissect_h248_ServiceChangeRequest(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - ServiceChangeRequest_sequence, hf_index, ett_h248_ServiceChangeRequest); + ServiceChangeRequest_sequence, hf_index, ett_h248_ServiceChangeRequest); return offset; } @@ -3779,7 +3853,8 @@ static const ber_choice_t Command_choice[] = { static int dissect_h248_Command(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_choice(pinfo, tree, tvb, offset, - Command_choice, hf_index, ett_h248_Command, NULL); + Command_choice, hf_index, ett_h248_Command, + NULL); return offset; } @@ -3787,6 +3862,7 @@ static int dissect_command(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, return dissect_h248_Command(FALSE, tvb, offset, pinfo, tree, hf_h248_command); } + static const ber_sequence_t CommandRequest_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_NOTCHKTAG, dissect_command }, { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_optional_impl }, @@ -3797,7 +3873,7 @@ static const ber_sequence_t CommandRequest_sequence[] = { static int dissect_h248_CommandRequest(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - CommandRequest_sequence, hf_index, ett_h248_CommandRequest); + CommandRequest_sequence, hf_index, ett_h248_CommandRequest); return offset; } @@ -3821,6 +3897,7 @@ static int dissect_commandRequests_impl(packet_info *pinfo, proto_tree *tree, tv return dissect_h248_SEQUENCE_OF_CommandRequest(TRUE, tvb, offset, pinfo, tree, hf_h248_commandRequests); } + static const ber_sequence_t ActionRequest_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_contextId_impl }, { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_contextRequest_impl }, @@ -3832,7 +3909,7 @@ static const ber_sequence_t ActionRequest_sequence[] = { static int dissect_h248_ActionRequest(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - ActionRequest_sequence, hf_index, ett_h248_ActionRequest); + ActionRequest_sequence, hf_index, ett_h248_ActionRequest); return offset; } @@ -3856,6 +3933,7 @@ static int dissect_actions_impl(packet_info *pinfo, proto_tree *tree, tvbuff_t * return dissect_h248_SEQUENCE_OF_ActionRequest(TRUE, tvb, offset, pinfo, tree, hf_h248_actions); } + static const ber_sequence_t TransactionRequest_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_transactionId_impl }, { BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_actions_impl }, @@ -3865,7 +3943,7 @@ static const ber_sequence_t TransactionRequest_sequence[] = { static int dissect_h248_TransactionRequest(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - TransactionRequest_sequence, hf_index, ett_h248_TransactionRequest); + TransactionRequest_sequence, hf_index, ett_h248_TransactionRequest); if (check_col(pinfo->cinfo, COL_INFO)) col_append_str(pinfo->cinfo, COL_INFO, "} }"); return offset; @@ -3874,6 +3952,7 @@ static int dissect_transactionRequest_impl(packet_info *pinfo, proto_tree *tree, return dissect_h248_TransactionRequest(TRUE, tvb, offset, pinfo, tree, hf_h248_transactionRequest); } + static const ber_sequence_t TransactionPending_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_transactionId_impl }, { 0, 0, 0, NULL } @@ -3882,7 +3961,7 @@ static const ber_sequence_t TransactionPending_sequence[] = { static int dissect_h248_TransactionPending(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - TransactionPending_sequence, hf_index, ett_h248_TransactionPending); + TransactionPending_sequence, hf_index, ett_h248_TransactionPending); if (check_col(pinfo->cinfo, COL_INFO)) col_append_str(pinfo->cinfo, COL_INFO, "} }"); return offset; @@ -3891,6 +3970,7 @@ static int dissect_transactionPending_impl(packet_info *pinfo, proto_tree *tree, return dissect_h248_TransactionPending(TRUE, tvb, offset, pinfo, tree, hf_h248_transactionPending); } + static const ber_sequence_t StatisticsParameter_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_statName_impl }, { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_statValue_impl }, @@ -3900,7 +3980,7 @@ static const ber_sequence_t StatisticsParameter_sequence[] = { static int dissect_h248_StatisticsParameter(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - StatisticsParameter_sequence, hf_index, ett_h248_StatisticsParameter); + StatisticsParameter_sequence, hf_index, ett_h248_StatisticsParameter); return offset; } @@ -3924,6 +4004,7 @@ static int dissect_statisticsDescriptor_impl(packet_info *pinfo, proto_tree *tre return dissect_h248_StatisticsDescriptor(TRUE, tvb, offset, pinfo, tree, hf_h248_statisticsDescriptor); } + static const ber_sequence_t PackagesItem_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_packageName_impl }, { BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_packageVersion_impl }, @@ -3933,7 +4014,7 @@ static const ber_sequence_t PackagesItem_sequence[] = { static int dissect_h248_PackagesItem(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - PackagesItem_sequence, hf_index, ett_h248_PackagesItem); + PackagesItem_sequence, hf_index, ett_h248_PackagesItem); return offset; } @@ -3993,7 +4074,8 @@ static const ber_choice_t AuditReturnParameter_choice[] = { static int dissect_h248_AuditReturnParameter(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_choice(pinfo, tree, tvb, offset, - AuditReturnParameter_choice, hf_index, ett_h248_AuditReturnParameter, NULL); + AuditReturnParameter_choice, hf_index, ett_h248_AuditReturnParameter, + NULL); return offset; } @@ -4020,6 +4102,7 @@ static int dissect_terminationAuditResult_impl(packet_info *pinfo, proto_tree *t return dissect_h248_TerminationAudit(TRUE, tvb, offset, pinfo, tree, hf_h248_terminationAuditResult); } + static const ber_sequence_t AmmsReply_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_terminationIDList_impl }, { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_terminationAudit_impl }, @@ -4029,12 +4112,13 @@ static const ber_sequence_t AmmsReply_sequence[] = { static int dissect_h248_AmmsReply(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - AmmsReply_sequence, hf_index, ett_h248_AmmsReply); + AmmsReply_sequence, hf_index, ett_h248_AmmsReply); return offset; } + static int dissect_h248_T_addReply(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { command_string = "addReply {"; @@ -4048,6 +4132,7 @@ static int dissect_addReply_impl(packet_info *pinfo, proto_tree *tree, tvbuff_t } + static int dissect_h248_T_moveReply(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { command_string = "moveReply {"; @@ -4060,6 +4145,7 @@ static int dissect_moveReply_impl(packet_info *pinfo, proto_tree *tree, tvbuff_t } + static int dissect_h248_T_modReply(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { command_string = "modReply {"; @@ -4072,6 +4158,7 @@ static int dissect_modReply_impl(packet_info *pinfo, proto_tree *tree, tvbuff_t } + static int dissect_h248_T_subtractReply(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { command_string = "subtractReply {"; @@ -4083,6 +4170,7 @@ static int dissect_subtractReply_impl(packet_info *pinfo, proto_tree *tree, tvbu return dissect_h248_T_subtractReply(TRUE, tvb, offset, pinfo, tree, hf_h248_subtractReply); } + static const ber_sequence_t AuditResult_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_terminationID_impl }, { BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_terminationAuditResult_impl }, @@ -4092,7 +4180,7 @@ static const ber_sequence_t AuditResult_sequence[] = { static int dissect_h248_AuditResult(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - AuditResult_sequence, hf_index, ett_h248_AuditResult); + AuditResult_sequence, hf_index, ett_h248_AuditResult); return offset; } @@ -4118,12 +4206,14 @@ static const ber_choice_t AuditReply_choice[] = { static int dissect_h248_AuditReply(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_choice(pinfo, tree, tvb, offset, - AuditReply_choice, hf_index, ett_h248_AuditReply, NULL); + AuditReply_choice, hf_index, ett_h248_AuditReply, + NULL); return offset; } + static int dissect_h248_T_auditCapReply(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { command_string = "auditCapReply {"; @@ -4136,6 +4226,7 @@ static int dissect_auditCapReply(packet_info *pinfo, proto_tree *tree, tvbuff_t } + static int dissect_h248_T_auditValueReply(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { command_string = "auditValueReply {"; @@ -4147,6 +4238,7 @@ static int dissect_auditValueReply(packet_info *pinfo, proto_tree *tree, tvbuff_ return dissect_h248_T_auditValueReply(FALSE, tvb, offset, pinfo, tree, hf_h248_auditValueReply); } + static const ber_sequence_t NotifyReply_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_terminationIDList_impl }, { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_errorDescriptor_impl }, @@ -4156,12 +4248,13 @@ static const ber_sequence_t NotifyReply_sequence[] = { static int dissect_h248_NotifyReply(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - NotifyReply_sequence, hf_index, ett_h248_NotifyReply); + NotifyReply_sequence, hf_index, ett_h248_NotifyReply); return offset; } + static int dissect_h248_T_notifyReply(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { command_string = "notifyReply {"; @@ -4173,6 +4266,7 @@ static int dissect_notifyReply_impl(packet_info *pinfo, proto_tree *tree, tvbuff return dissect_h248_T_notifyReply(TRUE, tvb, offset, pinfo, tree, hf_h248_notifyReply); } + static const ber_sequence_t ServiceChangeResParm_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_NOTCHKTAG, dissect_serviceChangeMgcId }, { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_NOTCHKTAG, dissect_serviceChangeAddress }, @@ -4185,7 +4279,7 @@ static const ber_sequence_t ServiceChangeResParm_sequence[] = { static int dissect_h248_ServiceChangeResParm(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - ServiceChangeResParm_sequence, hf_index, ett_h248_ServiceChangeResParm); + ServiceChangeResParm_sequence, hf_index, ett_h248_ServiceChangeResParm); return offset; } @@ -4209,7 +4303,8 @@ static const ber_choice_t ServiceChangeResult_choice[] = { static int dissect_h248_ServiceChangeResult(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_choice(pinfo, tree, tvb, offset, - ServiceChangeResult_choice, hf_index, ett_h248_ServiceChangeResult, NULL); + ServiceChangeResult_choice, hf_index, ett_h248_ServiceChangeResult, + NULL); return offset; } @@ -4217,6 +4312,7 @@ static int dissect_serviceChangeResult(packet_info *pinfo, proto_tree *tree, tvb return dissect_h248_ServiceChangeResult(FALSE, tvb, offset, pinfo, tree, hf_h248_serviceChangeResult); } + static const ber_sequence_t ServiceChangeReply_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_terminationIDList_impl }, { BER_CLASS_CON, 1, BER_FLAGS_NOTCHKTAG, dissect_serviceChangeResult }, @@ -4226,7 +4322,7 @@ static const ber_sequence_t ServiceChangeReply_sequence[] = { static int dissect_h248_ServiceChangeReply(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - ServiceChangeReply_sequence, hf_index, ett_h248_ServiceChangeReply); + ServiceChangeReply_sequence, hf_index, ett_h248_ServiceChangeReply); return offset; } @@ -4262,7 +4358,8 @@ static const ber_choice_t CommandReply_choice[] = { static int dissect_h248_CommandReply(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_choice(pinfo, tree, tvb, offset, - CommandReply_choice, hf_index, ett_h248_CommandReply, NULL); + CommandReply_choice, hf_index, ett_h248_CommandReply, + NULL); return offset; } @@ -4286,6 +4383,7 @@ static int dissect_commandReply_impl(packet_info *pinfo, proto_tree *tree, tvbuf return dissect_h248_SEQUENCE_OF_CommandReply(TRUE, tvb, offset, pinfo, tree, hf_h248_commandReply); } + static const ber_sequence_t ActionReply_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_contextId_impl }, { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_errorDescriptor_impl }, @@ -4297,7 +4395,7 @@ static const ber_sequence_t ActionReply_sequence[] = { static int dissect_h248_ActionReply(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - ActionReply_sequence, hf_index, ett_h248_ActionReply); + ActionReply_sequence, hf_index, ett_h248_ActionReply); return offset; } @@ -4337,7 +4435,8 @@ static const ber_choice_t T_transactionResult_choice[] = { static int dissect_h248_T_transactionResult(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_choice(pinfo, tree, tvb, offset, - T_transactionResult_choice, hf_index, ett_h248_T_transactionResult, NULL); + T_transactionResult_choice, hf_index, ett_h248_T_transactionResult, + NULL); return offset; } @@ -4345,6 +4444,7 @@ static int dissect_transactionResult(packet_info *pinfo, proto_tree *tree, tvbuf return dissect_h248_T_transactionResult(FALSE, tvb, offset, pinfo, tree, hf_h248_transactionResult); } + static const ber_sequence_t TransactionReply_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_transactionId_impl }, { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_immAckRequired_impl }, @@ -4355,7 +4455,7 @@ static const ber_sequence_t TransactionReply_sequence[] = { static int dissect_h248_TransactionReply(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - TransactionReply_sequence, hf_index, ett_h248_TransactionReply); + TransactionReply_sequence, hf_index, ett_h248_TransactionReply); return offset; } @@ -4363,6 +4463,7 @@ static int dissect_transactionReply_impl(packet_info *pinfo, proto_tree *tree, t return dissect_h248_TransactionReply(TRUE, tvb, offset, pinfo, tree, hf_h248_transactionReply); } + static const ber_sequence_t TransactionAck_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_firstAck_impl }, { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_lastAck_impl }, @@ -4372,7 +4473,7 @@ static const ber_sequence_t TransactionAck_sequence[] = { static int dissect_h248_TransactionAck(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - TransactionAck_sequence, hf_index, ett_h248_TransactionAck); + TransactionAck_sequence, hf_index, ett_h248_TransactionAck); if (check_col(pinfo->cinfo, COL_INFO)) col_append_str(pinfo->cinfo, COL_INFO, "} }"); return offset; @@ -4417,7 +4518,8 @@ static const ber_choice_t Transaction_choice[] = { static int dissect_h248_Transaction(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_choice(pinfo, tree, tvb, offset, - Transaction_choice, hf_index, ett_h248_Transaction, NULL); + Transaction_choice, hf_index, ett_h248_Transaction, + NULL); return offset; } @@ -4457,7 +4559,8 @@ static const ber_choice_t T_messageBody_choice[] = { static int dissect_h248_T_messageBody(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_choice(pinfo, tree, tvb, offset, - T_messageBody_choice, hf_index, ett_h248_T_messageBody, NULL); + T_messageBody_choice, hf_index, ett_h248_T_messageBody, + NULL); return offset; } @@ -4465,6 +4568,7 @@ static int dissect_messageBody(packet_info *pinfo, proto_tree *tree, tvbuff_t *t return dissect_h248_T_messageBody(FALSE, tvb, offset, pinfo, tree, hf_h248_messageBody); } + static const ber_sequence_t Message_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_version_impl }, { BER_CLASS_CON, 1, BER_FLAGS_NOTCHKTAG, dissect_mId }, @@ -4475,7 +4579,7 @@ static const ber_sequence_t Message_sequence[] = { static int dissect_h248_Message(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - Message_sequence, hf_index, ett_h248_Message); + Message_sequence, hf_index, ett_h248_Message); return offset; } @@ -4483,6 +4587,7 @@ static int dissect_mess_impl(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb return dissect_h248_Message(TRUE, tvb, offset, pinfo, tree, hf_h248_mess); } + static const ber_sequence_t MegacoMessage_sequence[] = { { BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_authHeader_impl }, { BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_mess_impl }, @@ -4492,7 +4597,7 @@ static const ber_sequence_t MegacoMessage_sequence[] = { static int dissect_h248_MegacoMessage(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) { offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset, - MegacoMessage_sequence, hf_index, ett_h248_MegacoMessage); + MegacoMessage_sequence, hf_index, ett_h248_MegacoMessage); return offset; } -- cgit v1.2.3