WINOperationsCapability ::= OCTET STRING
--see 6.5.2.kk for encoding
-WIN-Trigger ::= SEQUENCE {
- triggerType [279] IMPLICIT TriggerType OPTIONAL,
- detectionPointType DetectionPointType
- }
+--WIN-Trigger ::= SEQUENCE {
+-- triggerType [279] IMPLICIT TriggerType OPTIONAL,
+-- detectionPointType DetectionPointType
+-- }
--6.5.2.dk N.S0013-0 v 1.0,X.S0004-550-E v1.0 2.301
-- 1 0 0 1 1 1 1 1 (0x9f)
int offset = 0;
int end_offset = 0;
- int j;
+ int j = 0;
proto_tree *subtree;
guint8 octet;
static const char * oid_str;
%(DEFAULT_BODY)s
- ansi_tcap_private.objectApplicationId_oid= (void*) cur_oid;
+ ansi_tcap_private.objectApplicationId_oid= (void*) oid_str;
ansi_tcap_private.oid_is_present=TRUE;
#.FN_HDR PackageType/unidirectional
static dissector_handle_t data_handle;
static dissector_handle_t ansi_map_handle;
-static dissector_table_t sccp_ssn_table;
-
-static GHashTable* ansi_sub_dissectors = NULL;
-static GHashTable* itu_sub_dissectors = NULL;
struct ansi_tcap_private_t ansi_tcap_private;
static void dissect_ansi_tcap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree);
/*
-extern void add_ansi_tcap_subdissector(guint32 ssn, dissector_handle_t dissector) {
+static dissector_table_t sccp_ssn_table;
+
+static GHashTable* ansi_sub_dissectors = NULL;
+static GHashTable* itu_sub_dissectors = NULL;
+
+ extern void add_ansi_tcap_subdissector(guint32 ssn, dissector_handle_t dissector) {
g_hash_table_insert(ansi_sub_dissectors,GUINT_TO_POINTER(ssn),dissector);
dissector_add("sccp.ssn",ssn,tcap_handle);
}
{
proto_item *item=NULL;
proto_tree *tree=NULL;
+#if 0
proto_item *stat_item=NULL;
proto_tree *stat_tree=NULL;
gint offset = 0;
-#if 0
struct tcaphash_context_t * p_tcap_context;
dissector_handle_t subdissector_handle;
#endif
static int hf_ansi_map_wIN_TriggerList = -1; /* WIN_TriggerList */
static int hf_ansi_map_triggerCapability = -1; /* TriggerCapability */
static int hf_ansi_map_wINOperationsCapability = -1; /* WINOperationsCapability */
-static int hf_ansi_map_detectionPointType = -1; /* DetectionPointType */
static int hf_ansi_map_CallRecoveryIDList_item = -1; /* CallRecoveryID */
static int hf_ansi_map_generalizedTime = -1; /* GeneralizedTime */
static int hf_ansi_map_geographicPosition = -1; /* GeographicPosition */
static gint ett_ansi_map_TriggerAddressList = -1;
static gint ett_ansi_map_TriggerList = -1;
static gint ett_ansi_map_WINCapability = -1;
-static gint ett_ansi_map_WIN_Trigger = -1;
static gint ett_ansi_map_CallRecoveryID = -1;
static gint ett_ansi_map_CallRecoveryIDList = -1;
static gint ett_ansi_map_PositionInformation = -1;
}
-static const ber_sequence_t WIN_Trigger_sequence[] = {
- { &hf_ansi_map_triggerType, BER_CLASS_CON, 279, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_ansi_map_TriggerType },
- { &hf_ansi_map_detectionPointType, BER_CLASS_UNI, BER_UNI_TAG_ENUMERATED, BER_FLAGS_NOOWNTAG, dissect_ansi_map_DetectionPointType },
- { NULL, 0, 0, 0, NULL }
-};
-
-static int
-dissect_ansi_map_WIN_Trigger(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
- offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
- WIN_Trigger_sequence, hf_index, ett_ansi_map_WIN_Trigger);
-
- return offset;
-}
-
-
static const ber_sequence_t InvokeData_sequence[] = {
{ &hf_ansi_map_handoffMeasurementRequest, BER_CLASS_PRI, 18, BER_FLAGS_NOOWNTAG, dissect_ansi_map_HandoffMeasurementRequest },
{ &hf_ansi_map_facilitiesDirective, BER_CLASS_PRI, 18, BER_FLAGS_NOOWNTAG, dissect_ansi_map_FacilitiesDirective },
int offset = 0;
int end_offset = 0;
- int j;
+ int j = 0;
proto_tree *subtree;
guint8 octet;
{ "wINOperationsCapability", "ansi_map.wINOperationsCapability",
FT_BYTES, BASE_HEX, NULL, 0,
"ansi_map.WINOperationsCapability", HFILL }},
- { &hf_ansi_map_detectionPointType,
- { "detectionPointType", "ansi_map.detectionPointType",
- FT_UINT32, BASE_DEC, VALS(ansi_map_DetectionPointType_vals), 0,
- "ansi_map.DetectionPointType", HFILL }},
{ &hf_ansi_map_CallRecoveryIDList_item,
{ "Item", "ansi_map.CallRecoveryIDList_item",
FT_NONE, BASE_NONE, NULL, 0,
&ett_ansi_map_TriggerAddressList,
&ett_ansi_map_TriggerList,
&ett_ansi_map_WINCapability,
- &ett_ansi_map_WIN_Trigger,
&ett_ansi_map_CallRecoveryID,
&ett_ansi_map_CallRecoveryIDList,
&ett_ansi_map_PositionInformation,
static dissector_handle_t data_handle;
static dissector_handle_t ansi_map_handle;
-static dissector_table_t sccp_ssn_table;
-
-static GHashTable* ansi_sub_dissectors = NULL;
-static GHashTable* itu_sub_dissectors = NULL;
struct ansi_tcap_private_t ansi_tcap_private;
static void dissect_ansi_tcap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree);
/*
-extern void add_ansi_tcap_subdissector(guint32 ssn, dissector_handle_t dissector) {
+static dissector_table_t sccp_ssn_table;
+
+static GHashTable* ansi_sub_dissectors = NULL;
+static GHashTable* itu_sub_dissectors = NULL;
+
+ extern void add_ansi_tcap_subdissector(guint32 ssn, dissector_handle_t dissector) {
g_hash_table_insert(ansi_sub_dissectors,GUINT_TO_POINTER(ssn),dissector);
dissector_add("sccp.ssn",ssn,tcap_handle);
}
offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset,
hf_index, BER_CLASS_PRI, 28, TRUE, dissect_ansi_tcap_OBJECT_IDENTIFIER);
- ansi_tcap_private.objectApplicationId_oid= (void*) cur_oid;
+ ansi_tcap_private.objectApplicationId_oid= (void*) oid_str;
ansi_tcap_private.oid_is_present=TRUE;
/*--- End of included file: packet-ansi_tcap-fn.c ---*/
-#line 322 "packet-ansi_tcap-template.c"
+#line 323 "packet-ansi_tcap-template.c"
{
proto_item *item=NULL;
proto_tree *tree=NULL;
+#if 0
proto_item *stat_item=NULL;
proto_tree *stat_tree=NULL;
gint offset = 0;
-#if 0
struct tcaphash_context_t * p_tcap_context;
dissector_handle_t subdissector_handle;
#endif
"ansi_tcap.T_paramSet", HFILL }},
/*--- End of included file: packet-ansi_tcap-hfarr.c ---*/
-#line 446 "packet-ansi_tcap-template.c"
+#line 447 "packet-ansi_tcap-template.c"
};
/* Setup protocol subtree array */
&ett_ansi_tcap_T_paramSet,
/*--- End of included file: packet-ansi_tcap-ettarr.c ---*/
-#line 456 "packet-ansi_tcap-template.c"
+#line 457 "packet-ansi_tcap-template.c"
};
/*static enum_val_t tcap_options[] = {