diff options
author | Gerald Combs <gerald@wireshark.org> | 2011-04-12 20:45:25 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2011-04-12 20:45:25 +0000 |
commit | 01e072411f317978d0fa7527ca597ba552135350 (patch) | |
tree | a2ef71da5b04ddcf10faf4f019fe4ee000d51881 /epan/dissectors/packet-t38.c | |
parent | ca01b3a87640fd11de5bbb76a464d7a5c4982528 (diff) |
Regenerate more ASN.1 dissectors for Coverity.
svn path=/trunk/; revision=36609
Diffstat (limited to 'epan/dissectors/packet-t38.c')
-rw-r--r-- | epan/dissectors/packet-t38.c | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/epan/dissectors/packet-t38.c b/epan/dissectors/packet-t38.c index bda830c2ce..ca6bec2197 100644 --- a/epan/dissectors/packet-t38.c +++ b/epan/dissectors/packet-t38.c @@ -5,7 +5,7 @@ /* Input file: packet-t38-template.c */ -#line 1 "packet-t38-template.c" +#line 1 "../../asn1/t38/packet-t38-template.c" /* packet-t38.c * Routines for T.38 packet dissection * 2003 Hans Viens @@ -130,7 +130,7 @@ static guint32 Data_Field_item_num; static int proto_t38 = -1; /*--- Included file: packet-t38-hf.c ---*/ -#line 1 "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 */ @@ -151,7 +151,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 124 "packet-t38-template.c" +#line 124 "../../asn1/t38/packet-t38-template.c" /* T38 setup fields */ static int hf_t38_setup = -1; @@ -173,7 +173,7 @@ static int hf_t38_reassembled_length = -1; static gint ett_t38 = -1; /*--- Included file: packet-t38-ett.c ---*/ -#line 1 "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; @@ -185,7 +185,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 144 "packet-t38-template.c" +#line 144 "../../asn1/t38/packet-t38-template.c" static gint ett_t38_setup = -1; static gint ett_data_fragment = -1; @@ -438,7 +438,7 @@ force_reassemble_seq(packet_info *pinfo, guint32 id, /* T38 Routines */ /*--- Included file: packet-t38-fn.c ---*/ -#line 1 "packet-t38-fn.c" +#line 1 "../../asn1/t38/packet-t38-fn.c" const value_string t38_T30_indicator_vals[] = { { 0, "no-signal" }, @@ -473,7 +473,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 31 "t38.cnf" +#line 31 "../../asn1/t38/t38.cnf" if (check_col(actx->pinfo->cinfo, COL_INFO) && primary_part){ col_append_fstr(actx->pinfo->cinfo, COL_INFO, " t30ind: %s", val_to_str(T30ind_value,t38_T30_indicator_vals,"<unknown>")); @@ -512,7 +512,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 43 "t38.cnf" +#line 43 "../../asn1/t38/t38.cnf" if (check_col(actx->pinfo->cinfo, COL_INFO) && primary_part){ col_append_fstr(actx->pinfo->cinfo, COL_INFO, " data:%s:", val_to_str(Data_value,t38_T30_data_vals,"<unknown>")); @@ -545,7 +545,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 24 "t38.cnf" +#line 24 "../../asn1/t38/t38.cnf" /* info for tap */ if (primary_part) t38_info->type_msg = Type_of_msg_value; @@ -576,7 +576,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 63 "t38.cnf" +#line 63 "../../asn1/t38/t38.cnf" if (check_col(actx->pinfo->cinfo, COL_INFO) && 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 152 "t38.cnf" +#line 152 "../../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 159 "t38.cnf" +#line 159 "../../asn1/t38/t38.cnf" if (check_col(actx->pinfo->cinfo, COL_INFO) && primary_part){ if(value_len < 8){ col_append_fstr(actx->pinfo->cinfo, COL_INFO, "[%s]", @@ -759,7 +759,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 55 "t38.cnf" +#line 55 "../../asn1/t38/t38.cnf" if (primary_part) Data_Field_item_num++; return offset; @@ -800,7 +800,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 229 "t38.cnf" +#line 229 "../../asn1/t38/t38.cnf" /* info for tap */ if (primary_part) t38_info->seq_num = seq_number; @@ -816,12 +816,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 239 "t38.cnf" +#line 239 "../../asn1/t38/t38.cnf" primary_part = TRUE; offset = dissect_per_open_type(tvb, offset, actx, tree, hf_index, dissect_t38_IFPPacket); -#line 241 "t38.cnf" +#line 241 "../../asn1/t38/t38.cnf" /* if is a valid t38 packet, add to tap */ if (p_t38_packet_conv && (!actx->pinfo->in_error_pkt) && ((gint32) seq_number != p_t38_packet_conv_info->last_seqnum)) tap_queue_packet(t38_tap, actx->pinfo, t38_info); @@ -915,14 +915,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 249 "t38.cnf" +#line 249 "../../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 251 "t38.cnf" +#line 251 "../../asn1/t38/t38.cnf" primary_part = TRUE; return offset; @@ -938,7 +938,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 223 "t38.cnf" +#line 223 "../../asn1/t38/t38.cnf" /* Initialize to something else than data type */ Data_Field_field_type_value = 1; @@ -969,7 +969,7 @@ static int dissect_UDPTLPacket_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, pr /*--- End of included file: packet-t38-fn.c ---*/ -#line 395 "packet-t38-template.c" +#line 395 "../../asn1/t38/packet-t38-template.c" /* initialize the tap t38_info and the conversation */ static void @@ -1249,7 +1249,7 @@ proto_register_t38(void) { /*--- Included file: packet-t38-hfarr.c ---*/ -#line 1 "packet-t38-hfarr.c" +#line 1 "../../asn1/t38/packet-t38-hfarr.c" { &hf_t38_IFPPacket_PDU, { "IFPPacket", "t38.IFPPacket", FT_NONE, BASE_NONE, NULL, 0, @@ -1324,7 +1324,7 @@ proto_register_t38(void) "OCTET_STRING", HFILL }}, /*--- End of included file: packet-t38-hfarr.c ---*/ -#line 673 "packet-t38-template.c" +#line 673 "../../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 }}, @@ -1373,7 +1373,7 @@ proto_register_t38(void) &ett_t38, /*--- Included file: packet-t38-ettarr.c ---*/ -#line 1 "packet-t38-ettarr.c" +#line 1 "../../asn1/t38/packet-t38-ettarr.c" &ett_t38_IFPPacket, &ett_t38_Type_of_msg, &ett_t38_Data_Field, @@ -1385,7 +1385,7 @@ proto_register_t38(void) &ett_t38_T_fec_data, /*--- End of included file: packet-t38-ettarr.c ---*/ -#line 720 "packet-t38-template.c" +#line 720 "../../asn1/t38/packet-t38-template.c" &ett_t38_setup, &ett_data_fragment, &ett_data_fragments |