summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-ftam.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-12-08 23:29:21 +0000
committerGuy Harris <guy@alum.mit.edu>2005-12-08 23:29:21 +0000
commitb45d2efe6db49becb5bb1b5b27fbca9948b785c5 (patch)
tree0e3df38ff6beeed4ad09db532adb3806d30eddea /epan/dissectors/packet-ftam.c
parenta770b7b647b382ea5232be245e38a2433950ad80 (diff)
downloadwireshark-b45d2efe6db49becb5bb1b5b27fbca9948b785c5.tar.gz
Regenerate with the latest asn2eth, to get FT_OID used, and to add #line.
svn path=/trunk/; revision=16736
Diffstat (limited to 'epan/dissectors/packet-ftam.c')
-rw-r--r--epan/dissectors/packet-ftam.c135
1 files changed, 114 insertions, 21 deletions
diff --git a/epan/dissectors/packet-ftam.c b/epan/dissectors/packet-ftam.c
index c9097d8ec6..dc64fcde1b 100644
--- a/epan/dissectors/packet-ftam.c
+++ b/epan/dissectors/packet-ftam.c
@@ -1,10 +1,11 @@
/* Do not modify this file. */
/* It is created automatically by the ASN.1 to Ethereal dissector compiler */
-/* .\packet-ftam.c */
+/* ./packet-ftam.c */
/* ../../tools/asn2eth.py -X -b -e -p ftam -c ftam.cnf -s packet-ftam-template ISO8571-FTAM.asn */
/* Input file: packet-ftam-template.c */
+#line 1 "packet-ftam-template.c"
/* packet-ftam_asn1.c
* Routine to dissect OSI ISO 8571 FTAM Protocol packets
* based on the ASN.1 specification from http://www.itu.int/ITU-T/asn1/database/iso/8571-4/1988/
@@ -63,7 +64,7 @@ static int dissect_ftam_OR_Set(gboolean implicit_tag _U_, tvbuff_t *tvb, int off
/*--- Included file: packet-ftam-hf.c ---*/
-
+#line 1 "packet-ftam-hf.c"
static int hf_ftam_fTAM_Regime_PDU = -1; /* FTAM_Regime_PDU */
static int hf_ftam_file_PDU = -1; /* File_PDU */
static int hf_ftam_bulk_Data_PDU = -1; /* Bulk_Data_PDU */
@@ -484,13 +485,13 @@ static int hf_ftam_Attribute_Names_read_legal_qualifiCatiOnS = -1;
static int hf_ftam_Attribute_Names_read_private_use = -1;
/*--- End of included file: packet-ftam-hf.c ---*/
-
+#line 58 "packet-ftam-template.c"
/* Initialize the subtree pointers */
static gint ett_ftam = -1;
/*--- Included file: packet-ftam-ett.c ---*/
-
+#line 1 "packet-ftam-ett.c"
static gint ett_ftam_PDU = -1;
static gint ett_ftam_FTAM_Regime_PDU = -1;
static gint ett_ftam_F_INITIALIZE_request = -1;
@@ -658,11 +659,11 @@ static gint ett_ftam_AE_title = -1;
static gint ett_ftam_Attribute_Value_Assertions = -1;
/*--- End of included file: packet-ftam-ett.c ---*/
-
+#line 62 "packet-ftam-template.c"
/*--- Included file: packet-ftam-fn.c ---*/
-
+#line 1 "packet-ftam-fn.c"
/*--- Fields for imported types ---*/
static int dissect_actual_values4_impl(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -678,6 +679,7 @@ static const asn_namedbit Protocol_Version_bits[] = {
static int
dissect_ftam_Protocol_Version(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 108 "ftam.cnf"
gint8 class;
gboolean pc, ind_field;
gint32 tag;
@@ -695,6 +697,7 @@ dissect_ftam_Protocol_Version(gboolean implicit_tag _U_, tvbuff_t *tvb, int offs
NULL);
+
return offset;
}
static int dissect_protocol_Version(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -705,6 +708,7 @@ static int dissect_protocol_Version(packet_info *pinfo, proto_tree *tree, tvbuff
static int
dissect_ftam_Implementation_Information(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 91 "ftam.cnf"
gint8 class;
gboolean pc, ind_field;
gint32 tag;
@@ -722,6 +726,7 @@ dissect_ftam_Implementation_Information(gboolean implicit_tag _U_, tvbuff_t *tvb
NULL);
+
return offset;
}
static int dissect_implementation_information(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -767,6 +772,7 @@ static const asn_namedbit Service_Class_bits[] = {
static int
dissect_ftam_Service_Class(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 125 "ftam.cnf"
gint8 class;
gboolean pc, ind_field;
gint32 tag;
@@ -784,6 +790,7 @@ dissect_ftam_Service_Class(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset,
NULL);
+
return offset;
}
static int dissect_service_class(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -812,6 +819,7 @@ static const asn_namedbit Functional_Units_bits[] = {
static int
dissect_ftam_Functional_Units(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 142 "ftam.cnf"
gint8 class;
gboolean pc, ind_field;
gint32 tag;
@@ -830,6 +838,7 @@ dissect_ftam_Functional_Units(gboolean implicit_tag _U_, tvbuff_t *tvb, int offs
+
return offset;
}
static int dissect_functional_units(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -847,6 +856,7 @@ static const asn_namedbit Attribute_Groups_bits[] = {
static int
dissect_ftam_Attribute_Groups(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 160 "ftam.cnf"
gint8 class;
gboolean pc, ind_field;
gint32 tag;
@@ -865,6 +875,7 @@ dissect_ftam_Attribute_Groups(gboolean implicit_tag _U_, tvbuff_t *tvb, int offs
+
return offset;
}
static int dissect_attribute_groups(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -898,6 +909,7 @@ static const value_string ftam_FTAM_Quality_of_Service_vals[] = {
static int
dissect_ftam_FTAM_Quality_of_Service(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 178 "ftam.cnf"
gint8 class;
gboolean pc, ind_field;
gint32 tag;
@@ -914,6 +926,7 @@ dissect_ftam_FTAM_Quality_of_Service(gboolean implicit_tag _U_, tvbuff_t *tvb, i
NULL);
+
return offset;
}
static int dissect_ftam_quality_of_Service(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -924,6 +937,7 @@ static int dissect_ftam_quality_of_Service(packet_info *pinfo, proto_tree *tree,
static int
dissect_ftam_Document_Type_Name(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 457 "ftam.cnf"
gint8 class;
gboolean pc, ind_field;
gint32 tag;
@@ -940,6 +954,7 @@ dissect_ftam_Document_Type_Name(gboolean implicit_tag _U_, tvbuff_t *tvb, int of
+
return offset;
}
static int dissect_document_type_name(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -950,6 +965,7 @@ static int dissect_document_type_name(packet_info *pinfo, proto_tree *tree, tvbu
static int
dissect_ftam_Abstract_Syntax_Name(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 243 "ftam.cnf"
gint8 class;
gboolean pc, ind_field;
gint32 tag;
@@ -967,6 +983,7 @@ dissect_ftam_Abstract_Syntax_Name(gboolean implicit_tag _U_, tvbuff_t *tvb, int
+
return offset;
}
static int dissect_abstract_Syntax_name(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -1011,6 +1028,7 @@ static const ber_sequence_t Contents_Type_List_sequence_of[1] = {
static int
dissect_ftam_Contents_Type_List(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 194 "ftam.cnf"
gint8 class;
gboolean pc, ind_field;
gint32 tag;
@@ -1028,6 +1046,7 @@ dissect_ftam_Contents_Type_List(gboolean implicit_tag _U_, tvbuff_t *tvb, int of
+
return offset;
}
static int dissect_contents_type_list(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -1038,6 +1057,7 @@ static int dissect_contents_type_list(packet_info *pinfo, proto_tree *tree, tvbu
static int
dissect_ftam_User_Identity(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 536 "ftam.cnf"
gint8 class;
gboolean pc, ind_field;
gint32 tag;
@@ -1054,6 +1074,7 @@ dissect_ftam_User_Identity(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset,
pinfo, tree, tvb, offset, hf_index,
NULL);
+
return offset;
}
static int dissect_initiator_identity(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -1070,6 +1091,7 @@ static int dissect_actual_values6(packet_info *pinfo, proto_tree *tree, tvbuff_t
static int
dissect_ftam_Account(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 308 "ftam.cnf"
gint8 class;
gboolean pc, ind_field;
gint32 tag;
@@ -1086,6 +1108,7 @@ dissect_ftam_Account(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packe
pinfo, tree, tvb, offset, hf_index,
NULL);
+
return offset;
}
static int dissect_account(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -1158,6 +1181,7 @@ static const ber_choice_t Password_choice[] = {
static int
dissect_ftam_Password(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 662 "ftam.cnf"
gint8 class;
gboolean pc, ind_field;
gint32 tag;
@@ -1175,6 +1199,7 @@ dissect_ftam_Password(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, pack
+
return offset;
}
static int dissect_filestore_password(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -1362,6 +1387,7 @@ static const value_string ftam_State_Result_vals[] = {
static int
dissect_ftam_State_Result(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 520 "ftam.cnf"
gint8 class;
gboolean pc, ind_field;
gint32 tag;
@@ -1378,6 +1404,7 @@ dissect_ftam_State_Result(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset,
NULL);
+
return offset;
}
static int dissect_state_result(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -1395,6 +1422,7 @@ static const value_string ftam_Action_Result_vals[] = {
static int
dissect_ftam_Action_Result(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 324 "ftam.cnf"
gint8 class;
gboolean pc, ind_field;
gint32 tag;
@@ -1412,6 +1440,7 @@ dissect_ftam_Action_Result(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset,
+
return offset;
}
static int dissect_action_result(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -1493,6 +1522,7 @@ static const ber_sequence_t Diagnostic_sequence_of[1] = {
static int
dissect_ftam_Diagnostic(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 440 "ftam.cnf"
gint8 class;
gboolean pc, ind_field;
gint32 tag;
@@ -1510,6 +1540,7 @@ dissect_ftam_Diagnostic(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, pa
+
return offset;
}
static int dissect_diagnostic(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -1588,6 +1619,7 @@ static const ber_sequence_t Charging_sequence_of[1] = {
static int
dissect_ftam_Charging(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 374 "ftam.cnf"
gint8 class;
gboolean pc, ind_field;
gint32 tag;
@@ -1605,6 +1637,7 @@ dissect_ftam_Charging(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, pack
+
return offset;
}
static int dissect_charging(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -1688,6 +1721,7 @@ static const ber_choice_t FTAM_Regime_PDU_choice[] = {
static int
dissect_ftam_FTAM_Regime_PDU(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 713 "ftam.cnf"
gint branch_taken;
offset = dissect_ber_choice(pinfo, tree, tvb, offset,
@@ -1702,6 +1736,7 @@ dissect_ftam_FTAM_Regime_PDU(gboolean implicit_tag _U_, tvbuff_t *tvb, int offse
}
+
return offset;
}
static int dissect_fTAM_Regime_PDU(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -1778,6 +1813,7 @@ static const ber_sequence_t Select_Attributes_sequence[] = {
static int
dissect_ftam_Select_Attributes(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 504 "ftam.cnf"
gint8 class;
gboolean pc, ind_field;
gint32 tag;
@@ -1794,6 +1830,7 @@ dissect_ftam_Select_Attributes(gboolean implicit_tag _U_, tvbuff_t *tvb, int off
Select_Attributes_sequence, hf_index, ett_ftam_Select_Attributes);
+
return offset;
}
static int dissect_select_attributes(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -1815,6 +1852,7 @@ static const asn_namedbit Access_Request_bits[] = {
static int
dissect_ftam_Access_Request(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 292 "ftam.cnf"
gint8 class;
gboolean pc, ind_field;
gint32 tag;
@@ -1831,6 +1869,7 @@ dissect_ftam_Access_Request(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset
Access_Request_bits, hf_index, ett_ftam_Access_Request,
NULL);
+
return offset;
}
static int dissect_requested_access(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -1873,6 +1912,7 @@ static const ber_sequence_t Access_Passwords_sequence[] = {
static int
dissect_ftam_Access_Passwords(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 276 "ftam.cnf"
gint8 class;
gboolean pc, ind_field;
gint32 tag;
@@ -1889,6 +1929,7 @@ dissect_ftam_Access_Passwords(gboolean implicit_tag _U_, tvbuff_t *tvb, int offs
Access_Passwords_sequence, hf_index, ett_ftam_Access_Passwords);
+
return offset;
}
static int dissect_access_passwords(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -1931,6 +1972,7 @@ static const ber_sequence_t Path_Access_Passwords_sequence_of[1] = {
static int
dissect_ftam_Path_Access_Passwords(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 585 "ftam.cnf"
gint8 class;
gboolean pc, ind_field;
gint32 tag;
@@ -1947,6 +1989,7 @@ dissect_ftam_Path_Access_Passwords(gboolean implicit_tag _U_, tvbuff_t *tvb, int
Path_Access_Passwords_sequence_of, hf_index, ett_ftam_Path_Access_Passwords);
+
return offset;
}
static int dissect_path_access_passwords(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -2010,6 +2053,7 @@ static const ber_sequence_t Concurrency_Control_sequence[] = {
static int
dissect_ftam_Concurrency_Control(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 391 "ftam.cnf"
gint8 class;
gboolean pc, ind_field;
gint32 tag;
@@ -2027,6 +2071,7 @@ dissect_ftam_Concurrency_Control(gboolean implicit_tag _U_, tvbuff_t *tvb, int o
+
return offset;
}
static int dissect_concurrency_control(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -2060,6 +2105,7 @@ static int dissect_f_select_request_impl(packet_info *pinfo, proto_tree *tree, t
static int
dissect_ftam_Referent_Indicator(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 647 "ftam.cnf"
gint8 class;
gboolean pc, ind_field;
gint32 tag;
@@ -2075,6 +2121,7 @@ dissect_ftam_Referent_Indicator(gboolean implicit_tag _U_, tvbuff_t *tvb, int of
offset = dissect_ber_boolean(TRUE, pinfo, tree, tvb, offset, hf_index);
+
return offset;
}
static int dissect_referent_indicator(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -2215,9 +2262,11 @@ static int dissect_permitted_actions_impl(packet_info *pinfo, proto_tree *tree,
static int
dissect_ftam_T_parameter(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 74 "ftam.cnf"
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, pinfo, tree);
+
return offset;
}
static int dissect_parameter(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -2246,6 +2295,7 @@ static int dissect_document_type_impl(packet_info *pinfo, proto_tree *tree, tvbu
static int
dissect_ftam_Constraint_Set_Name(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 408 "ftam.cnf"
gint8 class;
gboolean pc, ind_field;
gint32 tag;
@@ -2262,6 +2312,7 @@ dissect_ftam_Constraint_Set_Name(gboolean implicit_tag _U_, tvbuff_t *tvb, int o
NULL);
+
return offset;
}
static int dissect_constraint_set_name(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -2502,8 +2553,10 @@ static int dissect_concurrency_access_impl(packet_info *pinfo, proto_tree *tree,
static int
dissect_ftam_AP_title(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 86 "ftam.cnf"
/* XXX have no idea about this one */
+
return offset;
}
static int dissect_ap(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -2514,9 +2567,11 @@ static int dissect_ap(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int o
static int
dissect_ftam_AE_qualifier(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 88 "ftam.cnf"
/* XXX have no idea about this one */
+
return offset;
}
static int dissect_ae(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -2710,9 +2765,11 @@ static int dissect_extension_attribute_identifier(packet_info *pinfo, proto_tree
static int
dissect_ftam_T_extension_attribute(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 77 "ftam.cnf"
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, pinfo, tree);
+
return offset;
}
static int dissect_extension_attribute(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -2806,6 +2863,7 @@ static const ber_sequence_t Create_Attributes_sequence[] = {
static int
dissect_ftam_Create_Attributes(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 424 "ftam.cnf"
gint8 class;
gboolean pc, ind_field;
gint32 tag;
@@ -2822,6 +2880,7 @@ dissect_ftam_Create_Attributes(gboolean implicit_tag _U_, tvbuff_t *tvb, int off
Create_Attributes_sequence, hf_index, ett_ftam_Create_Attributes);
+
return offset;
}
static int dissect_initial_attributes(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -3161,6 +3220,7 @@ static const ber_sequence_t Read_Attributes_sequence[] = {
static int
dissect_ftam_Read_Attributes(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 488 "ftam.cnf"
gint8 class;
gboolean pc, ind_field;
gint32 tag;
@@ -3177,6 +3237,7 @@ dissect_ftam_Read_Attributes(gboolean implicit_tag _U_, tvbuff_t *tvb, int offse
Read_Attributes_sequence, hf_index, ett_ftam_Read_Attributes);
+
return offset;
}
static int dissect_read_attributes(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -3273,6 +3334,7 @@ static const ber_sequence_t Change_Attributes_sequence[] = {
static int
dissect_ftam_Change_Attributes(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 357 "ftam.cnf"
gint8 class;
gboolean pc, ind_field;
gint32 tag;
@@ -3290,6 +3352,7 @@ dissect_ftam_Change_Attributes(gboolean implicit_tag _U_, tvbuff_t *tvb, int off
+
return offset;
}
static int dissect_attributes(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -3383,6 +3446,7 @@ static int dissect_open_contents_type(packet_info *pinfo, proto_tree *tree, tvbu
static int
dissect_ftam_Activity_Identifier(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 341 "ftam.cnf"
gint8 class;
gboolean pc, ind_field;
gint32 tag;
@@ -3399,6 +3463,7 @@ dissect_ftam_Activity_Identifier(gboolean implicit_tag _U_, tvbuff_t *tvb, int o
NULL);
+
return offset;
}
static int dissect_activity_identifier(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -3455,6 +3520,7 @@ static const value_string ftam_Degree_Of_Overlap_vals[] = {
static int
dissect_ftam_Degree_Of_Overlap(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 211 "ftam.cnf"
gint8 class;
gboolean pc, ind_field;
gint32 tag;
@@ -3471,6 +3537,7 @@ dissect_ftam_Degree_Of_Overlap(gboolean implicit_tag _U_, tvbuff_t *tvb, int off
NULL);
+
return offset;
}
static int dissect_degree_of_overlap(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -3817,6 +3884,7 @@ static const ber_choice_t FADU_Identity_choice[] = {
static int
dissect_ftam_FADU_Identity(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 679 "ftam.cnf"
gint8 class;
gboolean pc, ind_field;
gint32 tag;
@@ -3833,6 +3901,7 @@ dissect_ftam_FADU_Identity(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset,
FADU_Identity_choice, hf_index, ett_ftam_FADU_Identity, NULL);
+
return offset;
}
static int dissect_file_access_data_unit_identity(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -3849,6 +3918,7 @@ static const value_string ftam_FADU_Lock_vals[] = {
static int
dissect_ftam_FADU_Lock(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 472 "ftam.cnf"
gint8 class;
gboolean pc, ind_field;
gint32 tag;
@@ -3865,6 +3935,7 @@ dissect_ftam_FADU_Lock(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, pac
NULL);
+
return offset;
}
static int dissect_fadu_lock(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -4006,6 +4077,7 @@ static const ber_choice_t File_PDU_choice[] = {
static int
dissect_ftam_File_PDU(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 727 "ftam.cnf"
gint branch_taken;
offset = dissect_ber_choice(pinfo, tree, tvb, offset,
@@ -4020,6 +4092,7 @@ dissect_ftam_File_PDU(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, pack
}
+
return offset;
}
static int dissect_file_PDU(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -4059,6 +4132,7 @@ static const ber_sequence_t Access_Context_sequence[] = {
static int
dissect_ftam_Access_Context(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 260 "ftam.cnf"
gint8 class;
gboolean pc, ind_field;
gint32 tag;
@@ -4075,6 +4149,7 @@ dissect_ftam_Access_Context(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset
Access_Context_sequence, hf_index, ett_ftam_Access_Context);
+
return offset;
}
static int dissect_read_access_context(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -4169,6 +4244,7 @@ static const value_string ftam_Request_Type_vals[] = {
static int
dissect_ftam_Request_Type(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 227 "ftam.cnf"
gint8 class;
gboolean pc, ind_field;
gint32 tag;
@@ -4185,6 +4261,7 @@ dissect_ftam_Request_Type(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset,
NULL);
+
return offset;
}
static int dissect_request_type(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -4358,6 +4435,7 @@ static const ber_choice_t Bulk_Data_PDU_choice[] = {
static int
dissect_ftam_Bulk_Data_PDU(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 741 "ftam.cnf"
gint branch_taken;
offset = dissect_ber_choice(pinfo, tree, tvb, offset,
@@ -4372,6 +4450,7 @@ dissect_ftam_Bulk_Data_PDU(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset,
}
+
return offset;
}
static int dissect_bulk_Data_PDU(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -4828,9 +4907,11 @@ static int dissect_attribute_extension_attribute_identifier(packet_info *pinfo,
static int
dissect_ftam_T_extension_attribute_Pattern(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 83 "ftam.cnf"
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, pinfo, tree);
+
return offset;
}
static int dissect_extension_attribute_Pattern(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -4994,6 +5075,7 @@ static const ber_sequence_t Attribute_Value_Assertions_sequence_of[1] = {
static int
dissect_ftam_Attribute_Value_Assertions(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 632 "ftam.cnf"
gint8 class;
gboolean pc, ind_field;
gint32 tag;
@@ -5009,6 +5091,7 @@ dissect_ftam_Attribute_Value_Assertions(gboolean implicit_tag _U_, tvbuff_t *tvb
offset = dissect_ftam_OR_Set(TRUE, tvb, offset, pinfo, tree, hf_index);
+
return offset;
}
static int dissect_attribute_value_asset_tions(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -5062,6 +5145,7 @@ static const ber_sequence_t Scope_sequence_of[1] = {
static int
dissect_ftam_Scope(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 552 "ftam.cnf"
gint8 class;
gboolean pc, ind_field;
gint32 tag;
@@ -5078,6 +5162,7 @@ dissect_ftam_Scope(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_
Scope_sequence_of, hf_index, ett_ftam_Scope);
+
return offset;
}
static int dissect_scope(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -5113,6 +5198,7 @@ static const ber_sequence_t Objects_Attributes_List_sequence_of[1] = {
static int
dissect_ftam_Objects_Attributes_List(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 568 "ftam.cnf"
gint8 class;
gboolean pc, ind_field;
gint32 tag;
@@ -5130,6 +5216,7 @@ dissect_ftam_Objects_Attributes_List(gboolean implicit_tag _U_, tvbuff_t *tvb, i
+
return offset;
}
static int dissect_objects_attributes_list(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -5209,6 +5296,7 @@ static const value_string ftam_Request_Operation_Result_vals[] = {
static int
dissect_ftam_Request_Operation_Result(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 601 "ftam.cnf"
gint8 class;
gboolean pc, ind_field;
gint32 tag;
@@ -5225,6 +5313,7 @@ dissect_ftam_Request_Operation_Result(gboolean implicit_tag _U_, tvbuff_t *tvb,
NULL);
+
return offset;
}
static int dissect_request_Operation_result(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -5280,6 +5369,7 @@ static const ber_choice_t Operation_Result_choice[] = {
static int
dissect_ftam_Operation_Result(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 695 "ftam.cnf"
gint8 class;
gboolean pc, ind_field;
gint32 tag;
@@ -5295,6 +5385,7 @@ dissect_ftam_Operation_Result(gboolean implicit_tag _U_, tvbuff_t *tvb, int offs
offset = dissect_ber_choice(pinfo, tree, tvb, offset,
Operation_Result_choice, hf_index, ett_ftam_Operation_Result, NULL);
+
return offset;
}
static int dissect_operation_result(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -5903,6 +5994,7 @@ static const ber_choice_t FSM_PDU_choice[] = {
static int
dissect_ftam_FSM_PDU(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 755 "ftam.cnf"
gint branch_taken;
offset = dissect_ber_choice(pinfo, tree, tvb, offset,
@@ -5916,6 +6008,7 @@ dissect_ftam_FSM_PDU(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packe
}
}
+
return offset;
}
static int dissect_fSM_PDU(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -6004,7 +6097,7 @@ dissect_ftam_Other_Pattern(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset,
/*--- End of included file: packet-ftam-fn.c ---*/
-
+#line 64 "packet-ftam-template.c"
/*
* Dissect FTAM PDUs inside a PPDU.
@@ -6046,7 +6139,7 @@ void proto_register_ftam(void) {
{
/*--- Included file: packet-ftam-hfarr.c ---*/
-
+#line 1 "packet-ftam-hfarr.c"
{ &hf_ftam_fTAM_Regime_PDU,
{ "fTAM-Regime-PDU", "ftam.fTAM_Regime_PDU",
FT_UINT32, BASE_DEC, VALS(ftam_FTAM_Regime_PDU_vals), 0,
@@ -6161,11 +6254,11 @@ void proto_register_ftam(void) {
"Contents-Type-List/_item", HFILL }},
{ &hf_ftam_document_type_name,
{ "document-type-name", "ftam.document_type_name",
- FT_STRING, BASE_NONE, NULL, 0,
+ FT_OID, BASE_NONE, NULL, 0,
"", HFILL }},
{ &hf_ftam_abstract_Syntax_name,
{ "abstract-Syntax-name", "ftam.abstract_Syntax_name",
- FT_STRING, BASE_NONE, NULL, 0,
+ FT_OID, BASE_NONE, NULL, 0,
"", HFILL }},
{ &hf_ftam_charging,
{ "charging", "ftam.charging",
@@ -6361,7 +6454,7 @@ void proto_register_ftam(void) {
"", HFILL }},
{ &hf_ftam_remove_contexts_item,
{ "Item", "ftam.remove_contexts_item",
- FT_STRING, BASE_NONE, NULL, 0,
+ FT_OID, BASE_NONE, NULL, 0,
"", HFILL }},
{ &hf_ftam_define_contexts,
{ "define-contexts", "ftam.define_contexts",
@@ -6369,7 +6462,7 @@ void proto_register_ftam(void) {
"", HFILL }},
{ &hf_ftam_define_contexts_item,
{ "Item", "ftam.define_contexts_item",
- FT_STRING, BASE_NONE, NULL, 0,
+ FT_OID, BASE_NONE, NULL, 0,
"", HFILL }},
{ &hf_ftam_degree_of_overlap,
{ "degree-of-overlap", "ftam.degree_of_overlap",
@@ -6861,7 +6954,7 @@ void proto_register_ftam(void) {
"Contents-Type-Attribute/constraint-set-and-abstract-Syntax", HFILL }},
{ &hf_ftam_constraint_set_name,
{ "constraint-set-name", "ftam.constraint_set_name",
- FT_STRING, BASE_NONE, NULL, 0,
+ FT_OID, BASE_NONE, NULL, 0,
"Contents-Type-Attribute/constraint-set-and-abstract-Syntax/constraint-set-name", HFILL }},
{ &hf_ftam_actual_values5,
{ "actual-values", "ftam.actual_values",
@@ -7097,7 +7190,7 @@ void proto_register_ftam(void) {
"Attribute-Extension-Names/_item", HFILL }},
{ &hf_ftam_extension_set_identifier,
{ "extension-set-identifier", "ftam.extension_set_identifier",
- FT_STRING, BASE_NONE, NULL, 0,
+ FT_OID, BASE_NONE, NULL, 0,
"", HFILL }},
{ &hf_ftam_extension_attribute_names,
{ "extension-attribute-names", "ftam.extension_attribute_names",
@@ -7105,7 +7198,7 @@ void proto_register_ftam(void) {
"Attribute-Extension-Set-Name/extension-attribute-names", HFILL }},
{ &hf_ftam_extension_attribute_names_item,
{ "Item", "ftam.extension_attribute_names_item",
- FT_STRING, BASE_NONE, NULL, 0,
+ FT_OID, BASE_NONE, NULL, 0,
"Attribute-Extension-Set-Name/extension-attribute-names/_item", HFILL }},
{ &hf_ftam_Attribute_Extensions_item,
{ "Item", "ftam.Attribute_Extensions_item",
@@ -7121,7 +7214,7 @@ void proto_register_ftam(void) {
"Attribute-Extension-Set/extension-set-attributes/_item", HFILL }},
{ &hf_ftam_extension_attribute_identifier,
{ "extension-attribute-identifier", "ftam.extension_attribute_identifier",
- FT_STRING, BASE_NONE, NULL, 0,
+ FT_OID, BASE_NONE, NULL, 0,
"Extension-Attribute/extension-attribute-identifier", HFILL }},
{ &hf_ftam_extension_attribute,
{ "extension-attribute", "ftam.extension_attribute",
@@ -7293,7 +7386,7 @@ void proto_register_ftam(void) {
"Integer-Pattern/integer-value", HFILL }},
{ &hf_ftam_object_identifier_value,
{ "object-identifier-value", "ftam.object_identifier_value",
- FT_STRING, BASE_NONE, NULL, 0,
+ FT_OID, BASE_NONE, NULL, 0,
"Object-Identifier-Pattern/object-identifier-value", HFILL }},
{ &hf_ftam_boolean_value,
{ "boolean-value", "ftam.boolean_value",
@@ -7329,7 +7422,7 @@ void proto_register_ftam(void) {
"Attribute-Extensions-Pattern/_item/extension-set-attribute-Patterns/_item", HFILL }},
{ &hf_ftam_attribute_extension_attribute_identifier,
{ "extension-attribute-identifier", "ftam.extension_attribute_identifier",
- FT_STRING, BASE_NONE, NULL, 0,
+ FT_OID, BASE_NONE, NULL, 0,
"Attribute-Extensions-Pattern/_item/extension-set-attribute-Patterns/_item/extension-attribute-identifier", HFILL }},
{ &hf_ftam_extension_attribute_Pattern,
{ "extension-attribute-Pattern", "ftam.extension_attribute_Pattern",
@@ -7717,7 +7810,7 @@ void proto_register_ftam(void) {
"", HFILL }},
/*--- End of included file: packet-ftam-hfarr.c ---*/
-
+#line 104 "packet-ftam-template.c"
};
/* List of subtrees */
@@ -7725,7 +7818,7 @@ void proto_register_ftam(void) {
&ett_ftam,
/*--- Included file: packet-ftam-ettarr.c ---*/
-
+#line 1 "packet-ftam-ettarr.c"
&ett_ftam_PDU,
&ett_ftam_FTAM_Regime_PDU,
&ett_ftam_F_INITIALIZE_request,
@@ -7893,7 +7986,7 @@ void proto_register_ftam(void) {
&ett_ftam_Attribute_Value_Assertions,
/*--- End of included file: packet-ftam-ettarr.c ---*/
-
+#line 110 "packet-ftam-template.c"
};
/* Register protocol */