diff options
Diffstat (limited to 'epan/dissectors/packet-t38.c')
-rw-r--r-- | epan/dissectors/packet-t38.c | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/epan/dissectors/packet-t38.c b/epan/dissectors/packet-t38.c index c4e6e5f1f9..10982825cd 100644 --- a/epan/dissectors/packet-t38.c +++ b/epan/dissectors/packet-t38.c @@ -1,11 +1,11 @@ /* Do not modify this file. Changes will be overwritten. */ /* Generated automatically by the ASN.1 to Wireshark dissector compiler */ /* packet-t38.c */ -/* ../../tools/asn2wrs.py -p t38 -c ./t38.cnf -s ./packet-t38-template -D . -O ../../epan/dissectors T38_2002.asn */ +/* asn2wrs.py -p t38 -c ./t38.cnf -s ./packet-t38-template -D . -O ../.. T38_2002.asn */ /* Input file: packet-t38-template.c */ -#line 1 "../../asn1/t38/packet-t38-template.c" +#line 1 "./asn1/t38/packet-t38-template.c" /* packet-t38.c * Routines for T.38 packet dissection * 2003 Hans Viens @@ -121,7 +121,7 @@ static guint32 Data_Field_item_num; static int proto_t38 = -1; /*--- Included file: packet-t38-hf.c ---*/ -#line 1 "../../asn1/t38/packet-t38-hf.c" +#line 1 "./asn1/t38/packet-t38-hf.c" static int hf_t38_IFPPacket_PDU = -1; /* IFPPacket */ static int hf_t38_UDPTLPacket_PDU = -1; /* UDPTLPacket */ static int hf_t38_type_of_msg = -1; /* Type_of_msg */ @@ -142,7 +142,7 @@ static int hf_t38_fec_data = -1; /* T_fec_data */ static int hf_t38_fec_data_item = -1; /* OCTET_STRING */ /*--- End of included file: packet-t38-hf.c ---*/ -#line 115 "../../asn1/t38/packet-t38-template.c" +#line 115 "./asn1/t38/packet-t38-template.c" /* T38 setup fields */ static int hf_t38_setup = -1; @@ -164,7 +164,7 @@ static int hf_t38_reassembled_length = -1; static gint ett_t38 = -1; /*--- Included file: packet-t38-ett.c ---*/ -#line 1 "../../asn1/t38/packet-t38-ett.c" +#line 1 "./asn1/t38/packet-t38-ett.c" static gint ett_t38_IFPPacket = -1; static gint ett_t38_Type_of_msg = -1; static gint ett_t38_Data_Field = -1; @@ -176,7 +176,7 @@ static gint ett_t38_T_fec_info = -1; static gint ett_t38_T_fec_data = -1; /*--- End of included file: packet-t38-ett.c ---*/ -#line 135 "../../asn1/t38/packet-t38-template.c" +#line 135 "./asn1/t38/packet-t38-template.c" static gint ett_t38_setup = -1; static gint ett_data_fragment = -1; @@ -437,7 +437,7 @@ force_reassemble_seq(reassembly_table *table, packet_info *pinfo, guint32 id) /* T38 Routines */ /*--- Included file: packet-t38-fn.c ---*/ -#line 1 "../../asn1/t38/packet-t38-fn.c" +#line 1 "./asn1/t38/packet-t38-fn.c" const value_string t38_T30_indicator_vals[] = { { 0, "no-signal" }, @@ -472,7 +472,7 @@ dissect_t38_T30_indicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 16, &T30ind_value, TRUE, 7, NULL); -#line 29 "../../asn1/t38/t38.cnf" +#line 29 "./asn1/t38/t38.cnf" if (primary_part){ col_append_fstr(actx->pinfo->cinfo, COL_INFO, " t30ind: %s", val_to_str(T30ind_value,t38_T30_indicator_vals,"<unknown>")); @@ -511,7 +511,7 @@ dissect_t38_T30_data(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, pr offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 9, &Data_value, TRUE, 6, NULL); -#line 41 "../../asn1/t38/t38.cnf" +#line 41 "./asn1/t38/t38.cnf" if (primary_part){ col_append_fstr(actx->pinfo->cinfo, COL_INFO, " data:%s:", val_to_str(Data_value,t38_T30_data_vals,"<unknown>")); @@ -544,7 +544,7 @@ dissect_t38_Type_of_msg(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, ett_t38_Type_of_msg, Type_of_msg_choice, &Type_of_msg_value); -#line 22 "../../asn1/t38/t38.cnf" +#line 22 "./asn1/t38/t38.cnf" /* info for tap */ if (primary_part) t38_info->type_msg = Type_of_msg_value; @@ -575,7 +575,7 @@ dissect_t38_T_field_type(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_ offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, 8, &Data_Field_field_type_value, (use_pre_corrigendum_asn1_specification)?FALSE:TRUE, (use_pre_corrigendum_asn1_specification)?0:4, NULL); -#line 61 "../../asn1/t38/t38.cnf" +#line 61 "./asn1/t38/t38.cnf" if (primary_part){ col_append_fstr(actx->pinfo->cinfo, COL_INFO, " %s", val_to_str(Data_Field_field_type_value,t38_T_field_type_vals,"<unknown>")); @@ -671,7 +671,7 @@ dissect_t38_T_field_type(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_ static int dissect_t38_T_field_data(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { -#line 151 "../../asn1/t38/t38.cnf" +#line 151 "./asn1/t38/t38.cnf" tvbuff_t *value_tvb = NULL; guint32 value_len; @@ -682,7 +682,7 @@ dissect_t38_T_field_data(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_ -#line 158 "../../asn1/t38/t38.cnf" +#line 158 "./asn1/t38/t38.cnf" if (primary_part){ if(value_len < 8){ col_append_fstr(actx->pinfo->cinfo, COL_INFO, "[%s]", @@ -769,7 +769,7 @@ dissect_t38_Data_Field_item(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_t38_Data_Field_item, Data_Field_item_sequence); -#line 53 "../../asn1/t38/t38.cnf" +#line 53 "./asn1/t38/t38.cnf" if (primary_part) Data_Field_item_num++; return offset; @@ -810,7 +810,7 @@ dissect_t38_T_seq_number(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_ offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 65535U, &seq_number, FALSE); -#line 238 "../../asn1/t38/t38.cnf" +#line 238 "./asn1/t38/t38.cnf" /* info for tap */ if (primary_part) t38_info->seq_num = seq_number; @@ -824,12 +824,12 @@ dissect_t38_T_seq_number(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_ static int dissect_t38_T_primary_ifp_packet(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { -#line 246 "../../asn1/t38/t38.cnf" +#line 246 "./asn1/t38/t38.cnf" primary_part = TRUE; offset = dissect_per_open_type(tvb, offset, actx, tree, hf_index, dissect_t38_IFPPacket); -#line 248 "../../asn1/t38/t38.cnf" +#line 248 "./asn1/t38/t38.cnf" /* if is a valid t38 packet, add to tap */ /* Note that t4-non-ecm-sig-end without first_t4_data is not valid */ if (p_t38_packet_conv && (!actx->pinfo->flags.in_error_pkt) && ((gint32) seq_number != p_t38_packet_conv_info->last_seqnum) && @@ -925,14 +925,14 @@ static const per_choice_t T_error_recovery_choice[] = { static int dissect_t38_T_error_recovery(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { -#line 258 "../../asn1/t38/t38.cnf" +#line 258 "./asn1/t38/t38.cnf" primary_part = FALSE; offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_t38_T_error_recovery, T_error_recovery_choice, NULL); -#line 260 "../../asn1/t38/t38.cnf" +#line 260 "./asn1/t38/t38.cnf" primary_part = TRUE; return offset; @@ -948,7 +948,7 @@ static const per_sequence_t UDPTLPacket_sequence[] = { static int dissect_t38_UDPTLPacket(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { -#line 232 "../../asn1/t38/t38.cnf" +#line 232 "./asn1/t38/t38.cnf" /* Initialize to something else than data type */ Data_Field_field_type_value = 1; @@ -979,7 +979,7 @@ static int dissect_UDPTLPacket_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, pr /*--- End of included file: packet-t38-fn.c ---*/ -#line 394 "../../asn1/t38/packet-t38-template.c" +#line 394 "./asn1/t38/packet-t38-template.c" /* initialize the tap t38_info and the conversation */ static void @@ -1245,7 +1245,7 @@ proto_register_t38(void) { /*--- Included file: packet-t38-hfarr.c ---*/ -#line 1 "../../asn1/t38/packet-t38-hfarr.c" +#line 1 "./asn1/t38/packet-t38-hfarr.c" { &hf_t38_IFPPacket_PDU, { "IFPPacket", "t38.IFPPacket_element", FT_NONE, BASE_NONE, NULL, 0, @@ -1320,7 +1320,7 @@ proto_register_t38(void) "OCTET_STRING", HFILL }}, /*--- End of included file: packet-t38-hfarr.c ---*/ -#line 658 "../../asn1/t38/packet-t38-template.c" +#line 658 "./asn1/t38/packet-t38-template.c" { &hf_t38_setup, { "Stream setup", "t38.setup", FT_STRING, BASE_NONE, NULL, 0x0, "Stream setup, method and frame number", HFILL }}, @@ -1369,7 +1369,7 @@ proto_register_t38(void) &ett_t38, /*--- Included file: packet-t38-ettarr.c ---*/ -#line 1 "../../asn1/t38/packet-t38-ettarr.c" +#line 1 "./asn1/t38/packet-t38-ettarr.c" &ett_t38_IFPPacket, &ett_t38_Type_of_msg, &ett_t38_Data_Field, @@ -1381,7 +1381,7 @@ proto_register_t38(void) &ett_t38_T_fec_data, /*--- End of included file: packet-t38-ettarr.c ---*/ -#line 705 "../../asn1/t38/packet-t38-template.c" +#line 705 "./asn1/t38/packet-t38-template.c" &ett_t38_setup, &ett_data_fragment, &ett_data_fragments |