summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sabp.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:53 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:53 +0000
commita86c5f7cae7ec9a3398300555a0b644689d946a1 (patch)
tree39fe4b107c71174fd1e8a8ceb9a4d2aa14116248 /epan/dissectors/packet-sabp.c
parentReleasing progress-linux version 4.2.6-1~progress7.99u1. (diff)
downloadwireshark-a86c5f7cae7ec9a3398300555a0b644689d946a1.tar.xz
wireshark-a86c5f7cae7ec9a3398300555a0b644689d946a1.zip
Merging upstream version 4.4.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'epan/dissectors/packet-sabp.c')
-rw-r--r--epan/dissectors/packet-sabp.c452
1 files changed, 227 insertions, 225 deletions
diff --git a/epan/dissectors/packet-sabp.c b/epan/dissectors/packet-sabp.c
index cd336c1f..44f8e389 100644
--- a/epan/dissectors/packet-sabp.c
+++ b/epan/dissectors/packet-sabp.c
@@ -1,7 +1,7 @@
/* Do not modify this file. Changes will be overwritten. */
/* Generated automatically by the ASN.1 to Wireshark dissector compiler */
/* packet-sabp.c */
-/* asn2wrs.py -L -p sabp -c ./sabp.cnf -s ./packet-sabp-template -D . -O ../.. SABP-CommonDataTypes.asn SABP-Constants.asn SABP-Containers.asn SABP-IEs.asn SABP-PDU-Contents.asn SABP-PDU-Descriptions.asn */
+/* asn2wrs.py -q -L -p sabp -c ./sabp.cnf -s ./packet-sabp-template -D . -O ../.. SABP-CommonDataTypes.asn SABP-Constants.asn SABP-Containers.asn SABP-IEs.asn SABP-PDU-Contents.asn SABP-PDU-Descriptions.asn */
/* packet-sabp-template.c
* Routines for UTRAN Iu-BC Interface: Service Area Broadcast Protocol (SABP) packet dissection
@@ -21,6 +21,7 @@
#include <epan/packet.h>
#include <epan/asn1.h>
+#include <wsutil/array.h>
#include "packet-tcp.h"
#include "packet-per.h"
@@ -80,147 +81,147 @@ void proto_register_sabp(void);
void proto_reg_handoff_sabp(void);
/* Initialize the protocol and registered fields */
-static int proto_sabp = -1;
-
-static int hf_sabp_no_of_pages = -1;
-static int hf_sabp_cb_inf_len = -1;
-static int hf_sabp_cb_msg_inf_page = -1;
-static int hf_sabp_cbs_page_content = -1;
-static int hf_sabp_Broadcast_Message_Content_PDU = -1; /* Broadcast_Message_Content */
-static int hf_sabp_Broadcast_Message_Content_Validity_Indicator_PDU = -1; /* Broadcast_Message_Content_Validity_Indicator */
-static int hf_sabp_Category_PDU = -1; /* Category */
-static int hf_sabp_Cause_PDU = -1; /* Cause */
-static int hf_sabp_Criticality_Diagnostics_PDU = -1; /* Criticality_Diagnostics */
-static int hf_sabp_MessageStructure_PDU = -1; /* MessageStructure */
-static int hf_sabp_Data_Coding_Scheme_PDU = -1; /* Data_Coding_Scheme */
-static int hf_sabp_Failure_List_PDU = -1; /* Failure_List */
-static int hf_sabp_Message_Identifier_PDU = -1; /* Message_Identifier */
-static int hf_sabp_New_Serial_Number_PDU = -1; /* New_Serial_Number */
-static int hf_sabp_Number_of_Broadcasts_Completed_List_PDU = -1; /* Number_of_Broadcasts_Completed_List */
-static int hf_sabp_Number_of_Broadcasts_Requested_PDU = -1; /* Number_of_Broadcasts_Requested */
-static int hf_sabp_Old_Serial_Number_PDU = -1; /* Old_Serial_Number */
-static int hf_sabp_Paging_ETWS_Indicator_PDU = -1; /* Paging_ETWS_Indicator */
-static int hf_sabp_Radio_Resource_Loading_List_PDU = -1; /* Radio_Resource_Loading_List */
-static int hf_sabp_Recovery_Indication_PDU = -1; /* Recovery_Indication */
-static int hf_sabp_Repetition_Period_PDU = -1; /* Repetition_Period */
-static int hf_sabp_Serial_Number_PDU = -1; /* Serial_Number */
-static int hf_sabp_Service_Areas_List_PDU = -1; /* Service_Areas_List */
-static int hf_sabp_TypeOfError_PDU = -1; /* TypeOfError */
-static int hf_sabp_WarningSecurityInfo_PDU = -1; /* WarningSecurityInfo */
-static int hf_sabp_Warning_Type_PDU = -1; /* Warning_Type */
-static int hf_sabp_Write_Replace_PDU = -1; /* Write_Replace */
-static int hf_sabp_Write_Replace_Complete_PDU = -1; /* Write_Replace_Complete */
-static int hf_sabp_Write_Replace_Failure_PDU = -1; /* Write_Replace_Failure */
-static int hf_sabp_Kill_PDU = -1; /* Kill */
-static int hf_sabp_Kill_Complete_PDU = -1; /* Kill_Complete */
-static int hf_sabp_Kill_Failure_PDU = -1; /* Kill_Failure */
-static int hf_sabp_Load_Query_PDU = -1; /* Load_Query */
-static int hf_sabp_Load_Query_Complete_PDU = -1; /* Load_Query_Complete */
-static int hf_sabp_Load_Query_Failure_PDU = -1; /* Load_Query_Failure */
-static int hf_sabp_Message_Status_Query_PDU = -1; /* Message_Status_Query */
-static int hf_sabp_Message_Status_Query_Complete_PDU = -1; /* Message_Status_Query_Complete */
-static int hf_sabp_Message_Status_Query_Failure_PDU = -1; /* Message_Status_Query_Failure */
-static int hf_sabp_Reset_PDU = -1; /* Reset */
-static int hf_sabp_Reset_Complete_PDU = -1; /* Reset_Complete */
-static int hf_sabp_Reset_Failure_PDU = -1; /* Reset_Failure */
-static int hf_sabp_Restart_PDU = -1; /* Restart */
-static int hf_sabp_Failure_PDU = -1; /* Failure */
-static int hf_sabp_Error_Indication_PDU = -1; /* Error_Indication */
-static int hf_sabp_SABP_PDU_PDU = -1; /* SABP_PDU */
-static int hf_sabp_ProtocolIE_Container_item = -1; /* ProtocolIE_Field */
-static int hf_sabp_id = -1; /* ProtocolIE_ID */
-static int hf_sabp_criticality = -1; /* Criticality */
-static int hf_sabp_protocolIE_Field_value = -1; /* ProtocolIE_Field_value */
-static int hf_sabp_ProtocolExtensionContainer_item = -1; /* ProtocolExtensionField */
-static int hf_sabp_ext_id = -1; /* ProtocolExtensionID */
-static int hf_sabp_extensionValue = -1; /* T_extensionValue */
-static int hf_sabp_procedureCode = -1; /* ProcedureCode */
-static int hf_sabp_triggeringMessage = -1; /* TriggeringMessage */
-static int hf_sabp_procedureCriticality = -1; /* Criticality */
-static int hf_sabp_iEsCriticalityDiagnostics = -1; /* CriticalityDiagnostics_IE_List */
-static int hf_sabp_iE_Extensions = -1; /* ProtocolExtensionContainer */
-static int hf_sabp_CriticalityDiagnostics_IE_List_item = -1; /* CriticalityDiagnostics_IE_List_item */
-static int hf_sabp_iECriticality = -1; /* Criticality */
-static int hf_sabp_iE_ID = -1; /* ProtocolIE_ID */
-static int hf_sabp_repetitionNumber = -1; /* RepetitionNumber0 */
-static int hf_sabp_MessageStructure_item = -1; /* MessageStructure_item */
-static int hf_sabp_repetitionNumber1 = -1; /* RepetitionNumber1 */
-static int hf_sabp_Failure_List_item = -1; /* Failure_List_Item */
-static int hf_sabp_service_area_identifier = -1; /* Service_Area_Identifier */
-static int hf_sabp_cause = -1; /* Cause */
-static int hf_sabp_Number_of_Broadcasts_Completed_List_item = -1; /* Number_of_Broadcasts_Completed_List_Item */
-static int hf_sabp_number_of_broadcasts_completed = -1; /* INTEGER_0_65535 */
-static int hf_sabp_number_of_broadcasts_completed_info = -1; /* Number_Of_Broadcasts_Completed_Info */
-static int hf_sabp_Radio_Resource_Loading_List_item = -1; /* Radio_Resource_Loading_List_Item */
-static int hf_sabp_available_bandwidth = -1; /* Available_Bandwidth */
-static int hf_sabp_pLMNidentity = -1; /* T_pLMNidentity */
-static int hf_sabp_lac = -1; /* OCTET_STRING_SIZE_2 */
-static int hf_sabp_sac = -1; /* OCTET_STRING_SIZE_2 */
-static int hf_sabp_Service_Areas_List_item = -1; /* Service_Area_Identifier */
-static int hf_sabp_protocolIEs = -1; /* ProtocolIE_Container */
-static int hf_sabp_protocolExtensions = -1; /* ProtocolExtensionContainer */
-static int hf_sabp_initiatingMessage = -1; /* InitiatingMessage */
-static int hf_sabp_successfulOutcome = -1; /* SuccessfulOutcome */
-static int hf_sabp_unsuccessfulOutcome = -1; /* UnsuccessfulOutcome */
-static int hf_sabp_initiatingMessage_value = -1; /* InitiatingMessage_value */
-static int hf_sabp_successfulOutcome_value = -1; /* SuccessfulOutcome_value */
-static int hf_sabp_unsuccessfulOutcome_value = -1; /* UnsuccessfulOutcome_value */
+static int proto_sabp;
+
+static int hf_sabp_no_of_pages;
+static int hf_sabp_cb_inf_len;
+static int hf_sabp_cb_msg_inf_page;
+static int hf_sabp_cbs_page_content;
+static int hf_sabp_Broadcast_Message_Content_PDU; /* Broadcast_Message_Content */
+static int hf_sabp_Broadcast_Message_Content_Validity_Indicator_PDU; /* Broadcast_Message_Content_Validity_Indicator */
+static int hf_sabp_Category_PDU; /* Category */
+static int hf_sabp_Cause_PDU; /* Cause */
+static int hf_sabp_Criticality_Diagnostics_PDU; /* Criticality_Diagnostics */
+static int hf_sabp_MessageStructure_PDU; /* MessageStructure */
+static int hf_sabp_Data_Coding_Scheme_PDU; /* Data_Coding_Scheme */
+static int hf_sabp_Failure_List_PDU; /* Failure_List */
+static int hf_sabp_Message_Identifier_PDU; /* Message_Identifier */
+static int hf_sabp_New_Serial_Number_PDU; /* New_Serial_Number */
+static int hf_sabp_Number_of_Broadcasts_Completed_List_PDU; /* Number_of_Broadcasts_Completed_List */
+static int hf_sabp_Number_of_Broadcasts_Requested_PDU; /* Number_of_Broadcasts_Requested */
+static int hf_sabp_Old_Serial_Number_PDU; /* Old_Serial_Number */
+static int hf_sabp_Paging_ETWS_Indicator_PDU; /* Paging_ETWS_Indicator */
+static int hf_sabp_Radio_Resource_Loading_List_PDU; /* Radio_Resource_Loading_List */
+static int hf_sabp_Recovery_Indication_PDU; /* Recovery_Indication */
+static int hf_sabp_Repetition_Period_PDU; /* Repetition_Period */
+static int hf_sabp_Serial_Number_PDU; /* Serial_Number */
+static int hf_sabp_Service_Areas_List_PDU; /* Service_Areas_List */
+static int hf_sabp_TypeOfError_PDU; /* TypeOfError */
+static int hf_sabp_WarningSecurityInfo_PDU; /* WarningSecurityInfo */
+static int hf_sabp_Warning_Type_PDU; /* Warning_Type */
+static int hf_sabp_Write_Replace_PDU; /* Write_Replace */
+static int hf_sabp_Write_Replace_Complete_PDU; /* Write_Replace_Complete */
+static int hf_sabp_Write_Replace_Failure_PDU; /* Write_Replace_Failure */
+static int hf_sabp_Kill_PDU; /* Kill */
+static int hf_sabp_Kill_Complete_PDU; /* Kill_Complete */
+static int hf_sabp_Kill_Failure_PDU; /* Kill_Failure */
+static int hf_sabp_Load_Query_PDU; /* Load_Query */
+static int hf_sabp_Load_Query_Complete_PDU; /* Load_Query_Complete */
+static int hf_sabp_Load_Query_Failure_PDU; /* Load_Query_Failure */
+static int hf_sabp_Message_Status_Query_PDU; /* Message_Status_Query */
+static int hf_sabp_Message_Status_Query_Complete_PDU; /* Message_Status_Query_Complete */
+static int hf_sabp_Message_Status_Query_Failure_PDU; /* Message_Status_Query_Failure */
+static int hf_sabp_Reset_PDU; /* Reset */
+static int hf_sabp_Reset_Complete_PDU; /* Reset_Complete */
+static int hf_sabp_Reset_Failure_PDU; /* Reset_Failure */
+static int hf_sabp_Restart_PDU; /* Restart */
+static int hf_sabp_Failure_PDU; /* Failure */
+static int hf_sabp_Error_Indication_PDU; /* Error_Indication */
+static int hf_sabp_SABP_PDU_PDU; /* SABP_PDU */
+static int hf_sabp_ProtocolIE_Container_item; /* ProtocolIE_Field */
+static int hf_sabp_id; /* ProtocolIE_ID */
+static int hf_sabp_criticality; /* Criticality */
+static int hf_sabp_protocolIE_Field_value; /* ProtocolIE_Field_value */
+static int hf_sabp_ProtocolExtensionContainer_item; /* ProtocolExtensionField */
+static int hf_sabp_ext_id; /* ProtocolExtensionID */
+static int hf_sabp_extensionValue; /* T_extensionValue */
+static int hf_sabp_procedureCode; /* ProcedureCode */
+static int hf_sabp_triggeringMessage; /* TriggeringMessage */
+static int hf_sabp_procedureCriticality; /* Criticality */
+static int hf_sabp_iEsCriticalityDiagnostics; /* CriticalityDiagnostics_IE_List */
+static int hf_sabp_iE_Extensions; /* ProtocolExtensionContainer */
+static int hf_sabp_CriticalityDiagnostics_IE_List_item; /* CriticalityDiagnostics_IE_List_item */
+static int hf_sabp_iECriticality; /* Criticality */
+static int hf_sabp_iE_ID; /* ProtocolIE_ID */
+static int hf_sabp_repetitionNumber; /* RepetitionNumber0 */
+static int hf_sabp_MessageStructure_item; /* MessageStructure_item */
+static int hf_sabp_repetitionNumber1; /* RepetitionNumber1 */
+static int hf_sabp_Failure_List_item; /* Failure_List_Item */
+static int hf_sabp_service_area_identifier; /* Service_Area_Identifier */
+static int hf_sabp_cause; /* Cause */
+static int hf_sabp_Number_of_Broadcasts_Completed_List_item; /* Number_of_Broadcasts_Completed_List_Item */
+static int hf_sabp_number_of_broadcasts_completed; /* INTEGER_0_65535 */
+static int hf_sabp_number_of_broadcasts_completed_info; /* Number_Of_Broadcasts_Completed_Info */
+static int hf_sabp_Radio_Resource_Loading_List_item; /* Radio_Resource_Loading_List_Item */
+static int hf_sabp_available_bandwidth; /* Available_Bandwidth */
+static int hf_sabp_pLMNidentity; /* T_pLMNidentity */
+static int hf_sabp_lac; /* OCTET_STRING_SIZE_2 */
+static int hf_sabp_sac; /* OCTET_STRING_SIZE_2 */
+static int hf_sabp_Service_Areas_List_item; /* Service_Area_Identifier */
+static int hf_sabp_protocolIEs; /* ProtocolIE_Container */
+static int hf_sabp_protocolExtensions; /* ProtocolExtensionContainer */
+static int hf_sabp_initiatingMessage; /* InitiatingMessage */
+static int hf_sabp_successfulOutcome; /* SuccessfulOutcome */
+static int hf_sabp_unsuccessfulOutcome; /* UnsuccessfulOutcome */
+static int hf_sabp_initiatingMessage_value; /* InitiatingMessage_value */
+static int hf_sabp_successfulOutcome_value; /* SuccessfulOutcome_value */
+static int hf_sabp_unsuccessfulOutcome_value; /* UnsuccessfulOutcome_value */
/* Initialize the subtree pointers */
-static int ett_sabp = -1;
-static int ett_sabp_e212 = -1;
-static int ett_sabp_cbs_data_coding = -1;
-static int ett_sabp_bcast_msg = -1;
-static int ett_sabp_cbs_serial_number = -1;
-static int ett_sabp_cbs_new_serial_number = -1;
-static int ett_sabp_cbs_page = -1;
-static int ett_sabp_cbs_page_content = -1;
-
-static gint ett_sabp_ProtocolIE_Container = -1;
-static gint ett_sabp_ProtocolIE_Field = -1;
-static gint ett_sabp_ProtocolExtensionContainer = -1;
-static gint ett_sabp_ProtocolExtensionField = -1;
-static gint ett_sabp_Criticality_Diagnostics = -1;
-static gint ett_sabp_CriticalityDiagnostics_IE_List = -1;
-static gint ett_sabp_CriticalityDiagnostics_IE_List_item = -1;
-static gint ett_sabp_MessageStructure = -1;
-static gint ett_sabp_MessageStructure_item = -1;
-static gint ett_sabp_Failure_List = -1;
-static gint ett_sabp_Failure_List_Item = -1;
-static gint ett_sabp_Number_of_Broadcasts_Completed_List = -1;
-static gint ett_sabp_Number_of_Broadcasts_Completed_List_Item = -1;
-static gint ett_sabp_Radio_Resource_Loading_List = -1;
-static gint ett_sabp_Radio_Resource_Loading_List_Item = -1;
-static gint ett_sabp_Service_Area_Identifier = -1;
-static gint ett_sabp_Service_Areas_List = -1;
-static gint ett_sabp_Write_Replace = -1;
-static gint ett_sabp_Write_Replace_Complete = -1;
-static gint ett_sabp_Write_Replace_Failure = -1;
-static gint ett_sabp_Kill = -1;
-static gint ett_sabp_Kill_Complete = -1;
-static gint ett_sabp_Kill_Failure = -1;
-static gint ett_sabp_Load_Query = -1;
-static gint ett_sabp_Load_Query_Complete = -1;
-static gint ett_sabp_Load_Query_Failure = -1;
-static gint ett_sabp_Message_Status_Query = -1;
-static gint ett_sabp_Message_Status_Query_Complete = -1;
-static gint ett_sabp_Message_Status_Query_Failure = -1;
-static gint ett_sabp_Reset = -1;
-static gint ett_sabp_Reset_Complete = -1;
-static gint ett_sabp_Reset_Failure = -1;
-static gint ett_sabp_Restart = -1;
-static gint ett_sabp_Failure = -1;
-static gint ett_sabp_Error_Indication = -1;
-static gint ett_sabp_SABP_PDU = -1;
-static gint ett_sabp_InitiatingMessage = -1;
-static gint ett_sabp_SuccessfulOutcome = -1;
-static gint ett_sabp_UnsuccessfulOutcome = -1;
+static int ett_sabp;
+static int ett_sabp_e212;
+static int ett_sabp_cbs_data_coding;
+static int ett_sabp_bcast_msg;
+static int ett_sabp_cbs_serial_number;
+static int ett_sabp_cbs_new_serial_number;
+static int ett_sabp_cbs_page;
+static int ett_sabp_cbs_page_content;
+
+static int ett_sabp_ProtocolIE_Container;
+static int ett_sabp_ProtocolIE_Field;
+static int ett_sabp_ProtocolExtensionContainer;
+static int ett_sabp_ProtocolExtensionField;
+static int ett_sabp_Criticality_Diagnostics;
+static int ett_sabp_CriticalityDiagnostics_IE_List;
+static int ett_sabp_CriticalityDiagnostics_IE_List_item;
+static int ett_sabp_MessageStructure;
+static int ett_sabp_MessageStructure_item;
+static int ett_sabp_Failure_List;
+static int ett_sabp_Failure_List_Item;
+static int ett_sabp_Number_of_Broadcasts_Completed_List;
+static int ett_sabp_Number_of_Broadcasts_Completed_List_Item;
+static int ett_sabp_Radio_Resource_Loading_List;
+static int ett_sabp_Radio_Resource_Loading_List_Item;
+static int ett_sabp_Service_Area_Identifier;
+static int ett_sabp_Service_Areas_List;
+static int ett_sabp_Write_Replace;
+static int ett_sabp_Write_Replace_Complete;
+static int ett_sabp_Write_Replace_Failure;
+static int ett_sabp_Kill;
+static int ett_sabp_Kill_Complete;
+static int ett_sabp_Kill_Failure;
+static int ett_sabp_Load_Query;
+static int ett_sabp_Load_Query_Complete;
+static int ett_sabp_Load_Query_Failure;
+static int ett_sabp_Message_Status_Query;
+static int ett_sabp_Message_Status_Query_Complete;
+static int ett_sabp_Message_Status_Query_Failure;
+static int ett_sabp_Reset;
+static int ett_sabp_Reset_Complete;
+static int ett_sabp_Reset_Failure;
+static int ett_sabp_Restart;
+static int ett_sabp_Failure;
+static int ett_sabp_Error_Indication;
+static int ett_sabp_SABP_PDU;
+static int ett_sabp_InitiatingMessage;
+static int ett_sabp_SuccessfulOutcome;
+static int ett_sabp_UnsuccessfulOutcome;
/* Global variables */
-static guint32 ProcedureCode;
-static guint32 ProtocolIE_ID;
-static guint32 ProtocolExtensionID;
-static guint8 sms_encoding;
+static uint32_t ProcedureCode;
+static uint32_t ProtocolIE_ID;
+static uint32_t ProtocolExtensionID;
+static uint8_t sms_encoding;
#define SABP_PORT 3452
@@ -253,7 +254,7 @@ static const value_string sabp_Criticality_vals[] = {
static int
dissect_sabp_Criticality(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index,
- 3, NULL, FALSE, 0, NULL);
+ 3, NULL, false, 0, NULL);
return offset;
}
@@ -277,11 +278,11 @@ static value_string_ext sabp_ProcedureCode_vals_ext = VALUE_STRING_EXT_INIT(sabp
static int
dissect_sabp_ProcedureCode(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index,
- 0U, 255U, &ProcedureCode, FALSE);
+ 0U, 255U, &ProcedureCode, false);
col_add_fstr(actx->pinfo->cinfo, COL_INFO, "%s ",
- val_to_str_ext(ProcedureCode, &sabp_ProcedureCode_vals_ext,
- "unknown message"));
+ val_to_str_ext_const(ProcedureCode, &sabp_ProcedureCode_vals_ext,
+ "unknown message"));
return offset;
}
@@ -290,7 +291,7 @@ dissect_sabp_ProcedureCode(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _
static int
dissect_sabp_ProtocolExtensionID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index,
- 0U, 65535U, &ProtocolExtensionID, FALSE);
+ 0U, 65535U, &ProtocolExtensionID, false);
return offset;
}
@@ -328,10 +329,11 @@ static value_string_ext sabp_ProtocolIE_ID_vals_ext = VALUE_STRING_EXT_INIT(sabp
static int
dissect_sabp_ProtocolIE_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index,
- 0U, 65535U, &ProtocolIE_ID, FALSE);
+ 0U, 65535U, &ProtocolIE_ID, false);
if (tree) {
- proto_item_append_text(proto_item_get_parent_nth(actx->created_item, 2), ": %s", val_to_str_ext(ProtocolIE_ID, &sabp_ProtocolIE_ID_vals_ext, "unknown (%d)"));
+ proto_item_append_text(proto_item_get_parent_nth(actx->created_item, 2), ": %s",
+ val_to_str_ext(ProtocolIE_ID, &sabp_ProtocolIE_ID_vals_ext, "unknown (%d)"));
}
return offset;
}
@@ -349,7 +351,7 @@ static const value_string sabp_TriggeringMessage_vals[] = {
static int
dissect_sabp_TriggeringMessage(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index,
- 4, NULL, FALSE, 0, NULL);
+ 4, NULL, false, 0, NULL);
return offset;
}
@@ -388,7 +390,7 @@ static int
dissect_sabp_ProtocolIE_Container(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index,
ett_sabp_ProtocolIE_Container, ProtocolIE_Container_sequence_of,
- 0, maxProtocolIEs, FALSE);
+ 0, maxProtocolIEs, false);
return offset;
}
@@ -427,7 +429,7 @@ static int
dissect_sabp_ProtocolExtensionContainer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index,
ett_sabp_ProtocolExtensionContainer, ProtocolExtensionContainer_sequence_of,
- 1, maxProtocolExtensions, FALSE);
+ 1, maxProtocolExtensions, false);
return offset;
}
@@ -437,7 +439,7 @@ dissect_sabp_ProtocolExtensionContainer(tvbuff_t *tvb _U_, int offset _U_, asn1_
static int
dissect_sabp_Available_Bandwidth(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index,
- 0U, 20480U, NULL, FALSE);
+ 0U, 20480U, NULL, false);
return offset;
}
@@ -449,7 +451,7 @@ dissect_sabp_Broadcast_Message_Content(tvbuff_t *tvb _U_, int offset _U_, asn1_c
tvbuff_t *parameter_tvb=NULL;
offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index,
- 1, 9968, FALSE, NULL, 0, &parameter_tvb, NULL);
+ 1, 9968, false, NULL, 0, &parameter_tvb, NULL);
if (!parameter_tvb)
return offset;
@@ -468,7 +470,7 @@ static const value_string sabp_Broadcast_Message_Content_Validity_Indicator_vals
static int
dissect_sabp_Broadcast_Message_Content_Validity_Indicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index,
- 1, NULL, TRUE, 0, NULL);
+ 1, NULL, true, 0, NULL);
return offset;
}
@@ -486,7 +488,7 @@ static const value_string sabp_Category_vals[] = {
static int
dissect_sabp_Category(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index,
- 4, NULL, TRUE, 0, NULL);
+ 4, NULL, true, 0, NULL);
return offset;
}
@@ -520,7 +522,7 @@ static value_string_ext sabp_Cause_vals_ext = VALUE_STRING_EXT_INIT(sabp_Cause_v
static int
dissect_sabp_Cause(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index,
- 0U, 255U, NULL, FALSE);
+ 0U, 255U, NULL, false);
return offset;
}
@@ -530,7 +532,7 @@ dissect_sabp_Cause(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, prot
static int
dissect_sabp_RepetitionNumber0(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index,
- 0U, 255U, NULL, FALSE);
+ 0U, 255U, NULL, false);
return offset;
}
@@ -561,7 +563,7 @@ static int
dissect_sabp_CriticalityDiagnostics_IE_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index,
ett_sabp_CriticalityDiagnostics_IE_List, CriticalityDiagnostics_IE_List_sequence_of,
- 1, maxNrOfErrors, FALSE);
+ 1, maxNrOfErrors, false);
return offset;
}
@@ -589,7 +591,7 @@ dissect_sabp_Criticality_Diagnostics(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx
static int
dissect_sabp_RepetitionNumber1(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index,
- 1U, 256U, NULL, FALSE);
+ 1U, 256U, NULL, false);
return offset;
}
@@ -619,7 +621,7 @@ static int
dissect_sabp_MessageStructure(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index,
ett_sabp_MessageStructure, MessageStructure_sequence_of,
- 1, maxNrOfLevels, FALSE);
+ 1, maxNrOfLevels, false);
return offset;
}
@@ -632,7 +634,7 @@ dissect_sabp_Data_Coding_Scheme(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *a
proto_tree *subtree;
offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index,
- 8, 8, FALSE, NULL, 0, &parameter_tvb, NULL);
+ 8, 8, false, NULL, 0, &parameter_tvb, NULL);
if (!parameter_tvb)
@@ -652,12 +654,12 @@ dissect_sabp_T_pLMNidentity(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx
proto_tree *subtree;
offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index,
- 3, 3, FALSE, &parameter_tvb);
+ 3, 3, false, &parameter_tvb);
if (!parameter_tvb)
return offset;
subtree = proto_item_add_subtree(actx->created_item, ett_sabp_e212);
- dissect_e212_mcc_mnc(parameter_tvb, actx->pinfo, subtree, 0, E212_SAI, FALSE);
+ dissect_e212_mcc_mnc(parameter_tvb, actx->pinfo, subtree, 0, E212_SAI, false);
return offset;
@@ -668,7 +670,7 @@ dissect_sabp_T_pLMNidentity(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx
static int
dissect_sabp_OCTET_STRING_SIZE_2(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index,
- 2, 2, FALSE, NULL);
+ 2, 2, false, NULL);
return offset;
}
@@ -714,7 +716,7 @@ static int
dissect_sabp_Failure_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index,
ett_sabp_Failure_List, Failure_List_sequence_of,
- 1, maxnoofSAI, FALSE);
+ 1, maxnoofSAI, false);
return offset;
}
@@ -726,7 +728,7 @@ dissect_sabp_Message_Identifier(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *a
tvbuff_t *parameter_tvb=NULL;
offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index,
- 16, 16, FALSE, NULL, 0, &parameter_tvb, NULL);
+ 16, 16, false, NULL, 0, &parameter_tvb, NULL);
if (!parameter_tvb)
return offset;
@@ -744,7 +746,7 @@ dissect_sabp_Serial_Number(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _
proto_tree *subtree;
offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index,
- 16, 16, FALSE, NULL, 0, &parameter_tvb, NULL);
+ 16, 16, false, NULL, 0, &parameter_tvb, NULL);
if (!parameter_tvb)
return offset;
@@ -778,7 +780,7 @@ dissect_sabp_New_Serial_Number(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *ac
static int
dissect_sabp_INTEGER_0_65535(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index,
- 0U, 65535U, NULL, FALSE);
+ 0U, 65535U, NULL, false);
return offset;
}
@@ -794,7 +796,7 @@ static const value_string sabp_Number_Of_Broadcasts_Completed_Info_vals[] = {
static int
dissect_sabp_Number_Of_Broadcasts_Completed_Info(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index,
- 2, NULL, TRUE, 0, NULL);
+ 2, NULL, true, 0, NULL);
return offset;
}
@@ -825,7 +827,7 @@ static int
dissect_sabp_Number_of_Broadcasts_Completed_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index,
ett_sabp_Number_of_Broadcasts_Completed_List, Number_of_Broadcasts_Completed_List_sequence_of,
- 1, maxnoofSAI, FALSE);
+ 1, maxnoofSAI, false);
return offset;
}
@@ -840,7 +842,7 @@ static const value_string sabp_Number_of_Broadcasts_Requested_vals[] = {
static int
dissect_sabp_Number_of_Broadcasts_Requested(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index,
- 0U, 65535U, NULL, FALSE);
+ 0U, 65535U, NULL, false);
return offset;
}
@@ -864,7 +866,7 @@ static const value_string sabp_Paging_ETWS_Indicator_vals[] = {
static int
dissect_sabp_Paging_ETWS_Indicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index,
- 1, NULL, TRUE, 0, NULL);
+ 1, NULL, true, 0, NULL);
return offset;
}
@@ -894,7 +896,7 @@ static int
dissect_sabp_Radio_Resource_Loading_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index,
ett_sabp_Radio_Resource_Loading_List, Radio_Resource_Loading_List_sequence_of,
- 1, maxnoofSAI, FALSE);
+ 1, maxnoofSAI, false);
return offset;
}
@@ -910,7 +912,7 @@ static const value_string sabp_Recovery_Indication_vals[] = {
static int
dissect_sabp_Recovery_Indication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index,
- 2, NULL, FALSE, 0, NULL);
+ 2, NULL, false, 0, NULL);
return offset;
}
@@ -920,7 +922,7 @@ dissect_sabp_Recovery_Indication(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *
static int
dissect_sabp_Repetition_Period(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index,
- 1U, 4096U, NULL, FALSE);
+ 1U, 4096U, NULL, false);
return offset;
}
@@ -934,7 +936,7 @@ static int
dissect_sabp_Service_Areas_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index,
ett_sabp_Service_Areas_List, Service_Areas_List_sequence_of,
- 1, maxnoofSAI, FALSE);
+ 1, maxnoofSAI, false);
return offset;
}
@@ -950,7 +952,7 @@ static const value_string sabp_TypeOfError_vals[] = {
static int
dissect_sabp_TypeOfError(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index,
- 2, NULL, TRUE, 0, NULL);
+ 2, NULL, true, 0, NULL);
return offset;
}
@@ -960,7 +962,7 @@ dissect_sabp_TypeOfError(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_
static int
dissect_sabp_WarningSecurityInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index,
- 50, 50, FALSE, NULL);
+ 50, 50, false, NULL);
return offset;
}
@@ -970,7 +972,7 @@ dissect_sabp_WarningSecurityInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *
static int
dissect_sabp_Warning_Type(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index,
- 2, 2, FALSE, NULL);
+ 2, 2, false, NULL);
return offset;
}
@@ -1349,7 +1351,7 @@ dissect_sabp_SABP_PDU(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, p
static int dissect_Broadcast_Message_Content_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo);
offset = dissect_sabp_Broadcast_Message_Content(tvb, offset, &asn1_ctx, tree, hf_sabp_Broadcast_Message_Content_PDU);
offset += 7; offset >>= 3;
return offset;
@@ -1357,7 +1359,7 @@ static int dissect_Broadcast_Message_Content_PDU(tvbuff_t *tvb _U_, packet_info
static int dissect_Broadcast_Message_Content_Validity_Indicator_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo);
offset = dissect_sabp_Broadcast_Message_Content_Validity_Indicator(tvb, offset, &asn1_ctx, tree, hf_sabp_Broadcast_Message_Content_Validity_Indicator_PDU);
offset += 7; offset >>= 3;
return offset;
@@ -1365,7 +1367,7 @@ static int dissect_Broadcast_Message_Content_Validity_Indicator_PDU(tvbuff_t *tv
static int dissect_Category_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo);
offset = dissect_sabp_Category(tvb, offset, &asn1_ctx, tree, hf_sabp_Category_PDU);
offset += 7; offset >>= 3;
return offset;
@@ -1373,7 +1375,7 @@ static int dissect_Category_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto
static int dissect_Cause_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo);
offset = dissect_sabp_Cause(tvb, offset, &asn1_ctx, tree, hf_sabp_Cause_PDU);
offset += 7; offset >>= 3;
return offset;
@@ -1381,7 +1383,7 @@ static int dissect_Cause_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tr
static int dissect_Criticality_Diagnostics_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo);
offset = dissect_sabp_Criticality_Diagnostics(tvb, offset, &asn1_ctx, tree, hf_sabp_Criticality_Diagnostics_PDU);
offset += 7; offset >>= 3;
return offset;
@@ -1389,7 +1391,7 @@ static int dissect_Criticality_Diagnostics_PDU(tvbuff_t *tvb _U_, packet_info *p
static int dissect_MessageStructure_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo);
offset = dissect_sabp_MessageStructure(tvb, offset, &asn1_ctx, tree, hf_sabp_MessageStructure_PDU);
offset += 7; offset >>= 3;
return offset;
@@ -1397,7 +1399,7 @@ static int dissect_MessageStructure_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U
static int dissect_Data_Coding_Scheme_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo);
offset = dissect_sabp_Data_Coding_Scheme(tvb, offset, &asn1_ctx, tree, hf_sabp_Data_Coding_Scheme_PDU);
offset += 7; offset >>= 3;
return offset;
@@ -1405,7 +1407,7 @@ static int dissect_Data_Coding_Scheme_PDU(tvbuff_t *tvb _U_, packet_info *pinfo
static int dissect_Failure_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo);
offset = dissect_sabp_Failure_List(tvb, offset, &asn1_ctx, tree, hf_sabp_Failure_List_PDU);
offset += 7; offset >>= 3;
return offset;
@@ -1413,7 +1415,7 @@ static int dissect_Failure_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, p
static int dissect_Message_Identifier_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo);
offset = dissect_sabp_Message_Identifier(tvb, offset, &asn1_ctx, tree, hf_sabp_Message_Identifier_PDU);
offset += 7; offset >>= 3;
return offset;
@@ -1421,7 +1423,7 @@ static int dissect_Message_Identifier_PDU(tvbuff_t *tvb _U_, packet_info *pinfo
static int dissect_New_Serial_Number_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo);
offset = dissect_sabp_New_Serial_Number(tvb, offset, &asn1_ctx, tree, hf_sabp_New_Serial_Number_PDU);
offset += 7; offset >>= 3;
return offset;
@@ -1429,7 +1431,7 @@ static int dissect_New_Serial_Number_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _
static int dissect_Number_of_Broadcasts_Completed_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo);
offset = dissect_sabp_Number_of_Broadcasts_Completed_List(tvb, offset, &asn1_ctx, tree, hf_sabp_Number_of_Broadcasts_Completed_List_PDU);
offset += 7; offset >>= 3;
return offset;
@@ -1437,7 +1439,7 @@ static int dissect_Number_of_Broadcasts_Completed_List_PDU(tvbuff_t *tvb _U_, pa
static int dissect_Number_of_Broadcasts_Requested_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo);
offset = dissect_sabp_Number_of_Broadcasts_Requested(tvb, offset, &asn1_ctx, tree, hf_sabp_Number_of_Broadcasts_Requested_PDU);
offset += 7; offset >>= 3;
return offset;
@@ -1445,7 +1447,7 @@ static int dissect_Number_of_Broadcasts_Requested_PDU(tvbuff_t *tvb _U_, packet_
static int dissect_Old_Serial_Number_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo);
offset = dissect_sabp_Old_Serial_Number(tvb, offset, &asn1_ctx, tree, hf_sabp_Old_Serial_Number_PDU);
offset += 7; offset >>= 3;
return offset;
@@ -1453,7 +1455,7 @@ static int dissect_Old_Serial_Number_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _
static int dissect_Paging_ETWS_Indicator_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo);
offset = dissect_sabp_Paging_ETWS_Indicator(tvb, offset, &asn1_ctx, tree, hf_sabp_Paging_ETWS_Indicator_PDU);
offset += 7; offset >>= 3;
return offset;
@@ -1461,7 +1463,7 @@ static int dissect_Paging_ETWS_Indicator_PDU(tvbuff_t *tvb _U_, packet_info *pin
static int dissect_Radio_Resource_Loading_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo);
offset = dissect_sabp_Radio_Resource_Loading_List(tvb, offset, &asn1_ctx, tree, hf_sabp_Radio_Resource_Loading_List_PDU);
offset += 7; offset >>= 3;
return offset;
@@ -1469,7 +1471,7 @@ static int dissect_Radio_Resource_Loading_List_PDU(tvbuff_t *tvb _U_, packet_inf
static int dissect_Recovery_Indication_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo);
offset = dissect_sabp_Recovery_Indication(tvb, offset, &asn1_ctx, tree, hf_sabp_Recovery_Indication_PDU);
offset += 7; offset >>= 3;
return offset;
@@ -1477,7 +1479,7 @@ static int dissect_Recovery_Indication_PDU(tvbuff_t *tvb _U_, packet_info *pinfo
static int dissect_Repetition_Period_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo);
offset = dissect_sabp_Repetition_Period(tvb, offset, &asn1_ctx, tree, hf_sabp_Repetition_Period_PDU);
offset += 7; offset >>= 3;
return offset;
@@ -1485,7 +1487,7 @@ static int dissect_Repetition_Period_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _
static int dissect_Serial_Number_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo);
offset = dissect_sabp_Serial_Number(tvb, offset, &asn1_ctx, tree, hf_sabp_Serial_Number_PDU);
offset += 7; offset >>= 3;
return offset;
@@ -1493,7 +1495,7 @@ static int dissect_Serial_Number_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_,
static int dissect_Service_Areas_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo);
offset = dissect_sabp_Service_Areas_List(tvb, offset, &asn1_ctx, tree, hf_sabp_Service_Areas_List_PDU);
offset += 7; offset >>= 3;
return offset;
@@ -1501,7 +1503,7 @@ static int dissect_Service_Areas_List_PDU(tvbuff_t *tvb _U_, packet_info *pinfo
static int dissect_TypeOfError_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo);
offset = dissect_sabp_TypeOfError(tvb, offset, &asn1_ctx, tree, hf_sabp_TypeOfError_PDU);
offset += 7; offset >>= 3;
return offset;
@@ -1509,7 +1511,7 @@ static int dissect_TypeOfError_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, pr
static int dissect_WarningSecurityInfo_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo);
offset = dissect_sabp_WarningSecurityInfo(tvb, offset, &asn1_ctx, tree, hf_sabp_WarningSecurityInfo_PDU);
offset += 7; offset >>= 3;
return offset;
@@ -1517,7 +1519,7 @@ static int dissect_WarningSecurityInfo_PDU(tvbuff_t *tvb _U_, packet_info *pinfo
static int dissect_Warning_Type_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo);
offset = dissect_sabp_Warning_Type(tvb, offset, &asn1_ctx, tree, hf_sabp_Warning_Type_PDU);
offset += 7; offset >>= 3;
return offset;
@@ -1525,7 +1527,7 @@ static int dissect_Warning_Type_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, p
static int dissect_Write_Replace_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo);
offset = dissect_sabp_Write_Replace(tvb, offset, &asn1_ctx, tree, hf_sabp_Write_Replace_PDU);
offset += 7; offset >>= 3;
return offset;
@@ -1533,7 +1535,7 @@ static int dissect_Write_Replace_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_,
static int dissect_Write_Replace_Complete_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo);
offset = dissect_sabp_Write_Replace_Complete(tvb, offset, &asn1_ctx, tree, hf_sabp_Write_Replace_Complete_PDU);
offset += 7; offset >>= 3;
return offset;
@@ -1541,7 +1543,7 @@ static int dissect_Write_Replace_Complete_PDU(tvbuff_t *tvb _U_, packet_info *pi
static int dissect_Write_Replace_Failure_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo);
offset = dissect_sabp_Write_Replace_Failure(tvb, offset, &asn1_ctx, tree, hf_sabp_Write_Replace_Failure_PDU);
offset += 7; offset >>= 3;
return offset;
@@ -1549,7 +1551,7 @@ static int dissect_Write_Replace_Failure_PDU(tvbuff_t *tvb _U_, packet_info *pin
static int dissect_Kill_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo);
offset = dissect_sabp_Kill(tvb, offset, &asn1_ctx, tree, hf_sabp_Kill_PDU);
offset += 7; offset >>= 3;
return offset;
@@ -1557,7 +1559,7 @@ static int dissect_Kill_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tre
static int dissect_Kill_Complete_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo);
offset = dissect_sabp_Kill_Complete(tvb, offset, &asn1_ctx, tree, hf_sabp_Kill_Complete_PDU);
offset += 7; offset >>= 3;
return offset;
@@ -1565,7 +1567,7 @@ static int dissect_Kill_Complete_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_,
static int dissect_Kill_Failure_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo);
offset = dissect_sabp_Kill_Failure(tvb, offset, &asn1_ctx, tree, hf_sabp_Kill_Failure_PDU);
offset += 7; offset >>= 3;
return offset;
@@ -1573,7 +1575,7 @@ static int dissect_Kill_Failure_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, p
static int dissect_Load_Query_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo);
offset = dissect_sabp_Load_Query(tvb, offset, &asn1_ctx, tree, hf_sabp_Load_Query_PDU);
offset += 7; offset >>= 3;
return offset;
@@ -1581,7 +1583,7 @@ static int dissect_Load_Query_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, pro
static int dissect_Load_Query_Complete_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo);
offset = dissect_sabp_Load_Query_Complete(tvb, offset, &asn1_ctx, tree, hf_sabp_Load_Query_Complete_PDU);
offset += 7; offset >>= 3;
return offset;
@@ -1589,7 +1591,7 @@ static int dissect_Load_Query_Complete_PDU(tvbuff_t *tvb _U_, packet_info *pinfo
static int dissect_Load_Query_Failure_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo);
offset = dissect_sabp_Load_Query_Failure(tvb, offset, &asn1_ctx, tree, hf_sabp_Load_Query_Failure_PDU);
offset += 7; offset >>= 3;
return offset;
@@ -1597,7 +1599,7 @@ static int dissect_Load_Query_Failure_PDU(tvbuff_t *tvb _U_, packet_info *pinfo
static int dissect_Message_Status_Query_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo);
offset = dissect_sabp_Message_Status_Query(tvb, offset, &asn1_ctx, tree, hf_sabp_Message_Status_Query_PDU);
offset += 7; offset >>= 3;
return offset;
@@ -1605,7 +1607,7 @@ static int dissect_Message_Status_Query_PDU(tvbuff_t *tvb _U_, packet_info *pinf
static int dissect_Message_Status_Query_Complete_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo);
offset = dissect_sabp_Message_Status_Query_Complete(tvb, offset, &asn1_ctx, tree, hf_sabp_Message_Status_Query_Complete_PDU);
offset += 7; offset >>= 3;
return offset;
@@ -1613,7 +1615,7 @@ static int dissect_Message_Status_Query_Complete_PDU(tvbuff_t *tvb _U_, packet_i
static int dissect_Message_Status_Query_Failure_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo);
offset = dissect_sabp_Message_Status_Query_Failure(tvb, offset, &asn1_ctx, tree, hf_sabp_Message_Status_Query_Failure_PDU);
offset += 7; offset >>= 3;
return offset;
@@ -1621,7 +1623,7 @@ static int dissect_Message_Status_Query_Failure_PDU(tvbuff_t *tvb _U_, packet_in
static int dissect_Reset_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo);
offset = dissect_sabp_Reset(tvb, offset, &asn1_ctx, tree, hf_sabp_Reset_PDU);
offset += 7; offset >>= 3;
return offset;
@@ -1629,7 +1631,7 @@ static int dissect_Reset_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tr
static int dissect_Reset_Complete_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo);
offset = dissect_sabp_Reset_Complete(tvb, offset, &asn1_ctx, tree, hf_sabp_Reset_Complete_PDU);
offset += 7; offset >>= 3;
return offset;
@@ -1637,7 +1639,7 @@ static int dissect_Reset_Complete_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_,
static int dissect_Reset_Failure_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo);
offset = dissect_sabp_Reset_Failure(tvb, offset, &asn1_ctx, tree, hf_sabp_Reset_Failure_PDU);
offset += 7; offset >>= 3;
return offset;
@@ -1645,7 +1647,7 @@ static int dissect_Reset_Failure_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_,
static int dissect_Restart_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo);
offset = dissect_sabp_Restart(tvb, offset, &asn1_ctx, tree, hf_sabp_Restart_PDU);
offset += 7; offset >>= 3;
return offset;
@@ -1653,7 +1655,7 @@ static int dissect_Restart_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_
static int dissect_Failure_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo);
offset = dissect_sabp_Failure(tvb, offset, &asn1_ctx, tree, hf_sabp_Failure_PDU);
offset += 7; offset >>= 3;
return offset;
@@ -1661,7 +1663,7 @@ static int dissect_Failure_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_
static int dissect_Error_Indication_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo);
offset = dissect_sabp_Error_Indication(tvb, offset, &asn1_ctx, tree, hf_sabp_Error_Indication_PDU);
offset += 7; offset >>= 3;
return offset;
@@ -1669,7 +1671,7 @@ static int dissect_Error_Indication_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U
static int dissect_SABP_PDU_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo);
offset = dissect_sabp_SABP_PDU(tvb, offset, &asn1_ctx, tree, hf_sabp_SABP_PDU_PDU);
offset += 7; offset >>= 3;
return offset;
@@ -1713,11 +1715,11 @@ dissect_sabp_cb_data(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
tvbuff_t *page_tvb, *unpacked_tvb;
int offset = 0;
int n;
- guint8 nr_pages, len, cb_inf_msg_len;
+ uint8_t nr_pages, len, cb_inf_msg_len;
/* Octet 1 Number-of-Pages */
- nr_pages = tvb_get_guint8(tvb, offset);
+ nr_pages = tvb_get_uint8(tvb, offset);
proto_tree_add_item(tree, hf_sabp_no_of_pages, tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;
/*
@@ -1732,7 +1734,7 @@ dissect_sabp_cb_data(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
"CB page %u data", n+1);
/* octet 2 - 83 CBS-Message-Information-Page 1 */
cbs_page_item = proto_tree_add_item(subtree, hf_sabp_cb_msg_inf_page, tvb, offset, 82, ENC_NA);
- cb_inf_msg_len = tvb_get_guint8(tvb,offset+82);
+ cb_inf_msg_len = tvb_get_uint8(tvb,offset+82);
page_tvb = tvb_new_subset_length(tvb, offset, cb_inf_msg_len);
unpacked_tvb = dissect_cbs_data(sms_encoding, page_tvb, subtree, pinfo, 0);
len = tvb_captured_length(unpacked_tvb);
@@ -1770,12 +1772,12 @@ dissect_sabp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_
static int
dissect_sabp_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data)
{
- guint32 type_length, msg_len;
- guint tvb_length;
+ uint32_t type_length, msg_len;
+ unsigned tvb_length;
int bit_offset;
- gboolean is_fragmented;
+ bool is_fragmented;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo);
tvb_length = tvb_reported_length(tvb);
@@ -2148,7 +2150,7 @@ void proto_register_sabp(void) {
};
/* List of subtrees */
- static gint *ett[] = {
+ static int *ett[] = {
&ett_sabp,
&ett_sabp_e212,
&ett_sabp_cbs_data_coding,